/* Basic Reset */
@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap");

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

body { 
    font-family: Georgia, "Times New Roman", Times, serif;
    background-color: #f0f4f8; /* #ffffff; -------------------------------------------------*/
    margin: 0;
	  padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
     overflow-x: hidden;
}





body,
html {
 overflow-x: hidden; /* Prevent horizontal overflow جلوگیری از اسکرول عمودی صفحه */
 overflow: auto; /*visible;  باعث اسکرول میشه */
  margin: 0;
  padding: 0;
   line-height: 1.5em; 
   width: 99.90%;
   scroll-behavior: smooth;
  
  
}

img {
  width: 100%;
  height: 100%;
  object-fit:contain;

}

a {
  display: inline-block; /* Make the link behave like a block-level element */
  display: flex; /* Use flexbox to align the image inside the link */
  align-items: center; /* Vertically center the image ***/
  justify-content: center; /* Horizontally center the image ***/
  text-decoration: none; /* Remove underline */
  color: inherit; /* Inherit text color */
}





a.readmore {
    text-decoration: underline;
    color: #000; 
    display: inline; /* لغو display: flex */
    align-items: unset; /* مقدار پیش‌فرض را برمی‌گرداند */
    justify-content: unset; /* مقدار پیش‌فرض را برمی‌گرداند */
	font-size: 100%;
}

.readmore:hover  {
	
	color:#ffcc00;
	 transition: all 0.3s ease-in-out; /* ایجاد انیمیشن نرم */
	
	
}





.section-style {
	
	
	margin-bottom: 3em;
	
	
}


/* Centering the main */
.main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  justify-content: center; /* Center content */
  align-items: center; /* Center content horizontally */
  border: 1px solid black;
  border-radius: 15px 15px 0 0;
  background-color:  #f0f4f8;
}



/* Header Styling */
.header {
  width: 100%;
  background-color:  #3894eb; /* #d5e3f3; */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px 15px 0 0;
  padding: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: none; /* height 0.5s ease; */
  height: 130px;
  position: relative; /* Ensure header doesn't interfere */
  z-index: 999; /* Lower than the tooggle button's z-index */
}

.header.loaded {
  transition: all 0.5s ease; /* انتقال فقط بعد از بارگذاری */
}

/* Logo Container */
.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 5px;
  padding: 2px 10px;
}

/* Logo Styling */
.logo1 {
  /* max-width: 30%; */
  width: 170px;
  height: 110px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.8);
  animation: smoothElasticStretch 1.5s ease-in-out forwards;
}

.logo2 {
  /*  max-width: 30%; */
  width: 200px;
  height: 120px;

  /*  height: auto; /* Maintain aspect ratio */
  object-fit: contain;
}

.logo:nth-child(1),
.logo:nth-child(3) {
  animation-delay: 0.8s;
}

@keyframes smoothElasticStretch {
  0% {
    opacity: 0;
    transform: scaleY(0.3);
  }
  100% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Bar Container */
.bar {
  display: flex;
  flex-direction: row; /* Ensures everything stays in one row */
  justify-content: space-between;
  align-items: center;
  height: 40px;
  /* max-width: 1200px; */
  width: 100%;
  /* margin: 0 auto; */
  padding: 0 5px;
  background-color: #ffcc00;
  color: white;
  font-family: Arial, sans-serif;
  overflow: hidden; /* Prevent content from overflowing */
  white-space: nowrap; /* Prevent text from wrapping */
  /* font-family: "DM Serif Display", serif; */
  font-weight: bold;
  font-style: italic;
  font-family: "Times New Roman", Times, serif;
  font-size: 18px;
  position: relative; /* موقعیت‌دهی نوار */
  z-index: 999; /* نوار را بالای دکمه قرار بده */
}

/* Sections 
.left-section, .middle-section, .right-section {
   /* flex: 1;  
    text-align: center;
    overflow: hidden; /* Prevent content from overflowing 
    white-space: nowrap; /* Prevent text from wrapping 
    font-size: 1rem; /* Default font size 
}

*/

/* Left Section: Breadcrumbs */
.left-section {
  flex: 0 0 145px; /* Do not grow or shrink */
  height: 30px;

  text-align: left;
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflow */
  padding-left: 1px; /* Add some padding to avoid touching the edge */
  background-color: #3894eb;
  font-size: 20px;
  border: 1px solid #000;
  border-radius: 3px 25px;
  margin-left: 5px;
  
}

.middle-section {
  display: flex; /* Enable flexbox for centering */
  /* flex: 0 0 auto; /* Take up remaining space */
  text-align: center;
  max-width: 300px; /* Limit the width of the middle section */
  width: 100%; /* Take full width */
  margin: 0 auto;
  /* background-color: yellow; */
}

.animation-name {
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.1);
  opacity: 0;
  animation: zoomOut 5s forwards;
}


/* Right Section: Telephone Number */
.right-section {
  flex: 0 0 140px; /* Do not grow or shrink */
  height: 30px;
  text-align: right;
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflow */
  padding-right: 2px; /* Add some padding to avoid touching the edge */
  background-color: #3894eb;
  border: 1px solid #000;
  border-radius: 25px 3px;
  margin-right: 3px;
  
}

.left-section a,
.middle-section a,
.right-section a {
  display: flex;
  height: 30px; /* Set a height (adjust as needed) */
  justify-content: center;
  align-items: center;
  text-align: center;
  /*border: 1px solid white; */
  white-space: nowrap; /* Prevent text from wrapping */
  overflow: hidden; /* Hide overflow */
}

.left-section .right-section, a:hover {
	
    color:  #000; /* #ffcc00; */
}
	
	


@keyframes zoomOut {
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.text {
  font-size: 2.50vw;
  color: #000;
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  overflow: hidden;
  font-family: "DM Serif Display", serif;
  font-weight: 380;
  font-style: italic;
}

/* End of Bar Container */

/* Menu - Container */

.menu-container {
  background-color:  #3894eb; /* #d5e3f3; /* #4aa5d9; */
  padding: 5px; 
  border-radius: 15px;
  display: flex;
   position: relative; 
  justify-content: center;
  width: 720px;
  margin: 1px auto;
 /* position: static; /* Ensure it doesn't affect the button */
  overflow: visible; /* Ensure the button isn't clipped */
}






.menu {
 display: flex; 
  list-style: none;
  Position: relative;
  max-width: 726px;
  padding: 0 3px;
  margin: 0;
  justify-content: center; /* Center items horizontally */
  align-items: center; /* Center items vertically */
  
}


.menu.active {
  display: block; /* Show the dropdown menu when toggled */
}


.menu li {
  margin: 0 7px; /* space between buttons */
  position: relative;
}


.menu,
.submenu,
.menu-container {
  justify-content: center; /* center items vertically */
  align-items: center; /* center items horizontally */
}


.menu li a {
  position: relative; /* Required for pseudo-element positioning */
  display: flex;
  justify-content: center; /* center items vertically */
  align-items: center; /* center items horizontally */
  padding: 0px;
  color: #000; /* color of the font */
  /* background-color: #FFFFFF;  /* color of the button */
  background: linear-gradient(0deg, #f74b4b, #e7f15c);
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #a7cdf8;
  border-radius: 25px;
  transition: background-color 0.3s;
  width: 130px;
  height: 40px;
  font-size: 18px;
  font-family: "Times New Roman", Times, serif;
  font-style: italic;
}

.menu li a img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

/* Line effect below the link */
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  top: 38px;
  background-color: #c10a28;
  transition: width 0.5s ease;
}

/* Hover and active effect */
.menu a:hover::after,
.menu a.active::after {
  width: 100%; /* Full width on hover/active */
}

/* color of the hover and active buttons  */
.menu li a:hover,
.menu li a.active {
  background-color: #3894eb; /* #fef501; */
  color: #c10a28;
  border: 1px solid #a7cdf8;
}

.menu li:hover .submenu {
  display: flex; /* Show submenu on hover */
}



/* Styling for Submenu in Large Screens - Updated for 6 items (3+3 grid) */
.submenu {
  display: none;
  position: absolute; 
  top: calc(100% + 6px); /* Positioning submenu slightly below main menu */
  left: 51%;
  transform: translateX(-50%);
  width: 470px; /* Width to fit two rows */
  /*height: auto; */
  background-color: #3894eb; /*#d5e3f3; */
  padding: 0px;
  border-radius: 30px;
  list-style: none;
  flex-wrap: wrap; /* Wrap items for two rows */
  z-index: 1000; /* Ensure it appears above other elements */
  flex-direction: row; /* Always vertical */
}

 /* نمایش زیرمنو هنگام فعال شدن ---------------------*/
.submenu.active {
  display: block;
}

/* First row of submenu (three centered items) */
.submenu li:nth-child(-n + 3) {
  flex: 1 1 30%;
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 5px;
}

/* Second row of submenu (three centered items - 6 items total) */
.submenu li:nth-child(n + 4) {
  flex: 1 1 30%;
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 5px;
}

.submenu li a {
  width: 130px;
  height: 40px;
  font-size: 14px;
  padding: 1px;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.submenu li a img {
  width: 20px;
  height: 20px;
  margin: 7px;
}

/* Toggle Menu styling for mobile view */

.toggleMenu {
  display: none;
  background-color: #3894eb;
  color: white;
  border: none;
  right: 45px; /* فاصله از راست */
  padding: 11px;
  margin-top: 35px; 
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  position: absolute;
 /* right: 15px; /* Distance from the right edge */
 /* top: 80px; /* Distance from the top */
  z-index: 1000; /* Ensure it stays above other elements */
  transition: top 0.3s ease; /* Smooth transition for top position */
}


/* General styles for H1 the heading */

.responsive-heading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.responsive-heading {
    text-align: center;
   /* width: 100%; */
   /* font-size: 2em; /* Base font size */
    margin: 40px 0 15px 0; /* Add some margin for spacing */	
	font-family: "DM Serif Display", serif;
	font-weight: 580;
    font-style: italic;
    padding: 0 10px;
}


/* Default styles (for all screen sizes) ---------------------------------------*/


body .container {
  padding: 10px 30px;
  margin: 0 20px;
  background-color:  #f0f4f8;
}


/* Ensure the call-action-box and sliders are aligned */

.call-action-box-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px; /* Adjust gap to provide more space between elements */
    margin: 21px auto; /* Center the wrapper */
    padding: 0; /* Remove padding */
    width: auto; /* Adjust width */
    height: auto; /* Adjust height */
   
}



.call-action-box {
    text-align: center;
    margin: 10px auto;
    padding: 10px;
    background-color: #3894eb;
    border-radius: 8px;
    width: 50%;
    max-width: 300px;
	transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.call-to-action {
    display: block;
    color: #ffffff;
    background-color: #3894eb;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}

.call-to-action:hover  {
    background-color: #ffffff;
    color: #000000;
}

/* Hover effect for the responsive box */
.call-action-box:hover {
    transform: translateY(-5px); /* Move up a bit */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Add shadow effect */
}




/* Circle Slider Photos */
.circle-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 300px;  /* Default size for larger screens */
    height: 300px; /* Default size for larger screens */
    position: relative;
    margin: 0 40px; /* Adjust the margin as needed */
}

.circle-slider-container {
    width: 100%;
    height: 100%;
    position: relative; /* Changed from absolute to relative for better scaling */
	 aspect-ratio: 1 / 1; /* Maintain aspect ratio to keep the circle shape */
   
}

.circle-slider-container img {
    border-radius: 50%; /* Makes the image circular */
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensures the image covers the whole container without distortion */
    position: absolute;
    top: 0;
    left: 0;
	  align-items: center;
    transition: opacity 1s ease-in-out;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional: Add shadow for better appearance */
    border: 0px solid #3894eb; /* Optional: Add border for better appearance */
    
	
	
}

.circle-slider-container img.hidden {
    opacity: 0;
}


/* End circle-slider */ 



/* Pop-up Container home message */



/* Pop-up Container - Hidden by default */
.popup-container-popup-home-welcome-message {
  position: fixed !important;
  top: -70px;
  left: -1;
  width: 100%;
  height: 100%; 
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  pointer-events: none;
 /* background-color: rgba(0, 0, 0, 0.4); */
}

.popup-box-popup-home-welcome-message {
  width: 360px;
  min-height: 150px;
   position: fixed !important;
  /* transform: translate(-50%, -50%) scale(0.9); */
  height: auto;  
  background-color: #3894eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  /* position: relative; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  color: white;
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.popup-box-popup-home-welcome-message.show {
  opacity: 1;
  transform: scale(1);
}

/* Fixed Close Button for Mobile, Tablet & Desktop */
.popup-close-popup-home-welcome-message {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: all 0.2s ease;
  z-index: 10001;
  border-radius: 50%;
}

.popup-close-popup-home-welcome-message:hover,
.popup-close-popup-home-welcome-message:focus {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.2);
  outline: none;
}

/* Message Lines */
.popup-line {
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.popup-line1-popup-home-welcome-message {
  color: darkred;
  margin: 15px 0px; 
  font-weight: bold;
  text-align: center;
  transform: translateX(-100%);
  transition: transform 0.6s ease, opacity 0.5s ease;
}

.popup-line1-popup-home-welcome-message.show {
  transform: translateX(0);
  opacity: 1;
}

.popup-line2-popup-home-welcome-message {
  color: white;
  text-align: center;
  margin: 10px 0px;
  transform: translateX(100%);
  transition: transform 0.6s ease, opacity 0.5s ease;
}

.popup-line2-popup-home-welcome-message.show {
  transform: translateX(0);
  opacity: 1;
}

.popup-number-popup-home-welcome-message {
  color: black;
  white-space: pre-line; /* Preserves line breaks */
  font-weight: 100;
  font-size: 20px;
  text-align: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 20px;             /* Optional: adds vertical spacing */
  width: 100%;                /* Ensures full width for centering */
  display: block;             /* Ensures it behaves like a block element */
  
  transform: translateX(-100%);
  transition: transform 0.6s ease, opacity 0.5s ease;
  text-decoration: none;
}

.popup-number-popup-home-welcome-message.show {
  transform: translateX(0);
  opacity: 1;
}



/* End Pop-up Container home message */




/* Hr */

.custom-hr {
    height: 1px; /* ضخامت خط */
    width: 50%; /* عرض 50 درصد */
    margin: 0 auto; /* وسط‌چین شدن */
    border: none; /* حذف حاشیه پیش‌فرض */
    background: linear-gradient(to right, red, orange, yellow); /* گرادینت رنگی */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* سایه */
}




/* End Hr */


p strong {
	
    font-size: 14px;
	color: #333;
	
	
}



 /*Slider slider-home-slider-fade-in-fade-out */




/* Animated Wrapper: initial state (hidden & moved up) */
.slider-wrapper-home-slider-fade-in-fade-out {
  display: flex;
  align-items: center;
  justify-content: center;
   width: 100%;              /* کل عرض والد (نه کل ویوپورت) */
  max-width: 1200px;        /* برای اینکه وسط صفحه بمونه و از حدی بزرگ‌تر نشه */
  margin: 10px auto 0;      /* بالا فاصله، چپ و راست auto برای وسط چین */
  padding: 0 15px;          /* پدینگ برای جلوگیری از چسبیدن به لبه توی موبایل */
  min-height: auto;  /* 100vh; */
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(-100px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.77,0,.18,1);
  will-change: opacity, transform;
  /*  margin-top: 80px; */
}
.slider-wrapper-home-slider-fade-in-fade-out.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Blue container with 3D shadow and hover move effect */


/* ==============================================
   MAIN SLIDER CONTAINER - CIRCULAR OPENING
   ============================================== */

.slider-home-slider-fade-in-fade-out {
  background: #c1d2e6;
  background: radial-gradient(
    circle,
    rgba(193, 210, 230, 1) 3%,
    rgba(34, 126, 212, 1) 11%,
    rgba(245, 245, 245, 1) 45%,
    rgba(90, 164, 236, 1) 63%,
    rgba(58, 143, 222, 1) 100%
  );
  
  border-radius: 50%;
  box-shadow: 0 16px 32px rgba(25, 118, 210, 0.18),
    0 4px 24px rgba(0, 0, 0, 0.15), 0 1.5px 0 rgba(25, 118, 210, 0.07),
    0 1.5px 12px rgba(0, 0, 0, 0.06);
  position: relative;
  width: 130px;
  height: 130px;
  padding: 32px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 1s cubic-bezier(0.77, 0, 0.18, 1),
    height 1s cubic-bezier(0.77, 0, 0.18, 1),
    border-radius 1s cubic-bezier(0.77, 0, 0.18, 1),
    box-shadow 0.3s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: width, height, border-radius;
}





/* When container opens to rectangle */
.slider-home-slider-fade-in-fade-out.expanded {
  width: 100%;
  height: calc(450px + 2 * 32px);
  max-width: 100%;
  max-height: 550px;
  border-radius: 25px;
}

/* Hover effect: move up and scale */
.slider-home-slider-fade-in-fade-out:hover {
  box-shadow:
    0 28px 56px rgba(25, 118, 210, 0.28),
    0 8px 32px rgba(0,0,0,0.18),
    0 1.5px 0 rgba(25,118,210,0.10),
    0 1.5px 32px rgba(0,0,0,0.09);
  transform: translateY(-10px) scale(1.025);
}

/* Slides: fill container and center content */
.slide-home-slider-fade-in-fade-out {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 65px;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateY(100%);
  transition:
    opacity 0.7s ease-in-out,
    transform 0.7s cubic-bezier(.77,0,.18,1);
}
.slide-home-slider-fade-in-fade-out.active-home-slider-fade-in-fade-out {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
  transform: translateY(0);
}
.slide-home-slider-fade-in-fade-out.exit-bottom-home-slider-fade-in-fade-out {
  opacity: 0;
  transform: translateY(100%);
  z-index: 1;
}

/* Photo sections: fixed size, no flex-grow */
.slide-section-left-home-slider-fade-in-fade-out,
.slide-section-right-home-slider-fade-in-fade-out {
  width: 400px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  flex: 0 0 auto;
  /* Initial position: off-screen */
  transform: translateX(-100%);
  transition: transform 0.7s ease-in-out;
}
.slide-section-right-home-slider-fade-in-fade-out {
  transform: translateX(100%);
  transition: transform 0.7s ease-in-out;
}

/* Images: always fully visible */
.slide-img-home-slider-fade-in-fade-out {
  width: 100%;
  max-width: 100%; /* add */
  height:  auto;  /* 100%; */
  object-fit: contain;
  background: #fff;
  border-radius: 25px;
  border: 1px solid transparent;
  opacity: 1;
  transition: opacity 0.7s, border-color 0.3s;
  box-sizing: border-box;
  display: block;
}



/* Image states */
.before-home-slider-fade-in-fade-out,
.after-home-slider-fade-in-fade-out {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.before-home-slider-fade-in-fade-out.active-home-slider-fade-in-fade-out,
.after-home-slider-fade-in-fade-out.active-home-slider-fade-in-fade-out {
  opacity: 1;
}



/* End Slider slider-home-slider-fade-in-fade-out */





/* Slider Container */

.slider {
  position: relative;
  width: calc(100% - 20px); /* Reduced by 20px to add 10px margin on each side */
  max-width: 1170px; 
  max-height: 470px;
  margin: 30px auto;
  object-fit: cover;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0px 17px 33px rgba(0, 0, 0, 0.5); 
  
}

/* Single Slide */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

/* Make the first slide visible initially */
.slider .slide:nth-child(1) {
  opacity: 1;
}

/* Ensure the first content box is visible initially */
.slider .content-box:nth-child(1) {
  opacity: 1;
   top: 30%; /* Ensure it's in the right position initially */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit:  cover ; /*contain; */
  border-radius: 20px;
}

/* Content Box Styling */
.content-box {
  position: absolute; 
  top: 5%; /* Start from above the slide */
  left: 50%; 
  margin: 10px auto;
   transform: translateX(-50%);
   background-color: rgba(56, 148, 235, 0.9);
  color: #fff;
  padding: 10px 30px;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  border-radius: 10px;
   opacity: 0; /* Initially hidden */
  transition: top 1s ease-out, opacity 1s ease-out;
 
  
}

/* Animation for content box */
@keyframes slideIn {
  0% {
    top: -80px; /* Start from above the slide */
    opacity: 0;
  }
  100% {
    top: 5%; /* Final position above the center */
    opacity: 0.8; 
  }
}

/* The 'active' class to trigger animation */
.content-box.active {
  animation: slideIn 1s ease-out forwards;
}

/* Dot Navigation Styling */
.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 16px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transition: background-color 0.3s ease;
  cursor: default; /* Disable clicking */
}

.dot.active {
  background-color: #ffffff;
}

/* Make the first slide visible initially */
.slider .slide:nth-child(1) {
  opacity: 1;
}



/*End Slider Home Page */



/* container-scrolls animation 1-2 */


.container-scroll-1,
.container-scroll-2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    width: 90%;
    height: 550px;
    margin: 50px auto;
    padding: 30px;
    overflow: hidden;
    background-color: #f7f9fa; 
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.container-scroll-1:hover,
.container-scroll-2:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.left-text, .right-img, .left-img, .right-text {
    width: 45%;
    height: 100%;
   /* margin: 10px; /* Add margin to create space between text and image */
    margin: 5px; /* Add margin to create space between text and image */
}

.left-text ul, .right-text ul {
    list-style: none;
	
}

.left-text li, .right-text li {
    margin-bottom: 2px;
    opacity: 0;
	position: relative; /* Prevents sudden jumps foe containers */
	top: 10px; /* Initial slight offset */
    transform: translateY(-100px);
    transition: opacity 1.5s ease-in-out, top 1.5s ease-in-out;
}




.right-img img, .left-img img {
    width: 100%;
    height: auto; /* Allow height to adjust dynamically */
    max-height: 300px; /* Limit max height */
    object-fit: contain; /* Ensure the entire photo is visible */
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.5s ease-in-out, left 1.5s ease-in-out;
    margin-bottom: 20px;
}

/* Fixing Second Container Animations */
.container-scroll-2 .left-img img {
    transform: translateX(-100px);
}

/* Animated Classes */
.left-text li.animated, .right-text li.animated,
.right-img img.animated, .left-img img.animated {
    opacity: 1;
	top: 0; /* stop animation jump */
    transform: translateY(0) translateX(0);
    transition: all 1.5s ease-in-out;
}

/* Smooth Opening Animation */
.container-scroll-1.open, .container-scroll-2.open {
    max-height: 1000px; /* Set a max height to allow for smooth opening */
    transition: max-height 1s ease-in-out;
}




/* End container-scrolls animation 1-2 */




/* Emergency near me */


 .emergency {
  width: 100%;
  text-align: center;
  font-weight: bolder;
  margin-top: 15px;
  font-size: 1.2rem;
  font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif ;
  color:  #004080;
  margin-bottom: 30px;
}


/* footer start here */


.footer {
    display: flex;
    flex-wrap: wrap;
    /*background-color: #3894eb; #0074e0 */

background: #0074e0;
background: linear-gradient(0deg,rgba(0, 116, 224, 1) 8%, rgba(151, 193, 232, 0.84) 63%);

    color: #ffffff;
    padding: 15px 25px;
	 width:100%;
	 max-width: 1200px; 
	  margin: 0 auto;
    justify-content: space-between;
    box-sizing: border-box; /* Ensure padding is included in the element's total width and height */
}

.footer-column {
    flex: 1;
    min-width: 140px;
    margin: 5px;
    text-align: center;
    box-sizing: border-box; /* Ensure padding and margin are included in the element's total width and height */
}

.footer-column h3 {
  border-bottom: 1px solid #3894eb;
    padding-bottom: 10px;
    margin-bottom: 10px;
	color: #ffffff;
}





.footer-column ul {
    list-style-type: none;
    padding: 0;
}

.footer-column ul li {
    margin: 5px 0;
}

.footer-column ul li a {
    color: black;
    text-decoration: none;
    transition: color 0.3s;
	
}

.footer-column ul li a:hover, .home-services-link a:hover{
    color: #ffcc00;
	text-decoration: underline;
	text-underline-offset: 5px;
}


.footer-icons img {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  vertical-align: middle;
}


/* footer Ends here */


.copyright {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #ffffff;
}




/* Ensure the email address does not wrap or overflow */
.no-wrap {
    white-space: nowrap;
    overflow: hidden;
     text-overflow: ellipsis;
	font-size: 13px;
	/* width:200px; */
}




/* Mobile (up to 1023px) */

@media screen and (max-width: 1023px) {
 
  .menu-container {
    background-color: transparent;
    width: 100%;
   
  }


 
  .menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
     position: absolute; 
    top: 105px;
    left: 2px;
    width: 150px;
    /* height: auto; */
    background-color: #4aa5d9;
    padding: 5px;
    border-radius: 20px;
    animation: none; /* No animation by default */
    transition: all 0.3s ease;
  }

  .menu,
  .submenu {
    justify-content: center; /* Center items vertically */
    align-items: center; /* Center items horizontally */
  }

  .menu li {
    margin: 7px 0;
  }


 img[alt="Q&A Icon"] {
        gap: 25px;
    }

  .submenu {
    display: none;
    flex-direction: row; 
    position:  absolute;
    left: 164%; /* Positioning submenu in front of "Services" button */
    top: -148px; /* Adjusted for 6 items */
    background-color: #4aa5d9;
    color: black;
    padding: 4px 4px 10px 0;
    border-radius: 20px;
    width: auto;
    z-index: 1000;
  }

  .menu li:hover .submenu,
  .submenu:hover {
    display: flex;
  }

  .menu.open {
    display: flex;
  }

  @keyframes slideIn {
    from {
      transform: translateY(-200%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .menu.open {
    display: flex; /* Make menu visible */
    animation: slideIn 0.5s ease-out; /* Add animation */
  }
  
  
  
  /* menu over slider photos */
    
	.slider {
        position: relative;
        z-index: 1;
    }

    .menu {
        position: relative;
        z-index: 10;
    }
  
  
   /* menu over slider photos */


 



  
}






/* Small Mobile (up to 350px)  قرار گرفتن ساب منیو  زیر دگمه سرویسس */



@media (max-width: 350px) {
  
/* Main menu */

  .menu {
    flex-direction: column; /* Stack menu items in a column */
    align-items: center;
	  width: 160px;
	  top: 55px;
  }

  .menu li {
    margin: 5px 5px; /* Add spacing between menu items */
    width: 100%; /* Full width for each menu item */
  }

  .menu li a {
    width: 85%; /* Ensure buttons take up full width */
    text-align: center; /* Align text to the left */
  }
  
  menu,.submenu, .menu-container, a {    
   
  justify-content: center; /* center items vertically */
  align-items: center;   /* center items horizontally */
   
  }

  /* Submenu styling */
  .submenu {
    display: none; /* Initially hidden */
    flex-direction: column; /* Stack submenu items vertically */
    position: relative; /* Position submenu directly under the Services button */
    left: 43%; /* Align with parent container */
    top: 3px;  /* Place directly below Services button */
    
    width: 98%; /* Match the width of the parent button */
    background-color: #4aa5d9; /* Consistent background color */
    color: black;
    padding: 2px 13px 0px 3px;
    border-radius: 10px;
    z-index: 1000; /* Ensure it's above other elements */
  }

  .submenu li {
    margin: 7px 5px; /* Add spacing between submenu items */
    width: 100%; /* Full width for each submenu item */
  }

  .submenu li a {
    width: 100%; /* Full width for submenu buttons */
    text-align: center; /* Align submenu text to the left */
    padding: 10px; /* Add spacing for better visuals */
	
  }
  
  

  /* Ensure submenu is displayed properly when clicked or hovered */
  .menu li:hover .submenu,
  .submenu:hover {
    display: flex; /* Show submenu */
  }

  
  .menu.open {
    display: flex; /* Show menu when open */
  }


  @keyframes slideIn {
    from {
      transform: translateY(-10%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
   
   
 .menu.open {
  display: flex; /* Make menu visible */
  animation: slideIn 0.5s ease-out; /* Add animation */
}

.submenu.open {
  display: flex; /* Show submenu */
  flex-direction: column;
  animation: slideIn 0.5s ease-out; /* Add animation */
}
   
   /* Footer start for 350px  */
   
   .footer {
        flex-direction: column;
        align-items: center;
        padding: 10px; /* Adjust padding for smaller screens */
    }

    .footer-column {
        min-width: 100%;
        text-align: center;
        margin: 5px 0; /* Adjust margin for smaller screens */
    }
   
   .footer-column h3 {
        font-size: 14px;
    }

    .footer-column ul li {
        margin: 5px 0;
    }

    .footer-column ul li a {
        font-size: 12px;
    }

    .no-wrap {
        font-size: 12px;
        width: 150px; /* Adjust width for smaller screens */
    }
   
  
   
}

/* Footer Ends  for 350px  */


 

/* Extra Small Mobile (up to 150px) ***/

@media screen and (max-width: 150px) {

  .header {
    height: 40px;
    padding: 0px 1px;
    background-color: #3894eb;
  }

 

  .logo1, .logo2 {
    max-width: 80%;
    height: 40px;
  }

 
  .left-section, .right-section {

    font-size: 0.4rem ; /* 35% ; /* Very small font size */
    overflow: hidden; /* Prevent content from overflowing */
    white-space: nowrap; /* Prevent text from wrapping */
    display: inline-block; /* Ensure text stays in one line */
    max-width: 26%;
    height: 80%; /*  16px; */
    width: 26%;
   
  }


  
 .middle-section {
   /* min-width: 0; /* Allow text to shrink */
    overflow: visible; /* Ensure text doesn't get clipped */
    white-space: nowrap; /* Prevent text wrapping */
    justify-content: center;
    align-items: center;
    text-align: center; 
  }


  .left-section a,
  .middle-section a,
  .right-section a {
    display: flex;
    height: 14px; /* Set a height (adjust as needed) */
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflow */
  }

  .bar {
    padding: 0px; /* Reduce padding */
    height: 20px;
  }





 .middle-section .text {
    font-size: 4.4vw; 
    width: 99%; /* Ensure the bar takes full width */
    max-width: 68px; /* Limit maximum width */
    overflow: hidden; /* Allow content to overflow */
   
  }


  .menu {
   /* flex-direction: column; /* منو رو به صورت عمودی نمایش بده */
    width: 90%; /* عرض کامل */
    padding: 10px 1px;
	top: 40px;
	Position: absolute;
    

  }

   .menu li {
    width: 90%; /* هر آیتم منو عرض کامل داشته باشه */
    margin: 2px 10px; /* فاصله بین آیتم‌ها */
    left: 3px;
	

   /*  justify-content: center;
    align-items: center;  */

  }

  .menu li a { 

    width: 90%;
    height: 30px;
    font-size: 12px;
    margin: 2px;
	line-height: 1;
    
}

 .submenu {
   /* position: static; /* ساب‌منیو رو زیر منو نمایش بده */
    width: 90%; /* عرض کامل */
    display: none; /* به صورت پیش‌فرض مخفی باشه */
	padding: 0px 0px;
  }

  .submenu li {

    
	 width: 100%; /* هر آیتم منو عرض کامل داشته باشه */
    /* margin: 0px 10px; /* فاصله بین آیتم‌ها */
    left: -1px;
}


 .submenu li a{
   
    width: 100%;
    height: 31px;
    font-size: 10px;
	padding: 0 4px;
    margin: -1px;
	line-height: 1;
  }
 

  .menu a::after { 

top: 27px;


}


.container {
  padding: 10px 20px;
/* text-align: center; */
 font-size: 0.8rem;
 
 
}

  .toggleMenu {

   display: block; /* Make toggle button visible */
    position: absolute !important; 
  padding: 5px;
  font-size: 0.5rem;
	 right: 10px;
      margin-top: 35px;    
  }
  
  /* Footer start for 150px  */
   .footer {
        padding: 15px;
    }

    .footer-column {
        margin: 5px 10px;
    }

    .footer-column h3 {
        font-size: 14px;
    }

    .footer-column ul li {
        margin: 5px 0;
        font-size: 12px;
    }

    .footer-column ul li a {
        font-size: 12px;
    }

    /* Adjust font size for Contact Us section */
    .footer-column ul li:nth-child(1), .footer-column ul li:nth-child(2), .footer-column ul li:nth-child(3) {
        font-size: 10px;
    }
  
  
/* Footer Ends for 150px  */
  

  
  /* H1 heading */
   .responsive-heading, h3 {
        font-size: 0.9em; /* Adjust font size */
        padding: 0 5px; /* Add padding to avoid cutting off text */
    }
  
     /*  End H1 heading */
	 
	 
	 
	 /*    Qoute call box- circle slider  */
	 
	 .circle-slider {
        width: 100px;
        height: 100px;
        margin: 0 10px;
		background-color: #3894eb;
		padding: 5px;
	/*	background-color: #3894eb; */
		border: 1px solid #a7cdf8;
		border-radius: 10px;
    }
    .call-action-box-wrapper {
        flex-direction: column;
		gap: 15px; 
		
    }
	 
	 
	.call-action-box {
        width: 80%;
        padding: 2px 5px;
		line-height: 1.5;
		 order: 1;
    }
    .call-to-action {
        font-size: 0.7em;
        padding: 1px 5px;
    }
	
	
	.circle-slider.left-slider {
        display: flex;
        order: 2;
    }
    .circle-slider.right-slider {
        display: none;
    }
	 
	 /*End Qoute call box- circle slider  */
	 
	 
	 
	 
     /* slider Home Page */ 

  .slider {
    width: calc(100% - 25px); /* Reduced by 20px to add 10px margin on each side */
    height: 100px;
  }

  .content-box {
  font-size: 8px;
  padding: 5px 7px;
   text-align: center;
	left: 15%;
	right: 15%;
	line-height: 1;
    
  }
      

    /*End Slider Home Page */
	 
	 
	 /* container-scrolls animation 1-2 */
	
	
	.container-scroll-1, .container-scroll-2 {
        flex-direction: column;
        padding: 10px;
       
    }

    .left-text, .right-img, .left-img, .right-text {
        width: 100%;
        height: auto;
    }

    .right-img img, .left-img img {
        max-height: 150px;
    }
	
	
	 
	 /* End container-scroll animation 1-2 */
	 
	 
	 p strong { 
	 
	 font-size: 11px;
	 
	 }
	 
	 


     
  /* Pop-up Container home message */

      .popup-box-popup-home-welcome-message {
    width: 90vw;
    min-height: 350px;
	height: auto;
    padding: 10px;
  }
  .popup-line {
    font-size: 14px;
  }
  .popup-number-popup-home-welcome-message {
    font-size: 16px;
  }
  .popup-close-popup-home-welcome-message {
    width: 40px;
    height: 40px;
    font-size: 24px;
    right: 10px;
    top: 8px;
  }
  


/* End Pop-up Container home message */

/*Slider slider-home-slider-fade-in-fade-out */


  .slider-home-slider-fade-in-fade-out.expanded {
    width: 98vw;
    min-width: 0;
    min-height: calc(2 * 75vw * 0.8 + 7vw + 2 * 7vw);
    height: auto;
    padding: 7vw 2vw;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .slide-home-slider-fade-in-fade-out {
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 7vw;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    transform: translateY(100%);
    transition:
      opacity 0.7s ease-in-out,
      transform 0.7s cubic-bezier(.77,0,.18,1);
  }
  .slide-home-slider-fade-in-fade-out.active-home-slider-fade-in-fade-out {
    transform: translateY(0);
  }
  .slide-home-slider-fade-in-fade-out.exit-bottom-home-slider-fade-in-fade-out {
    transform: translateY(100%);
  }
  .slide-section-left-home-slider-fade-in-fade-out,
  .slide-section-right-home-slider-fade-in-fade-out {
    width: 86vw;
    height: calc(86vw * 0.8);
    max-width: 99vw;
    max-height: 60vw;
  }
  .slide-img-home-slider-fade-in-fade-out {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  



/* End Slider slider-home-slider-fade-in-fade-out */






  
}




/* Footer start for 350px  */

@media screen and (max-width: 350px)  {

.footer {
        flex-direction: column;
        align-items: center;
        padding: 10px; /* Adjust padding for smaller screens */
    }

    .footer-column {
        min-width: 80%;
        text-align: center;
        margin: 5px ; /* Adjust margin for smaller screens */
    }

    .footer-column h3 {
        font-size: 13px;
    }

    .footer-column ul li {
        margin: 5px ;
    }

    .footer-column ul li a {
        font-size: 12px;
    }

    .no-wrap {
        font-size: 10px; /* Adjust font size for smaller screens */
    }





    
}


/* Footer Ends for 350px  */






/* Very Small Mobile (151px to 350px) **********************/

@media screen and (min-width: 151px) and (max-width: 350px) {
  /*
    Styles for very small mobile screens.
    These styles will apply to devices with a width between 151px and 350px.
  */
  .header {
    height: 45%;
    padding: 8px 0;
    background-color: #3894eb;
  }

  .logo1, .logo2 {
    max-width: 55%;
    height: 55%;
  }

  .left-section, .right-section {
    /* flex: 0 0 65px; /* Reduce width to 70px */
   font-size: 0.6rem; /* Reduce font size   11px */
   /*margin: 0 3px; /* Reduce margin */
   overflow: hidden; /* Prevent content from overflowing */
    white-space: nowrap; /* Prevent text from wrapping */
    display: inline-block; /* Ensure text stays in one line */
    height: 81%;
    width: 25%;
     max-width: 25%;
     
  }


  .middle-section {
   /* min-width: 0; /* Allow text to shrink */
    overflow: visible; /* Ensure text doesn't get clipped */
    white-space: nowrap; /* Prevent text wrapping */
    justify-content: center;
    align-items: center;
    text-align: center; 
  }


   .left-section a,
  .middle-section a,
  .right-section a {

    display: flex; 
    height: 21px; /* Set a height (adjust as needed) */
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflow */
    
  }
    

  .bar {
    padding: 0px; /* Adjust padding */
    height: 25px;
  }

  .middle-section .text {
    font-size: 4.5vw; 
      
  }

  

  .menu {
   /* flex-direction: column; /* منو رو به صورت عمودی نمایش بده */
    width: 130px; /* عرض کامل */
    padding: 10px 1px;
    margin-top: -5px; 
    Position: absolute;	
    

  }

   .menu li {
    width: 100%; /* هر آیتم منو عرض کامل داشته باشه */
    margin: 2px 10px; /* فاصله بین آیتم‌ها */
    left: 10px;

   /*  justify-content: center;
    align-items: center;  */

  }

  .menu li a { 

    width: 80%;
    height: 32px;
    font-size: 13px;
    margin: 2px;
    
}

 .submenu {
   /* position: static; /* ساب‌منیو رو زیر منو نمایش بده */
    width: 100%; /* عرض کامل */
    display: none; /* به صورت پیش‌فرض مخفی باشه */
  }

  .submenu li {

    left: -2px;

}


 .submenu li a {
   
    width: 91%;
    height: 32px;
    font-size: 11px;
    margin: -2px;
    padding: 2px 5px; 
  }
  
 
  
  .submenu li a img {
	  
	  margin: 5px;
  }
  
  /*
   .subimg li a{
	   
	   padding: 0px 35px ;
	   margin: 0px -15px;
   }
	  
	  */
 
/* underline  */ 

  .menu a::after { 

top: 27px;


}


.toggleMenu {

   display: block; /* Make toggle button visible */
   position: absolute !important; 
    padding: 7px;
    font-size: 0.7rem;
    right: 8px;
    margin-top: 20px;

  }

  /* H1 heading */
  
    .responsive-heading {
        font-size: 1em; /* Adjust font size */
        padding: 0 2px; /* Add padding to avoid cutting off text */
	}
  
    /* End H1 heading */
      
	  p strong { 
	  
	  font-size: 11px;
	  
	  }
	

      /*    Qoute call box- circle slider  */
	  
	.circle-slider {
        width: 200px;
        height: 200px;
        margin: 0 15px;
		background-color: #3894eb;
		padding: 2px;
	/*	background-color: #3894eb; */
		border: 1px solid #a7cdf8;
		border-radius: 30px;
    }
    .call-action-box-wrapper {
    flex-direction: column;
		gap: 10px; 
    margin: 40px auto;
		
    }
	  
	  
	   
	.call-action-box {
        width: 80%;
        padding: 5px;
		line-height: 1;
		 order: 1;
		margin-top: 10px;
		
    }
    .call-to-action {
        font-size: 0.7em;
        padding: 5px 10px;
    }
	   
	   
   .circle-slider.left-slider {
        display: flex;
        order: 2;
        margin-bottom: -55px;
    }
    .circle-slider.right-slider {
        display: block;
        
    }
	   
	 /* End Qoute call box- circle slider  */
		
		
  /* slider Home Page */

   .slider {
    width: calc(100vw - 30px);
    height: calc((140vw - 10px) * 0.45);
    margin: 10px auto;
  }
  .content-box {
    top: 5px;
    font-size: clamp(0.5em, 6vw, 0.6em);
    padding: 8px 10px;
    min-width: 40px;
     left: 30%; 
      right:30%;
      line-height: 1;
  }

   /*End Slider Home Page */
		
		
	/* container-scroll animation 1-2 */
		
		
		
		.container-scroll-1, .container-scroll-2 {
        flex-direction: column;
        padding: 15px;
       
    }

    .left-text, .right-img, .left-img, .right-text {
        width: 100%;
        height: auto;
    }

    .right-img img, .left-img img {
        max-height: 150px;
    }
		
		
		
	
	/* End container-scroll animation 1 */
     
	 
	 a.readmore { 
	 
	 font-size: 70%;
	 
	 
	 }
p strong {
		font-size: 15px;
		
	}


   
  /* Pop-up Container home message */


     .popup-box-popup-home-welcome-message {
    width: 80vw;
     max-width: 230px;
    min-height: 230px;
	  height: auto;
    padding: 12px;
  }
  .popup-line {
    font-size: 15px;
  }
  .popup-number-popup-home-welcome-message {
    font-size: 14px;
  }
  .popup-close-popup-home-welcome-message {
    width: 40px;
    height: 40px;
  }
  
  


/* End Pop-up Container home message */


/*Slider slider-home-slider-fade-in-fade-out */

  .slider-home-slider-fade-in-fade-out.expanded {
     
    width: 100%;
    min-width: 0;
    min-height: calc(2 * 75vw * 0.8 + 7vw + 2 * 7vw);
    height: auto;
    padding: 7vw 3vw;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .slide-home-slider-fade-in-fade-out {
   
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 7vw;
    align-items: center;
    padding: 0 10px !important;
    justify-content: center;
    left: 0;
    top: 0;
    transform: translateY(100%);
    transition:
      opacity 0.7s ease-in-out,
      transform 0.7s cubic-bezier(.77,0,.18,1);
  }
  .slide-home-slider-fade-in-fade-out.active-home-slider-fade-in-fade-out {
    transform: translateY(0);
  }
  .slide-home-slider-fade-in-fade-out.exit-bottom-home-slider-fade-in-fade-out {
    transform: translateY(100%);
  }
  .slide-section-left-home-slider-fade-in-fade-out,
  .slide-section-right-home-slider-fade-in-fade-out {
    width: 30vw;
    height: calc(86vw * 0.8);
    max-width: 30vw;
    max-height: 60vw;
    padding: 0 10px !important;
  }
  .slide-img-home-slider-fade-in-fade-out {
    width: 95%;
    height: 95%;
    object-fit: cover;
     object-position: center;
     left: 5px;
  }
  


/* End Slider-home-slider-fade-in-fade-out */




}




/* Mobile Animation scontainer-scroolls */

@media screen and (max-width: 767px) {
    .container-scroll-1, .container-scroll-2 {
        flex-direction: column;
        height: auto; /* Auto height for mobile */
    }

    .left-text, .right-img, .left-img, .right-text {
        width: 100%;
        text-align: left; /* Align text to the left */
        padding: 10px; /* Add padding for paragraphs */
        height: auto; /* Auto height for mobile */
        margin: 0; /* Reset margin for mobile */
    }

    .right-img img, .left-img img {
        max-height: 200px; /* Limit max height for mobile */
    }

    .container-scroll-1 .right-img {
        order: 1; /* Ensure image comes before text in first container */
    }

    .container-scroll-1 .left-text {
        order: 2; /* Ensure text comes after the image in first container */
    }

    .container-scroll-2 .left-img {
        order: 1; /* Ensure image comes before text in second container */
    }

    .container-scroll-2 .right-text {
        order: 2; /* Ensure text comes after the image in second container */
    }

    /* Reset animations for mobile */
    .left-text li, .right-text li {
        opacity: 0;
        transform: translateY(50px); /* Text animates from the bottom */
        transition: all 1.5s ease-in-out;
    }

    /* Photo in the first container animates from the right */
    .container-scroll-1 .right-img img {
        opacity: 0;
        transform: translateX(100px); /* Photo animates from the right */
        transition: all 1.5s ease-in-out;
    }

    /* Photo in the second container animates from the left */
    .container-scroll-2 .left-img img {
        opacity: 0;
        transform: translateX(-100px); /* Photo animates from the left */
        transition: all 1.5s ease-in-out;
    }


    h4 {
			
      color: darkred;
        
      }



      
/*Slider slider-home-slider-fade-in-fade-out */

	
  .slider-home-slider-fade-in-fade-out.expanded {
    /* width: 90vw; */
    width: 100%;
    min-width: 0;
    min-height: calc(2 * 70vw * 0.8 + 7vw + 2 * 7vw);
    height: auto;
    padding: 7vw 2vw;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .slide-home-slider-fade-in-fade-out {
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 5vw;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    transform: translateY(100%);
    transition:
      opacity 0.7s ease-in-out,
      transform 0.7s cubic-bezier(.77,0,.18,1);
  }
  .slide-home-slider-fade-in-fade-out.active-home-slider-fade-in-fade-out {
    transform: translateY(0);
  }
  .slide-home-slider-fade-in-fade-out.exit-bottom-home-slider-fade-in-fade-out {
    transform: translateY(100%);
  }
  .slide-section-left-home-slider-fade-in-fade-out,
  .slide-section-right-home-slider-fade-in-fade-out {
    width: 80vw;
    height: calc(80vw * 0.8);
    max-width: 99vw;
    max-height: 60vw;
  }
  

/* End Slider-home-slider-fade-in-fade-out */



}

/* End Mobile Animation scontainer-scrools */

/*      */



/* Normal Mobile (351px to 767px) */

@media screen and (min-width: 351px) and (max-width: 767px) {
	
  /*
    Styles for normal mobile screens.
    These styles will apply to devices with a width between 351px and 767px.
  */
  .header {
    height: 65%;
    padding: 5px 20px;
    background-color: #3894eb;
  }

  .logo1, .logo2 {
    max-width: 55%;
    height: 55%;
  }

  .left-section, .right-section {
    font-size: 0.9rem; /* Medium font size */
    overflow: hidden; /* Prevent content from overflowing */
    white-space: nowrap; /* Prevent text from wrapping */
    display: inline-block; /* Ensure text stays in one line */
    width: 28%;
    max-width: 28%;
    height: 73%;
  }

  

    .middle-section {

    overflow: visible; /* Ensure text doesn't get clipped */
    white-space: nowrap; /* Prevent text wrapping */
    justify-content: center;
    align-items: center;
    text-align: center; 
  }



    .left-section a,
    .middle-section a,
    .right-section a {

    display: flex;
    height: 22px; /* Set a height (adjust as needed) */
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: nowrap; /* Prevent text from wrapping */
    overflow: hidden; /* Hide overflow */
  }

     

  .bar {
    padding: 0 5px; /* Adjust padding */
    height: 33px;
  }

  .middle-section .text {
    font-size: 3.3vw; 
    margin: 0 2px;
      
  }


  .menu {
    display: none; /* Hide desktop menu */
    width: 135px;
   height: 230px; 
   position: fixed; 
   margin-top: -80px;
   Position: absolute;
  }
   
  .menu li a { 

    width: 120px;
    height: 34px;
    font-size: 15px;
    margin: -3px;
    
}

	.submenu  {

	 left: 167%;
	 top: -103px; /* Adjusted for 6 items */
	 width: 130px;
	 height: 236px; /* Adjusted for 6 items */

	}


    .submenu li a {
        width: 120px;
        height: 31px;
        font-size: 12px;
        margin: -3px;
    }



 
/* underline  */ 

  .menu a::after { 

   top: 30px;


}


   .toggleMenu {

   display: block; /* Make toggle button visible */
    position: absolute !important;    /*position: fixed !important; */
	  padding: 10px;
    font-size: 0.6rem;
    right: 10px;
     margin-top: 46px;
     
  }
  
  
  .footer-column {
        min-width: 45%;
    }
	

   /* H1 heading */

    .responsive-heading {
        font-size: 1.2em; /* Adjust font size */
        padding: 0 1px; /* Add padding to avoid cutting off text */
    }
   
    /*  End H1 heading */
	

	
	/*    Qoute call box- circle slider  */
	
	 .circle-slider {
        width: 250px;
        height: 250px;
        margin: -40px 0 -90px 0;
		background-color: #3894eb;
		padding: 2px;
	/*	background-color: #3894eb; */
		border: 1px solid #a7cdf8;
		border-radius: 30px;
		
		
    }
    .call-action-box-wrapper {
        flex-direction: column;
		 margin-bottom: 90px; /* فاصله بین عناصر */
		
    }
	
	 .call-action-box {
        width: 100%;
        padding: 7px;
		order: 1;
		margin-top: 10px;
    }
    .call-to-action {
        font-size: 1em;
        padding: 7px 10px;
    }
	
	 .circle-slider.left-slider {
        display: flex;
        order: 2;
        margin-top: -87px;
    }
    .circle-slider.right-slider {
        display: block;  /*none; */
    }

    .call-action-box-wrapper  {

    gap: 100px;
    margin: 80px auto;


    }


    .call-action-box {
       
    margin: 10px auto;

    }
	
	
	/*End Qoute call box- circle slider */
	
	
	 /* slider Home Page */

    .slider {
    width: calc(88vw - 30px);
    height: calc((100vw - 10px) * 0.45);
    margin: 12px auto;
  }


  .content-box {
    top: 10px;
    font-size: 12px;
   padding: 10px 15px;
    
      left: 30%; 
      right:30%;
      line-height: 1;
    
  }


    /*End Slider Home Page */
	
	/* container-scroll animation 1-2 */
	
	
	.container-scroll-1, .container-scroll-2 {
        flex-direction: column;
        padding: 10px 30px;
      
		
    }

    .left-text, .right-img, .left-img, .right-text {
        width: 100%;
        height: auto;
		
    }

    .right-img img, .left-img img {
        max-height: 350px;
    }
	
	
	
	/* End container-scroll animation 1-2 */
	
	p {

padding: 0 10px;;

  }

  h4 {
			
		color: darkred;
			
    }


  
  /* Pop-up Container home message */

    .popup-container-popup-home-welcome-message {
  
   top: -10px; 
  padding: 0px 15px;

    }


    .popup-box-popup-home-welcome-message {
    width: 90vw;
    max-width: 230px;
     min-height: 230px;
	  height: auto;
    padding: 14px;
  }
  .popup-line {
    font-size: 15px;
  }
  .popup-number-popup-home-welcome-message {
    font-size: 15px;
  }



/* End Pop-up Container home message */


  
/*Slider slider-home-slider-fade-in-fade-out */



  .slider-home-slider-fade-in-fade-out.expanded {
    width: 80vw;
    min-width: 0;
    min-height: calc(2 * 55vw * 0.8 + 7vw + 2 * 7vw);
    height: auto;
    padding: 5vw 2vw;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .slide-home-slider-fade-in-fade-out {
    flex-direction: column;
    width: 100%;
    height: 100%;
    gap: 2vw;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    transform: translateY(100%);
    transition:
      opacity 0.7s ease-in-out,
      transform 0.7s cubic-bezier(.77,0,.18,1);
  }
  .slide-home-slider-fade-in-fade-out.active-home-slider-fade-in-fade-out {
    transform: translateY(0);
  }
  .slide-home-slider-fade-in-fade-out.exit-bottom-home-slider-fade-in-fade-out {
    transform: translateY(100%);
  }
  .slide-section-left-home-slider-fade-in-fade-out,
  .slide-section-right-home-slider-fade-in-fade-out {
    width: 70vw;
    height: calc(80vw * 0.8);
    max-width: 85vw;
    max-height: 50vw;
  }
  .slide-img-home-slider-fade-in-fade-out {
    object-fit: cover;
  }
  


/* End Slider-home-slider-fade-in-fade-out */





   }




/* Tablet (768px to 1023px) */

@media screen and (min-width: 768px) and (max-width: 1023px) {
 
  .header {
    height: 60%;
    padding: 5px 5px;
    background-color: #3894eb;
  }

  .logo1, .logo2 {
    max-width: 65%;
    height: 65%;
  }

  .left-section, .middle-section, .right-section {
    font-size: 1rem; /* Large font size */
    overflow: hidden; /* Prevent content from overflowing */
    white-space: nowrap; /* Prevent text from wrapping */
    display: inline-block; /* Ensure text stays in one line */
  }

  .bar {
    padding: 5px 10px; /* Adjust padding */
    height: 38px;
  }

  .text {
    font-size: 1.4rem;
  }


  .menu {
    display: none; /* Hide desktop menu */
    width: 135px;
   height: 230px; 
   position: fixed; 
   margin-top: -85px;
   Position: absolute;
  }
   
  .menu li a { 

    width: 120px;
    height: 34px;
    font-size: 15px;
    margin: -4px;
    
}

  .submenu  {

 left: 170%;
 top: -104px; /* Adjusted for 6 items */
 width: 130px;
 height: 235px; /* Adjusted for 6 items */


}


    .submenu li a {
        width: 120px;
        height: 32px;
        font-size: 12px;
        margin: -3px;
    }



 
/* underline  */ 

  .menu a::after { 

top: 30px;


}




   .toggleMenu {

   display: block; /* Make toggle button visible */
    position: absolute !important;  
	  padding: 11px;
    font-size: 0.8rem;
    right: 50px;
     margin-top: 60px;
     
  }
  
  
  
   .footer-column {
	  
      min-width: 40%;/* 30%; */
    }
	

	
 /* Qoute call box- circle slider  */
 
 
  .circle-slider {
        width: 233px;
        height: 200px;
        margin: 10px 13px;
		background-color: #3894eb; 
		padding: 2px;
		border: 1px solid #a7cdf8;
		border-radius: 30px;
    }
    .call-action-box-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: center;
		gap: 10px;
    }
	
	.call-action-box {
        width: 40%;
        padding: 5px;
    }
    .call-to-action {
        font-size: 1.1em;
        padding: 8px 5px;
    }
	
	.circle-slider.left-slider,
    .circle-slider.right-slider {
        display: flex;
    }
	
	
 /* End Qoute call box- circle slider  */

	
	 /* slider Home Page */

  .slider {
    width: calc(90vw - 30px);
    height: calc((100vw - 20px) * 0.45);
    margin: 20px auto;
  }


  .content-box {
    top: 16px;
    font-size: clamp(1em, 3vw, 1.15em);
    padding: 0.55em 1.2em;
     min-width: 120px;
  left: 35%;
  right: 35%;
  transform: translateX(-50%);
  }

     

    /*End Slider Home Page */
	
	/* H sizes */
	
	   .responsive-heading {

   
    font-size: 1.5em; /* Base font size */
    font-weight: 200;
   
}
	
	/* END H sizes */
	
	
	
	/* container-scroll animation 1-2 */
	
	
	 .container-scroll-1, .container-scroll-2 {
        flex-direction: row;
        align-items: center; /* Align text and photo vertically */
       
		height: 550px;
		width: 100%;
		line-height: 1.1em;
		font-size: 0.9rem;
		
		
    }
	
	h4 {
		margin-bottom: 4px;	
		color: darkred;
			
    }
		
	p {
		
		margin-bottom: 7px;
		
	}
	
    .left-text, .right-img, .left-img, .right-text {
        width: 45%; /* Slightly reduce width to accommodate the gap */
        margin: 0 ; /* Add margin to create space between text and image */
		
    }

    .right-img img, .left-img img {
        max-height: 80%; /* Make photo height match text height */
        height: 450px !important; /* Remove max-height restriction */
        object-fit: contain; /* Ensure the photo covers the container */
    }
	
	
	
	
	
	/* End container-scroll animation 1-2 */
 	

   
  /* Pop-up Container home message */

   
   .popup-line {
     font-size: 15px;
   }

    popup-container-popup-home-welcome-message {

     top: -40px !important;

    }
     	
  .popup-box-popup-home-welcome-message {
    width: 280px;
    min-height: 200px;
    height: auto;
  }
  


/* End Pop-up Container home message */


/*Slider slider-home-slider-fade-in-fade-out */

	
  .slider-home-slider-fade-in-fade-out.expanded {

     /*width: calc(2 * 350px + 35px + 2 * 24px); */
     width: 100%;
    height: calc(310px + 2 * 24px);
    padding: 25px;
    /*max-width: 100vw; */
    margin: 0 auto;
    min-width: 670px;
    max-height: 450px;
  }
  .slide-home-slider-fade-in-fade-out {
    gap: 50px;
    flex-direction: row;
  }
  .slide-section-left-home-slider-fade-in-fade-out,
  .slide-section-right-home-slider-fade-in-fade-out {


    width: 34vw;
    height: 34vw;
    
    min-width: 34vw;
    min-height: 34vw;
  }
  .slide-img-home-slider-fade-in-fade-out {
    border-radius: 18px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  

/* End Slider-home-slider-fade-in-fade-out */




}


/* Laptop (1024px to 1439px) */

@media screen and (min-width: 1024px) and (max-width: 1439px)  {
  /*
    Styles for laptop screens.
    These styles will apply to devices with a width between 1024px and 1439px.
  */
  .header {
    height: 95%;
    padding: 5px;
    padding: 5px;
    background-color:  #3894eb ;  /* #3894eb; /* #580202; blue */
  }

  .logo1, .logo2 {
    max-width: 90%;
    height: 90%;
  }

  .left-section, .middle-section, .right-section, .text {
    font-size: 1.1rem; /* Extra large font size */
    overflow: hidden; /* Prevent content from overflowing */
    white-space: nowrap; /* Prevent text from wrapping */
    display: inline-block; /* Ensure text stays in one line */
  }

  .bar {
    padding: 0px 10px; /* Adjust padding */
    height: 40px;
  }

  .text {
    font-size: 1.7rem;
  }
  
   .footer-column {
        min-width: 22%;
    }
	
	
	/* H1 heading */
	
	   .responsive-heading {
        font-size: 1.5em; /* Adjust font size */
        padding: 0 40px; /* Add padding to avoid cutting off text */
    }
	
	/* End H1 heading */
	
	/* Qoute call box- circle slider  */
	
	 .circle-slider {
        width: 290px;
        height: 251px;
        margin: 0px 5px; /* 5px */
		padding: 3px;
		background-color: #3894eb; 
		border: 1px solid #a7cdf8;
		border-radius: 30px;
    }
    .call-action-box-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: center;
		    gap: 40px;
		 
    }
	 
	 .call-action-box {
        width: 50%;
        padding: 8px;
    }
    .call-to-action {
        font-size: 1.2em;
        padding: 5px 10px;
    }
	
	
	 .circle-slider.left-slider,
    .circle-slider.right-slider {
        display: flex;
    }
	 
	 /* End Qoute call box- circle slider */
	 
	  
	  
	  /* slider Home Page */

   .slider {
     width: calc(95vw - 30px);
    height: 500px;
    margin: 25px auto;
  }


    .content-box {
    top: 22px;
    font-size: clamp(1.1em, 2vw, 1.25em);
    padding: 0.7em 1.4em;
    min-width: 160px;
  }


	 
    /*End Slider Home Page ----------------------------*/
	 
	 
	 
	 
	 /* container-scroll animation 1-2 */

  .container-scroll-1, .container-scroll-2 {
    flex-direction: row;
    align-items: stretch; /* Stretch items to match height */
       
		height: 570px;
		width: 95%;
		line-height: 1.2em;
   
		
		
    }
	
	
	h4 {
		margin-bottom: 3px;	
		color: darkred;
			
    }
		
	p {
		
		 margin-bottom: 4px; 
     font-size: 17px;
	
	}
	
   
    .left-text, .right-img, .left-img, .right-text {
        width: 45%;
        /* margin: 10px; /* Add margin to create space between text and image */
    }
	
	

    .right-img img, .left-img img {
        height: 90%; /* Make photo height match text height */
        max-height: none; /* Remove max-height restriction */
       /* max-width: 650px !important;
        margin: 0 -15px; */
        object-fit: contain; /* Ensure the photo covers the container */
    }




    /* End container-scroll animation 1-2 */

	  


    
  /* Pop-up Container home message */

    	
  .popup-box-popup-home-welcome-message {
    width: 380px;
    height: 260px;
  }
  .popup-line {
    font-size: 17px;
  }
  .popup-number-popup-home-welcome-message {
    font-size: 20px;
  }
  
  

    

/* End Pop-up Container home message */



/*Slider slider-home-slider-fade-in-fade-out */

	
  .slider-home-slider-fade-in-fade-out.expanded {
    /* width: calc(2 * 500px + 40px + 2 * 35px); */
    width: 100%; 
     height: calc(400px + 2 * 32px);

    overflow: hidden;
    padding: 32px;
    gap:35px;
  }
  .slide-home-slider-fade-in-fade-out {
    flex-direction: row;
    gap: 25px;
  }
  .slide-section-left-home-slider-fade-in-fade-out,
  .slide-section-right-home-slider-fade-in-fade-out {


    flex: 1;
    max-width: 45%;
  }

  .slide-img-home-slider-fade-in-fade-out {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 25px;
    display: block;

  }
  



/* End Slider-home-slider-fade-in-fade-out */




  
}




/* Desktop (1440px and above) */

@media screen and (min-width: 1440px)  {
  /*
    Styles for desktop screens.
    These styles will apply to devices with a width of 1440px or more.
  */
  .header {
    height: 130px;
    padding: 17px;
    background-color: #3894eb;
  }

  .logo1, .logo2 {
    max-width: 100%;
    height: 100px;
  }

  .left-section, .middle-section, .right-section, .text {
    font-size: 1.1rem; /* Extra large font size */
    overflow: hidden; /* Prevent content from overflowing */
    white-space: nowrap; /* Prevent text from wrapping */
    display: inline-block; /* Ensure text stays in one line */
  }

  .bar {
    padding: 0px 10px; /* Adjust padding */
    height: 40px;
  }

  .text {
    font-size: 1.7rem;
  }
  
   .footer-column {
        min-width: 20%;
    }
  
  
  /* H1 heading */
     
	 .responsive-heading {
        font-size: 2em; /* Adjust font size */
        padding: 0 50px; /* Add padding to avoid cutting off text */
    }
  
  
  /* End H1 heading */
  
	  
/* Qoute call box- circle slider  */

    .circle-slider {
        width: 328px;
        height: 314px;
        margin: 0 40px; 
		padding: 5px;
		background-color: #3894eb;
		border: 1px solid #a7cdf8;
		border-radius: 30px;
    }
    .call-action-box-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: center;
		
    }
	
	 
	.call-action-box {
        width: 50%;
        padding: 15px;
    }
    .call-to-action {
        font-size: 1.3em;
        padding: 10px 20px;
    }
	 
	 
	 .circle-slider.left-slider,
    .circle-slider.right-slider {
        display: flex;
    }
	 
		
	/* End Qoute call box- circle slider  */
	  
    /* slider Home Page */
  
 .slider {
    width: 1200px;
    height: 500px;
    margin: 30px auto;
  }


  .content-box {
    top: 28px;
    font-size: clamp(1.2em, 1.5vw, 1.5em);
    padding: 0.8em 1.6em;
    min-width: 220px;
  }


      
	h4 {
			
		color: darkred;
			
    }

    /*End Slider Home Page */
     
    
	/* container-scroll animation 1-2 */
	
	.container-scroll-1, .container-scroll-2 {
        flex-direction: row;
        align-items: stretch; /* Stretch items to match height */
       
		width : 90%;
		line-height: 1.7em;

		
		
    }

    .left-text, .right-img, .left-img, .right-text {
        width: 45%;
        margin-bottom: 10px; /* Add margin to create space between text and image */
		
    }

    .right-img img, .left-img img {
        height: 80%; /* Make photo height match text height */
        max-height: none; /* Remove max-height restriction */
        object-fit: cover; /* Ensure the photo covers the container */
    }
	


     /* End container-scroll animation 1-2 */


   
  /* Pop-up Container home message */

  	
  .popup-box-popup-home-welcome-message {
    width: 400px;
    height: 270px;
  }
  .popup-line {
    font-size: 18px;
  }
  .popup-number-popup-home-welcome-message {
    font-size: 22px;
  }
  



/* Position Control Classes (Optional - for custom alignment) */
.popup-position-top-left {
  justify-content: flex-start;
  align-items: flex-start;
}
.popup-position-top-right {
  justify-content: flex-start;
  align-items: flex-end;
}
.popup-position-bottom-left {
  justify-content: flex-end;
  align-items: flex-start;
}
.popup-position-bottom-right {
  justify-content: flex-end;
  align-items: flex-end;
}
.popup-position-center {
  justify-content: center;
  align-items: center;
}




/* End Pop-up Container home message */




/*Slider slider-home-slider-fade-in-fade-out */

	
  .slider-home-slider-fade-in-fade-out.expanded {
    width: calc(2 * 500px + 40px + 2 * 35px);
    height: calc(500px + 2 * 32px);
    min-width: 380px;
    min-height: 320px;
    padding: 32px;
  }
  .slide-home-slider-fade-in-fade-out {
    flex-direction: row;
    gap: 65px;
  }
  .slide-section-left-home-slider-fade-in-fade-out,
  .slide-section-right-home-slider-fade-in-fade-out {
    width: 450px;
    height: 450px;
  }
  .slide-img-home-slider-fade-in-fade-out {
    border-radius: 25px;
  }
  



/* End Slider-home-slider-fade-in-fade-out */


  
}



.animated {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}