@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&family=Nunito&family=Poppins:wght@300&family=Varela+Round&display=swap');
:root {
  --black: #000000;
  --white: #ffffff;
  --red: #ff0000;
  --green: #008000;
  --blue: #0000ff;
  --yellow: #ffff00;
  --orange: #ffa500;
  --purple: #800080;
  --pink: #ffc0cb;

  --black-light: #333333;
  --white-light: #f2f2f2;
  --red-light: #ff4d4d;
  --green-light: #33cc33;
  --blue-light: #4d4dff;
  --yellow-light: #ffff66;
  --orange-light: #ffcc66;
  --purple-light: #bf80ff;
  --pink-light: #ff69b4;

  --black-dark: #000000;
  --white-dark: #cccccc;
  --red-dark: #cc0000;
  --green-dark: #006600;
  --blue-dark: #000099;
  --yellow-dark: #cccc00;
  --orange-dark: #cc6600;
  --purple-dark: #660066;
  --pink-dark: #820041;
}

body {
  overflow-x: hidden; /* This hides the vertical scrollbar */
}

h3 {
  font-family: Poppins, Roboto-Medium;
  font-size: 20px;
  line-height: 1.3;
}

ol,
ul {
  padding-left: 0px !important;
  margin-left: 30px;
}

textarea::placeholder {
  white-space: normal; /* Ensure the placeholder text wraps */
  color: #888; /* Placeholder text color */
  font-size: 14px; /* Adjust font size for better readability */
  line-height: 1.4; /* Spacing between lines */
}

@media (max-width: 600px) {
  textarea::placeholder {
    font-size: 13px; /* Smaller placeholder text */
  }
}

.tox-promotion {
    display: none !important; /* disable tinymce upgrade button*/
}

.form-element {
  font-family: Poppins, Roboto-Regular;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  border-color: #d9d9d9;
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #cbcbcb;
  border-radius: 3px;
  display: block;
  outline: 0;
  width: 100%;
  min-height: 40px;
}

.form-control {
  border-radius: 5px !important;
}

.form-control:focus {
  outline: none; /* Remove default focus outline */
  border-color: #b0b0b0; /* Change border color when in focus */
  box-shadow: 0 0 0px #ffffff; /* Add a subtle box shadow */
}



/* Borders colors */
.border-grey {
  border: 1px solid #ddd !important;
}
.border-green {
  border: 1px solid #009900 !important;
}
.border-red {
  border: 1px solid #e60000 !important;
}
.border-orange {
  border: 1px solid #ffaf1a !important;
}
.border-light-orange {
  border: 1px solid #ffe4b3 !important;
}
.border-dark-orange {
  border: 1px solid #cc8500 !important;
}
.border-white {
  border: 1px solid #fff !important;
}
.border-light-grey {
  border-right: 1px solid #ddd !important;
}

.border-bottom-grey {
  border-bottom: 1px solid #ddd !important;
}
.border-top-grey {
  border-top: 1px solid #ddd !important;
}

.text-white {
  color: #ffffff !important;
}
.text-blue {
  color: #0075ea !important;
}
.text-black {
  color: #000000 !important;
}
.text-dark-grey {
  color: #666666 !important;
}
.text-light-grey {
  color: #d9d9d9 !important;
}
.text-grey {
  color: #cccccc !important;
}

.text-border-blue {
  -webkit-text-stroke: 1px #4276e3 !important; /* width and color */
}
.text-border-black {
  -webkit-text-stroke: 1px #000000 !important; /* width and color */
}
.text-border-black {
  text-shadow: -1px 0px 0px black, 1px 0px 0px black, 0px -1px 0px black,
    0px 1px 0px black;
}

.text-border-white {
  color: #ffffff;
  text-shadow: -1px 0px 0px black, 1px 0px 0px black, 0px -1px 0px black,
    0px 1px 0px black;
}

/* Font Size */
.text-size8 {
  font-size: 8px !important;
}
.text-size10 {
  font-size: 10px !important;
}
.text-size12 {
  font-size: 12px !important;
}
.text-size14 {
  font-size: 14px !important;
}
.text-size16 {
  font-size: 16px !important;
}
.text-size18 {
  font-size: 18px !important;
}
.text-size20 {
  font-size: 20px !important;
}
.text-size22 {
  font-size: 22px !important;
}
.text-size24 {
  font-size: 24px !important;
}
.text-size26 {
  font-size: 26px !important;
}
.text-size28 {
  font-size: 28px !important;
}
.text-size30 {
  font-size: 30px !important;
}
.text-size32 {
  font-size: 32px !important;
}
.text-size34 {
  font-size: 34px !important;
}
.text-size36 {
  font-size: 36px !important;
}
.text-size38 {
  font-size: 38px !important;
}
.text-size40 {
  font-size: 40px !important;
}
.text-size42 {
  font-size: 42px !important;
}
.text-size44 {
  font-size: 44px !important;
}
.text-size46 {
  font-size: 46px !important;
}
.text-size48 {
  font-size: 48px !important;
}
.text-size50 {
  font-size: 50px !important;
}
.text-size52 {
  font-size: 52px !important;
}
.text-size54 {
  font-size: 54px !important;
}
.text-size56 {
  font-size: 56px !important;
}
.text-size58 {
  font-size: 58px !important;
}
.text-size60 {
  font-size: 60px !important;
}
.text-size62 {
  font-size: 62px !important;
}
.text-size64 {
  font-size: 64px !important;
}
.text-size66 {
  font-size: 66px !important;
}
.text-size68 {
  font-size: 68px !important;
}
.text-size70 {
  font-size: 70px !important;
}

.text-bold {
  font-weight: bold !important;
}
.text-justify {
  text-align: justify;
  text-justify: inter-word;
}
.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-italic {
  font-style: italic !important;
}

.grayscale {
  filter: grayscale(1);
  opacity: 0.5;
}

.hover-text-underline:hover {
  text-decoration: underline !important;
}
.hover_hand:hover {
  cursor: pointer !important;
}
.hover_border:hover {
  border: 1px solid #7e7e7e !important;
  background-color: #f7f7f7;
}

.bg-light-grey {
  background-color: #f2f2f2 !important;
}
.bg-grey {
  background-color: #cacaca !important;
}

.box_shadow {
  /*box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;*/
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.4);
}

.modal .modal-body {
  text-align: left !important;
}

.member-image {
  width: 100%; /*or 70%, or what you want*/
  height: 400px; /*or 70%, or what you want*/
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.border-on-hover:hover {
  border: 1px solid #444444;
}

.events .card-img {
  height: 400px !important; /* Set your desired height here */
  overflow: hidden !important;
}

.events img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* This maintains the aspect ratio without squeezing */
  object-position: center top !important; /* Adjust this to change the vertical positioning */
}

.event-card-img {
  height: 300px !important; /* Set your desired height here */
  overflow: hidden !important;
}

.event-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* This maintains the aspect ratio without squeezing */
  object-position: center top !important; /* Adjust this to change the vertical positioning */
}

.blog-card-image-container {
  height: 200px; /* Set your desired height here */
  overflow: hidden;
}
.blog-card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This maintains the aspect ratio without squeezing */
  object-position: center top; /* Adjust this to change the vertical positioning */
}

.blog-item-image-container {
  height: 600px; /* Set your desired height here */
  overflow: hidden;
}
.blog-item-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This maintains the aspect ratio without squeezing */
  object-position: center top; /* Adjust this to change the vertical positioning */
}

.service-page-image-container {
  height: 300px; /* Set your desired height here */
  overflow: hidden;
}
.service-page-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This maintains the aspect ratio without squeezing */
  object-position: center top; /* Adjust this to change the vertical positioning */
}

.gallery-page-image-container {
  height: 100px; /* Set your desired height here */
  overflow: hidden;
}
.gallery-page-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This maintains the aspect ratio without squeezing */
  object-position: center top; /* Adjust this to change the vertical positioning */
}

.admin-gallery-page-image-container {
  height: 200px; /* Set your desired height here */
  overflow: hidden;
}
.admin-gallery-page-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This maintains the aspect ratio without squeezing */
  object-position: center top; /* Adjust this to change the vertical positioning */
}

.gallery-item-page-image-container {
  height: 250px; /* Set your desired height here */
  overflow: hidden;
}
.gallery-item-page-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This maintains the aspect ratio without squeezing */
  object-position: center top; /* Adjust this to change the vertical positioning */
}

.portfolio-card-img {
  height: 300px !important; /* Set your desired height here */
  overflow: hidden !important;
}

.portfolio-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* This maintains the aspect ratio without squeezing */
  object-position: center top !important; /* Adjust this to change the vertical positioning */
}

.modal-dialog {
  text-align: center;
}
.modal-content {
  display: inline-block;
}

/* START TOOLTIP STYLES */
[tooltip] {
  position: relative;
}

/* Applies to all tooltips */
[tooltip]::before,
[tooltip]::after {
  text-transform: none;
  font-size: 0.9em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  position: absolute;
  display: none;
  opacity: 0;
}
[tooltip]::before {
  content: '';
  border: 5px solid transparent;
  z-index: 1001;
}
[tooltip]::after {
  content: attr(tooltip);
  font-family: Helvetica, sans-serif;
  text-align: center;
  min-width: 3em;
  width: 400px; /* Set the maximum fixed width to 200px */
  white-space: normal; /* Allow content to wrap */
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 1ch 1.5ch;
  border-radius: 0.3ch;
  box-shadow: 0 1em 2em -0.5em rgba(0, 0, 0, 0.35);
  background: #333;
  color: #fff;
  z-index: 1000;
}

/* Make the tooltips respond to hover */
[tooltip]:hover::before,
[tooltip]:hover::after {
  display: block;
}

/* don't show empty tooltips */
[tooltip='']::before,
[tooltip='']::after {
  display: none !important;
}

/* FLOW: UP */
[tooltip]:not([flow])::before,
[tooltip][flow^='up']::before {
  bottom: 100%;
  border-bottom-width: 0;
  border-top-color: #333;
}
[tooltip]:not([flow])::after,
[tooltip][flow^='up']::after {
  bottom: calc(100% + 5px);
}
[tooltip]:not([flow])::before,
[tooltip]:not([flow])::after,
[tooltip][flow^='up']::before,
[tooltip][flow^='up']::after {
  left: 50%;
  transform: translate(-50%, -0.5em);
}

/* FLOW: DOWN */
[tooltip][flow^='down']::before {
  top: 100%;
  border-top-width: 0;
  border-bottom-color: #333;
}
[tooltip][flow^='down']::after {
  top: calc(100% + 5px);
}
[tooltip][flow^='down']::before,
[tooltip][flow^='down']::after {
  left: 50%;
  transform: translate(-50%, 0.5em);
}

/* FLOW: LEFT */
[tooltip][flow^='left']::before {
  top: 50%;
  border-right-width: 0;
  border-left-color: #333;
  left: calc(0em - 5px);
  transform: translate(-0.5em, -50%);
}
[tooltip][flow^='left']::after {
  top: 50%;
  right: calc(100% + 5px);
  transform: translate(-0.5em, -50%);
}

/* FLOW: RIGHT */
[tooltip][flow^='right']::before {
  top: 50%;
  border-left-width: 0;
  border-right-color: #333;
  right: calc(0em - 5px);
  transform: translate(0.5em, -50%);
}
[tooltip][flow^='right']::after {
  top: 50%;
  left: calc(100% + 5px);
  transform: translate(0.5em, -50%);
}

/* KEYFRAMES */
@keyframes tooltips-vert {
  to {
    opacity: 0.9;
    transform: translate(-50%, 0);
  }
}

@keyframes tooltips-horz {
  to {
    opacity: 0.9;
    transform: translate(0, -50%);
  }
}

/* FX All The Things */
[tooltip]:not([flow]):hover::before,
[tooltip]:not([flow]):hover::after,
[tooltip][flow^='up']:hover::before,
[tooltip][flow^='up']:hover::after,
[tooltip][flow^='down']:hover::before,
[tooltip][flow^='down']:hover::after {
  animation: tooltips-vert 300ms ease-out forwards;
}

[tooltip][flow^='left']:hover::before,
[tooltip][flow^='left']:hover::after,
[tooltip][flow^='right']:hover::before,
[tooltip][flow^='right']:hover::after {
  animation: tooltips-horz 300ms ease-out forwards;
}

#toast-container {
  opacity: 0.9 !important;
  position: fixed;
  bottom: 10px;
  left: 20px;
  z-index: 9999;
}

.toast-open {
  background-color: #005806;
  color: #fff;
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  min-width: 300px;
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}
.toast-closed {
  background-color: #ffc107;
  color: #000000;
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  min-width: 300px;
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

#close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  cursor: pointer;
  margin-right: 10px;
  margin-top: 5px;
}

/* Alert Messages*/
.alert-message {
  margin: 20px 0;
  padding: 20px;
  border-left: 5px solid #eee;
  border-right: 1px solid #eee;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.alert-message h4 {
  margin-top: 0;
  margin-bottom: 5px;
}
.alert-message p:last-child {
  margin-bottom: 0;
}
.alert-message code {
  background-color: #fff;
  border-radius: 3px;
}
.alert-message-success {
  background-color: #f4fdf0;
  border-color: #3c763d;
}
.alert-message-success h4 {
  color: #3c763d;
}
.alert-message-danger {
  background-color: #fdf7f7;
  border-color: #d9534f;
}
.alert-message-danger h4 {
  color: #d9534f;
}
.alert-message-warning {
  background-color: #fcf8f2;
  border-color: #f0ad4e;
}
.alert-message-warning h4 {
  color: #f0ad4e;
}
.alert-message-info {
  background-color: #f4f8fa;
  border-color: #5bc0de;
}
.alert-message-info h4 {
  color: #5bc0de;
}
.alert-message-default {
  background-color: #eee;
  border-color: #b4b4b4;
}
.alert-message-default h4 {
  color: #000;
}
.alert-message-notice {
  background-color: #fcfcdd;
  border-color: #bdbd89;
}
.alert-message-notice h4 {
  color: #444;
}

/* Footer icons*/
.footer-social-icons {
  padding: 30px;
  text-align: center;
}
.footer-social-icons a {
  color: #a5a5a5;
  line-height: 30px;
  font-size: 30px;
  margin: 0 7px;
  text-decoration: none;
}
.footer-social-icons a i {
  line-height: 30px;
  font-size: 20px;
  -webkit-transition: all 200ms ease-in;
  -webkit-transform: scale(1);
  -ms-transition: all 200ms ease-in;
  -ms-transform: scale(1);
  -moz-transition: all 200ms ease-in;
  -moz-transform: scale(1);
  transition: all 200ms ease-in;
  transform: scale(1);
}
.footer-social-icons a:hover i {
  z-index: 2;
  -webkit-transition: all 200ms ease-in;
  -webkit-transform: scale(1.5);
  -ms-transition: all 200ms ease-in;
  -ms-transform: scale(1.5);
  -moz-transition: all 200ms ease-in;
  -moz-transform: scale(1.5);
  transition: all 200ms ease-in;
  transform: scale(1.5);
}
/* end of footer icons*/

/* Blog Card*/
.blog-card-box {
  border: 1px solid #ddd;
  padding: 20px;
  box-shadow: 0px 0px 10px 0px #c5c5c5;
  margin-bottom: 30px;
  float: left;
  border-radius: 10px;
}
.blog-card-box .card-thumbnail {
  max-height: 200px;
  overflow: hidden;
  border-radius: 10px;
  transition: 1s;
}
.blog-card-box h3 a {
  font-size: 20px;
  text-decoration: none;
}
/* end of blog card*/

/* File Upload progress bar*/
.progress-bar-container {
  margin-bottom: 10px; /* Add some space between progress bars */
}

.image-container img {
  height: 200px; /* Set a uniform height */
  width: 100%; /* Ensure it spans the column width */
  object-fit: cover; /* Maintain aspect ratio while cropping */
}

.photo-gallery {
  color: #313437;
  background-color: #fff;
}

.photo-gallery p {
  color: #7d8285;
}

.photo-gallery h2 {
  font-weight: bold;
  margin-bottom: 40px;
  padding-top: 40px;
  color: inherit;
}

.photo-gallery .intro {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 40px;
}

.photo-gallery .intro p {
  margin-bottom: 0;
}

.photo-gallery .photos {
  padding-bottom: 20px;
}

.photo-gallery .item {
  padding-bottom: 30px;
}

@media (max-width: 767px) {
  .photo-gallery h2 {
    margin-bottom: 25px;
    padding-top: 25px;
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .card-img-top-menu,
  .card-img-category,
  .card-img-search-results {
    width: 100% !important;
    height: 40vw !important;
    object-fit: cover !important;
  }
}

@media (min-width: 500px) {
  .column {
    flex: 0 0 calc(100% / 2 - 40px);
  }
}
@media (max-width: 768px) {
}

@media (min-width: 900px) {
  .column {
    flex: 0 0 calc(100% / 4 - 40px);
  }
}

@media screen and (max-width: 1024px) {
  * {
    font-family: 'Poppins', sans-serif;
  }
  .comment {
    font-family: 'Poppins', sans-serif;
  }
}

/* Profile Page*/
.user-profile-card {
  max-width: 100%;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.user-profile-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f8f9fa;
  color: #6c757d;
  text-decoration: none;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.user-social-icons a:hover {
  background-color: #007bff;
  color: #fff;
}

.underline {
  border-bottom: 2px solid #e4e4e4; /* 2px thick solid black border */
  padding-bottom: 10px; /* Adds space between text and border */
  display: inline-block; /* Ensures the border only covers the text width */
}

/* Container styling for relative positioning */
.profile-image-container {
  position: relative;
  display: inline-block;
}

/* Profile image styling */
.user-profile-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* Camera icon styling */
.camera-icon {
  position: absolute;
  bottom: 0px; /* 20px away from the bottom */
  left: 50%; /* Center horizontally */
  transform: translateX(
    -50%
  ); /* Shift it back by 50% of its width to center it */
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  width: 45px;
  height: 40px;
  font-size: 18px;
  color: #555;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s, color 0.3s;
}

/* Hover effect for the camera icon */
.camera-icon:hover {
  background: #007bff;
  color: #fff;
}

table {
  *border-collapse: collapse; /* IE7 and lower */
  border-spacing: 0;
  width: 100%;
}

.bordered {
  border: solid #ccc 1px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;
  -webkit-box-shadow: 0 1px 1px #ccc;
  -moz-box-shadow: 0 1px 1px #ccc;
  box-shadow: 0 1px 1px #ccc;
}

.bordered tr:hover {
  background: #fbf8e9;
  -o-transition: all 0.1s ease-in-out;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

.bordered td,
.bordered th {
  border-left: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.bordered th {
  background-color: #dce9f9;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#ebf3fc),
    to(#dce9f9)
  );
  background-image: -webkit-linear-gradient(top, #ebf3fc, #dce9f9);
  background-image: -moz-linear-gradient(top, #ebf3fc, #dce9f9);
  background-image: -ms-linear-gradient(top, #ebf3fc, #dce9f9);
  background-image: -o-linear-gradient(top, #ebf3fc, #dce9f9);
  background-image: linear-gradient(top, #ebf3fc, #dce9f9);
  -webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  -moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  border-top: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.bordered td:first-child,
.bordered th:first-child {
  border-left: none;
}

.bordered th:first-child {
  -moz-border-radius: 6px 0 0 0;
  -webkit-border-radius: 6px 0 0 0;
  border-radius: 6px 0 0 0;
}

.bordered th:last-child {
  -moz-border-radius: 0 6px 0 0;
  -webkit-border-radius: 0 6px 0 0;
  border-radius: 0 6px 0 0;
}

.bordered th:only-child {
  -moz-border-radius: 6px 6px 0 0;
  -webkit-border-radius: 6px 6px 0 0;
  border-radius: 6px 6px 0 0;
}

.bordered tr:last-child td:first-child {
  -moz-border-radius: 0 0 0 6px;
  -webkit-border-radius: 0 0 0 6px;
  border-radius: 0 0 0 6px;
}

.bordered tr:last-child td:last-child {
  -moz-border-radius: 0 0 6px 0;
  -webkit-border-radius: 0 0 6px 0;
  border-radius: 0 0 6px 0;
}

/* Popup */
.popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: visible; /* Ensure overlay is visible */
}

/* Initially hide the container off-screen */
.popup_container {
  position: relative;
  padding: 5px;
  border-radius: 0px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  transform: translateY(-100%); /* Starts off-screen above */
  opacity: 0; /* Invisible initially */
  transition: transform 0.5s ease, opacity 0.5s ease; /* Smooth transition */
}
  .popup_container a img{
    width: 100%; 
  }

/* When overlay is active */
.popup_overlay.active .popup_container {
  transform: translateY(0); /* Slides into place */
  opacity: 1; /* Fully visible */
}

.close_button {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgb(231, 0, 0);
  border: 3px solid #ffffff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.close_button:hover {
  color: white;
}

.hidden {
  display: none !important;
}

/* Media Queries for Responsiveness */
@media only screen and (max-width: 768px) {
  .popup_container {
    max-width: 90%; /* Increase max width for smaller screens */
    max-height: 90%; /* Increase max height */
    padding: 15px;
    font-size: 0.9rem; /* Adjust font size for smaller screens */
  }
  .popup_container a img{
    width: 100%; 
  }

  .close_button {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}

@media only screen and (max-width: 480px) {
  .popup_container {
    max-width: 95%; /* Full width on very small screens */
    max-height: 95%; /* Almost full height */
    padding: 10px;
    font-size: 0.8rem; /* Smaller font size */
  }
  .popup_container a img{
    width: 100%; 
  }

  .close_button {
    width: 30px;
    height: 30px;
    font-size: 16px;
  }
}

/* Rating Card Container */
.google-rating-card {
  max-width: 400px;
  margin: 40px auto;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1),
    inset 0 -2px 4px rgba(255, 255, 255, 0.5);
  border: 1px solid #e4e4e4;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

/* Header Section */
.google-rating-header h2 {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 10px;
}

.google-rating-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: #ff9f00; /* Gold color for the google-rating */
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.google-rating-value span {
  font-size: 3rem;
  margin-right: 5px;
}

/* Details Section */
.google-rating-details {
  font-size: 0.95rem;
  margin-top: 15px;
  color: #777;
}

.google-rating-details strong {
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .google-rating-card {
    padding: 15px;
  }

  .google-rating-header h2 {
    font-size: 1.3rem;
  }

  .google-rating-value span {
    font-size: 2.5rem;
  }

  .google-rating-value {
    font-size: 2rem;
  }

  .google-rating-details {
    font-size: 0.9rem;
  }
}
