/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
:root {
  --font-1: "Beiruti", sans-serif;
  --font-2: "Almarai", sans-serif;

  --fs-1: 12px;
  --fs-2: 14px;
  --fs-3: 16px;
  --fs-4: 18px;
  --fs-5: 20px;
  --fs-6: 22px;
  --fs-7: 24px;
  --fs-8: 28px;
  --fs-9: 30px;
  --fs-10: 32px;

  /* ===== Brand ===== */
  --gold: #c9a24d;
  --gold-hover: #b8933e;

  /* ===== Light Mode ===== */
  --bg-main: #ffffff;

  --bg-main-1: rgb(250, 250, 250);
  --bg-main-2: #e6e6e8;
  --bg-main-3: #f1f4ff;
  --bg-card: #f9fafb;
  --bg-muted: #f3f4f6;
  --color-1: rgb(15, 15, 15);
  --color-grad-1: radial-gradient(
    circle,
    rgba(201, 162, 77, 0.67) 8%,
    rgba(201, 162, 77, 0.48) 40%
  );
  --text-main: #1f2937;
  --text-muted: #4b5563;

  --primary: #1c3d5a;
  --secondary: #2f7d6d;

  --border-color: #e5e7eb;
}

[data-theme="dark"] {
  /* ===== Dark Mode ===== */
  --color-1: rgb(156 163 175 / 1);
  --bg-main: #0d0d0d;
  --bg-main-1: rgb(31, 31, 31);
  --bg-main-2: #262628;
  --bg-main-3: #0d0d0d;
  --bg-card: #111827;
  --bg-muted: #1f2937;
  --color-grad-1: radial-gradient(
    circle,
    rgba(201, 162, 77, 0.14) 8%,
    rgba(201, 162, 77, 0.05) 40%
  );
  --text-main: #f9fafb;
  --text-muted: #cbd5e1;

  --primary: #7fb3d5;
  --secondary: #6ee7b7;

  --border-color: #334155;
}
html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}
html:lang(en) {
  --font-1: "Inter", sans-serif;
  --font-2: "Montserrat", sans-serif;
}
body {
  background: var(--bg-main);
  color: var(--text-main);
  margin: 0;
  line-height: inherit;
}

*,
::before,
::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  text-decoration: underline dotted;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--gold);
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button,
select {
  background: var(--gold);
  color: #fff;
  text-transform: none;
}

button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
  -webkit-appearance: button;
  appearance: button;
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

dialog {
  padding: 0;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}

button,
[role="button"] {
  cursor: pointer;
}

:disabled {
  cursor: default;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
}

img,
video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}

#containermenu_dark {
  display: flex;
  gap: 20px;
  align-items: center;
}
li.current_page_item a {
  color: #c9a24d;
  font-weight: 600;
}
#igo5n li {
  list-style: none;
  font-family: var(--font-2);
}
#igo5n li a {
  font-size: var(--fs-3);
  font-weight: 600;
}
#igo5n li a:hover {
  color: var(--gold-hover);
}
#igo5n .lang-item {
  padding: 5px 10px;
  background: #ddd;
  border-radius: 29px;
}
#igo5n .lang-item a {
  font-weight: 500 !important;
  color: #212121 !important;
}
#themeToggle {
  border: none;
  cursor: pointer;
  color: var(--gold);
  padding: 6px;
  display: flex;
  align-items: center;
}
#themeToggle:hover,
#themeToggle:focus {
  background: #fff0;
}
#themeToggle svg {
  background: #ddd;
  border-radius: 20px;
  width: 35px;
  height: 35px;
  padding: 5px;
}
.header-navbar {
  direction: rtl;
  font-family: var(--font-2);
  /* border-bottom-width: 1px;
  border-color: rgb(31 41 55 / 0.8); */
  position: sticky;
  top: 0px;
  z-index: 40;
  backdrop-filter: blur(4px);
  background-color: var(--bg-main-1);
}

.navbar-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration-line: none;
}
.brand-link img {
  width: 120px;
}

.brand-logo-circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgb(245 158 11 / 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0px #fff, 0 0 0 calc(1px + 0px) rgb(59 130 246 / 0.5),
    0 0 #0000;
}

.brand-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.025em;
}

.brand-tagline {
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(156 163 175 / 1);
}

.navbar-links:lang(ar) {
  direction: rtl;
}
.navbar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  direction: initial;
}

.navbar-link {
  color: rgb(229 231 235 / 1);
  text-underline-offset: 4px;
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.navbar-link:hover {
  color: rgb(255 255 255 / 1);
  text-decoration-line: underline;
}
/* Mobile Sidebar Styles */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--bg-main-1);
  backdrop-filter: blur(10px);
  border-left: 1px solid rgb(31 41 55 / 0.8);
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
  direction: rtl;
}

.mobile-sidebar.active {
  right: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  /* border-bottom: 1px solid rgb(31 41 55 / 0.8); */
}

.sidebar-brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.sidebar-logo-circle {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.sidebar-brand-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: white;
}

.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.sidebar-brand-name {
  font-weight: 600;
  color: white;
  font-size: 1.1rem;
}

.sidebar-brand-tagline {
  font-size: 0.8rem;
  color: rgb(156 163 175 / 1);
}

.sidebar-close-btn {
  background: none;
  border: none;
  color: rgb(156 163 175 / 1);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.sidebar-close-btn:hover {
  background-color: rgb(31 41 55 / 0.5);
  color: white;
}

.sidebar-nav {
  padding: 1rem 0;
}

.sidebar-menu:lang(en) {
  direction: ltr;
}
.sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin: 0;
}

.sidebar-menu a {
  display: block;
  padding: 0.6rem 1.5rem;
  color: var(--color-1);
  text-decoration: none;
  font-family: var(--font-2);
  font-size: 1rem;
  transition: all 0.2s ease;
  border-right: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a:focus {
  background-color: rgb(31 41 55 / 0.5);
  color: white;
  border-right-color: var(--gold);
}

#nav_mobile {
  z-index: 50000;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 24px;
  max-width: 500px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

#nav_mobile .nav-box {
  display: flex;
  padding: 5px;
  font-family: var(--font-2);
  background-color: var(--text-muted);
  box-shadow: 0px 0px 16px 0px #4444;
  border-radius: 50px;
}
#nav_mobile .nav-container {
  display: flex;
  width: 100%;
  list-style: none;
  justify-content: space-around;
}
#nav_mobile .nav__item {
  display: flex;
  position: relative;
  padding: 2px;
}
#nav_mobile .nav__item.active .nav__item-icon svg {
  width: 25px;
  height: 25px;
  fill: var(--gold);
}
#nav_mobile .nav__item.active .nav__item-icon {
  margin-top: -26px;
  box-shadow: 0px 0px 16px 0px #4444;
}
#nav_mobile .nav__item.active .nav__item-text {
  transform: scale(1);
}
#nav_mobile .nav__item-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #2f3046;
  text-decoration: none;
}
#nav_mobile .nav__item-icon svg {
  width: 25px;
  height: 25px;
  fill: var(--gold);
}
#nav_mobile .nav__item-icon svg #Page-1 {
  fill: var(--gold);
}
#nav_mobile .nav__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  /* font-size: 1.6em; */
  /* background-color: #fff; */
  border-radius: 50%;
  /* height: 46px;
  width: 46px; */
  transition: margin-top 250ms ease-in-out, box-shadow 250ms ease-in-out;
}
#nav_mobile .nav__item-text {
  font-size: var(--fs-1);
  padding-top: 1px;
  color: var(--border-color);
  /* position: absolute;
  bottom: 0;
  transform: scale(0);
  transition: transform 250ms ease-in-out; */
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 1rem;
}
.mobile-menu-toggle:lang(en) {
  margin-left: 0rem;
}
.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: rgb(209 213 219 / 1);
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.footer {
  background: var(--bg-main-1);
}

.footer-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  border: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-brand img {
  width: 120px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgb(245 158 11 / 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0px #fff, 0 0 0 calc(1px + 0px) rgb(59 130 246 / 0.5),
    0 0 #0000;
}

.footer-brand-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-brand-name {
  font-weight: 600;
  color: var(--text-main);
}

.footer-brand-text {
  color: var(--text-muted);
  font-size: var(--fs-3);
  line-height: 1.75rem;
  font-family: var(--font-2);
}

.footer-links-title {
  color: var(--text-main);
  font-weight: 600;
  font-family: var(--font-2);
  margin-bottom: 0.75rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.footer-phone-link,
.footer-email-link {
  color: var(--color-1);
  font-size: var(--fs-3);
}
.footer-email-icon,
.footer-phone-icon {
  color: var(--color-1);
}
.footer-link {
  color: var(--color-1);
}

.footer-link:hover {
  color: rgb(251 191 36 / 1);
}

.footer-visit-title {
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: var(--font-2);
}

.footer-address {
  color: var(--color-1);
  font-size: var(--fs-2);
  line-height: 1.75rem;
  font-family: var(--font-2);
}

.footer-hours {
  color: var(--color-1);
  font-size: var(--fs-2);
  line-height: 1.75rem;
  margin-top: 0.25rem;
  font-family: var(--font-2);
}
.footer-legal-link {
  display: flex;
  gap: 20px;
}
.footer-contact-title {
  color: var(--text-main);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: var(--font-2);
}
ul.footer-links-list li a {
  font-family: var(--font-2);
  color: var(--color-1);
}
.footer-phone {
  font-family: var(--font-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-3);
  line-height: 1.25rem;
  color: rgb(209 213 219 / 1);
}

.footer-phone-icon {
  width: 2rem;
  height: 1.5rem;
  fill: var(--gold);
}

.footer-phone-link:hover {
  color: rgb(251 191 36 / 1);
}

.footer-email {
  font-family: var(--font-2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(209 213 219 / 1);
  margin-top: 0.5rem;
}

.footer-email-icon {
  width: 2rem;
  height: 1.5rem;
  fill: #fff0;
  stroke: var(--gold);
}

.footer-email-link:hover {
  color: rgb(251 191 36 / 1);
}

.footer-social {
  font-family: var(--font-2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.footer-social-link {
  padding: 0.5rem;
  border-radius: 10px;
  border-width: 1px;
  border-color: var(--gold);
}

.footer-social-link:hover {
  border-color: rgb(245 158 11 / 0.6);
}

.footer-social-icon {
  width: 22px;
  height: 22px;
  fill: var(--gold-hover);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top-width: 1px;
  border-color: rgb(31 41 55 / 0.8);
  font-size: var(--fs-2);
  line-height: 1rem;
  color: rgb(107 114 128 / 1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-2);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-legal-link:hover {
  color: rgb(251 191 36 / 1);
}

.footer-divider {
  color: rgb(55 65 81 / 1);
}

@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .navbar-container {
    flex-direction: row-reverse;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-background {
  /* background-image: linear-gradient(to right, #fce7f3, rgb(252 231 243 / 0)); */
  background: #c9a24d;
  background: var(--color-grad-1);
}

.hero-container {
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 3.5rem;
  padding-bottom: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
.hero-container:lang(en) {
  direction: ltr;
}

.hero-left {
  flex: 1 1 0%;
}

.breadcrumb {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  padding: 6px 10px;
  border-radius: 20px;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-2);
}

.breadcrumb-link {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.breadcrumb-icon:lang(ar) {
  rotate: 180deg;
}
.breadcrumb-icon {
  width: 1rem;
  height: 1rem;
  stroke: var(--color-1);
}

.breadcrumb-current {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--gold);
}

.hero-title {
  font-family: var(--font-2);
  font-size: 3rem;
  line-height: 1;
  font-weight: 800;
  color: var(--gold) !important;
  margin-bottom: 1rem;
}

.hero-accent-bar {
  width: 10rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-image: linear-gradient(to right, #c9a24d, rgba(255, 74, 145, 0));
}

.hero-right-image {
  flex: 1 1 0%;
  display: flex;
  justify-content: flex-end;
}

.hero-doctors-image {
  width: 382px;
  height: 350px;
  object-fit: contain;
  margin-bottom: -80px;
}

#iwc3u svg:lang(en) {
  width: 100%;
}
#iwc3u svg {
  fill: var(--gold);
  height: 100%;
  width: 108%;
}
#iwc3u svg > path:nth-child(2) {
  fill: var(--bg-main);
}

.hero-decorations {
  pointer-events: none;
}

.dental-icon-left {
  position: absolute;
  left: 1.5rem;
  top: 2.5rem;
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.dental-icon-right {
  position: absolute;
  right: 2rem;
  top: 4rem;
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.curved-separator-wrapper {
  position: absolute;
  bottom: -28px;
  left: 0px;
  width: 100%;
  height: 150px;
}

.curved-separator-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.curved-separator {
  width: 100%;
  height: 4rem;
  background-image: linear-gradient(to right, #ff4a91, rgb(255 74 145 / 0));
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgb(0 0 0 / 0.1),
    0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Responsive styles for hero section */
@media (max-width: 768px) {
  .brand-link img {
    width: 100px;
  }
  .footer {
    padding-bottom: 80px;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 30px;
    text-align: center;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-doctors-image {
    width: 280px;
    height: 250px;
    margin-bottom: -40px;
  }
  #ilujot {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .brand-link img {
    width: 90px;
  }
  #ilujot {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
  .hero-title {
    line-height: 1.4;
    font-size: var(--fs-8);
  }

  .curved-separator-wrapper {
    bottom: -60px;
  }

  .hero-container {
    padding-bottom: 3rem;
  }

  .hero-left {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
  }

  .hero-accent-bar {
    display: none;
  }

  .hero-doctors-image {
    display: none;
  }

  .hero-container {
    flex-direction: column;
  }
}
