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

main {
padding-top: 80px;
}
.lang-dropdown{
position:relative;
display:inline-block;
margin:0 10px;
}

.lang-menu{
display:none;
position:absolute;
top:45px;
right:0;
background:#fff;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,.15);
min-width:170px;
z-index:99999;
overflow:hidden;
pointer-events:auto;
}

.lang-menu div{
padding:12px 15px;
cursor:pointer;
font-weight:600;
color:#333;
pointer-events:auto;
}

.lang-menu div:hover{
background:#f3f3f3;
}
.lang-btn{
  position: relative;
  z-index: 99999;
  pointer-events: auto;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 20px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Active state: highlight button when Arabic is active */
.lang-btn[data-lang="ar"] {
  outline: 2px solid rgba(255, 255, 255, 0.5);
}

.goog-te-banner-frame.skiptranslate,
.goog-te-gadget img,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0px !important;
  position: static !important;
}

.goog-te-gadget {
  font-size: 0px !important;
  color: transparent !important;
}

:root {
--primary-bg: #d1d2d2;
--primary-text: #000000;
--primary-accent: #8B3DFF;
--secondary-accent: #C095FF;
--navbar: rgb(22, 136, 140);
--navbar2: rgb(93, 50, 7);
--marg-top: 50px;
--reviews: rgb(91, 94, 93);
--gray-text: rgb(77, 82, 81);
}

html {
-webkit-tap-highlight-color: transparent;
}

body {
margin: 0;
padding: 0;
background-color: var(--primary-bg);
/* color: var(--primary-text); */
font-family: 'Arial', sans-serif;
line-height: 1.6;
}

.break {
margin-top: 55px;
border: 1.5px solid #575454;
}

/* Navigation Styles */
.navbar {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 80px;
background: var(--navbar);
display: grid;
grid-template-columns: auto auto 1fr auto;
align-items: center;
padding: 0 16px;
gap: 10px;
z-index: 1000;
transition: all 0.3s ease;
}

.navbar::-webkit-scrollbar {
display: none;
}

.nav-links::-webkit-scrollbar {
display: none;
}

.navbar-brand {
display: flex;
align-items: center;
gap: 6px;
min-width: fit-content;
text-decoration: none;
}

.nb-divider {
width: 1px;
height: 36px;
background: rgba(255, 255, 255, 0.2);
flex-shrink: 0;
}

.navbar-brand img {
height: 60px;
width: 90px;
}

.nav-links {
display: grid;
grid-auto-flow: column;
justify-content: center;
gap: 15px;
overflow-x: auto;

}

.nav-item {
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
color: #e8d8b0;
font-size: 13px;
cursor: pointer;
padding: 6px 8px;
border-radius: 6px;
white-space: nowrap;
text-align: center;
transition: background 0.2s;
min-width: 60px;
border: none;
background: none;
text-decoration: none;
}

.nav-item:hover,
.location-btn:hover,
.icon-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}

.nav-item.active{
    border-bottom: 3px solid #fff;
}

.nav-item .icon {
font-size: 20px;
line-height: 1;
}

.nav-item .label {
font-size: 15px;
font-weight: 500;
line-height: 1.3;
}

.right-group {
display: flex;
align-items: center;
justify-content: flex-end;
}

.icon-btn,
.right-group {
background: none;
border: none;
color: #ebdebd;
cursor: pointer;
padding: 7px 17px;
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
width: auto;
height: 34px;
gap: 5px;
font-size: 13px;
flex-direction: row;
}

.fav-hover i {
    color: #ebdebd;
    transition: color 0.3s ease, transform 0.3s ease;
}
.fav-hover:hover i {
    color: #E53935 !important;
    transform: scale(1.15);
}

.home-btn {
    text-decoration: none;
    color: var(--gray-text);
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    font-weight: bold;
    margin: 30px 50px 0;
    margin-bottom: -10px;
    z-index: 10;
}

.home-btn:hover {
    color: #000000;
}

.custom-select {
position: relative;
cursor: pointer;
color: #ebdebd;
}

.custom-select .options {
display: none;
position: absolute;
top: 100%;
border: 2px solid rgb(16, 71, 103);
background: var(--navbar);
border-radius: 8px;
padding: 5px 0;
z-index: 999;
}

.custom-select .options div {
padding: 8px 10px;
color: #ebdebd;
}

.custom-select .options div:hover {
background: rgba(255, 255, 255, 0.1);
}

/* .custom-select:hover .options {
display: block;
} */
.custom-select .options.open {
display: block;
}

.a-heart {
color: #ebdebd;
}

.a-heart:hover {
color: red;
}

/* ///////////////////////// */
.hamburger-btn {
display: none;
flex-direction: column;
justify-content: center;
gap: 5px;
background: none;
border: none;
cursor: pointer;
padding: 7px;
border-radius: 6px;
margin-left: 10px;
}

.hamburger-btn:hover {
background: rgba(255, 255, 255, 0.1);
}

.hamburger-btn span {
display: block;
width: 22px;
height: 2.5px;
background: #e8d8b0;
border-radius: 3px;
}


.mobile-menu {
display: none;
position: fixed;
top: 80px;
left: 0;
width: 100%;
background: var(--navbar);
flex-direction: column;
z-index: 999;
padding: 12px 16px;
border-top: 1px solid rgba(255, 255, 255, 0.15);
grid-template-columns: 1fr 1fr;
gap: 0;
}

.mobile-menu.open {
display: grid;
}

.nav-item-mobile {
background: none;
border: none;
color: #e8d8b0;
font-size: 15px;
padding: 14px 20px;
text-align: left;
cursor: pointer;
display: flex;
align-items: center;
gap: 10px;
border-radius: 6px;
text-decoration: none;
}

.nav-item-mobile:hover {
background: rgba(255, 255, 255, 0.1);
color: #fff;
}

@media (max-width: 1100px) {
.navbar {
grid-template-columns: auto 1fr auto;
}

.nb-divider {
display: none;
}

.nav-links {
display: none;
}

.hamburger-btn {
display: flex;
}

.center-content h2 {
font-size: 2.5rem;
}

.center-content p {
font-size: 1.3rem;
}

.search,
.submit {
font-size: 16px;
padding: 12px 22px;
}

.footer-container {
grid-template-columns: 1fr;
gap: 30px;
}

.navbar {
grid-template-columns: auto auto;
}

.nav-links {
display: none;
}

.cards-grid {
grid-template-columns: 1fr;
}
}

.img-box {
top: 0;
right: 0;
bottom: 0;
left: 0;
position: relative;
width: 100%;
max-width: 100%;
height: 80vh;
display: flex;
justify-content: center;
align-items: center;
}

.img-box img {
width: 100%;
height: 100%;
display: block;
object-fit: contain;
max-width: 100%;
filter: blur(0.5px);
object-fit: fill;
}

/* Center content */
.center-content {
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
width: 90%;
max-width: 600px;
text-align: center;
}

.center-content h2 {
color: white;
font-size: 3rem;
font-weight: bold;
}

.center-content p {
color: #ccc;
font-size: 1.5rem;
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(75, 99, 101, 0.8);

}

/* Search box */
.form-search {
display: flex;
gap: 15px;
width: 850px;
height: 60px;
}

.form-search div {
flex: 1;
display: flex;
align-items: center;
background: white;
padding: 16px 15px;
border-radius: 50px;
box-shadow: 0 0 25px 8px rgba(0, 0, 0, 0.2);
}

.form-search .input-container {
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    padding: 16px 15px;
    border-radius: 50px;
    box-shadow: 0 0 25px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.search {
flex: 1;
border: none;
outline: none;
font-size: 18px;
margin-left: 10px;
}

.submit {
padding: 16px 35px;
border: none;
border-radius: 50px;
height: 62px;
background: var(--navbar);
color: white;
font-size: 18px;
cursor: pointer;
transition: 0.3s;
font-weight: bold;
}

.submit:hover {
background-color: #488ba3;
}

/* ///////////////////////////////////////////// */
/* Boxes */
.container1 {
margin-top: var(--marg-top);
text-align: center;
}

.cont-text p {
color: rgb(82, 77, 77);
font-size: 22px;
margin-bottom: 22px;
}

.cont-text h3 {
font-weight: bold;
font-size: 35px;
}

.cont-button span {
font-size: 38px;
}

.cont-button div {
font-size: 15px;
}

.cont-button {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 15px;
margin-top: 20px;
}

.contant .cont-button a {
background: #faecec;
color: black;
border: 2px solid rgb(22, 136, 140);
border-radius: 15px;
width: 180px;
height: 100px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
transition: 0.3s;
cursor: pointer;
text-decoration: none;
}

.container1 a:hover {
background: var(--navbar);
color: white;
box-shadow: 0 0 25px 6px #ccc;
}

/* Cards */
.cards {
margin-top: var(--marg-top);
/* display: flex;
flex-wrap: wrap;
align-items: stretch; */
display: block;
padding: 0 clamp(16px, 5vw, 40px);
margin-left: auto;
margin-right: auto;
}

.cards-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 55px;
margin-top: 20px;
align-items: stretch;
margin-left: auto;
margin-right: auto;
}

.featured {
width: 100%;
margin-left: auto;
}

.a1 {
text-decoration: none;
}

.cont1 {
border: 2px solid none;
background-color: #faecec;
border-radius: 30px;
padding: 25px 20px;
margin: 10px;
display: flex;
flex-direction: column;
justify-content: space-between;
border-top: 8px solid var(--navbar);
transition: transform 0.3s ease, box-shadow 0.3s ease;
width: 100%;
max-width: 100%;
height: 100%;
margin: 0;
flex: unset;
}

.cont1:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);

}

.cont1:hover .h3 {
color: var(--navbar);
transition: color 0.3s ease;
}

.cont1 hr {
margin-top: auto;
margin-bottom: 10px;
}

.cont1 .h3,
.cont1 .h4 {
color: #000000;
font-weight: bold;
transition: color 0.3s ease;
}

.cont1 .h3:hover,
.cont1 .h4:hover {
color: var(--navbar);
transition: color 0.3s ease;
}

.cont1 .span {
display: flex;
flex-wrap: nowrap;
gap: 6px;
}

.cont1 .span .text {
white-space: nowrap;
flex-shrink: 0;
}

.characteristics {
display: flex;
flex-wrap: nowrap;
gap: 6px;
overflow: hidden;
}

.characteristics .ch {
border: 2px solid none;
background-color: #c2bfbf;
border-radius: 50px;
padding: 7px;
font-size: 14px;
white-space: nowrap;
flex-shrink: 0;
}

.review {
display: flex;
flex-wrap: nowrap;
gap: 6px;
overflow: hidden;
}

.social .tel {
text-decoration: none;
color: #000000;
border: 2px solid none;
background-color: var(--navbar);
border-radius: 50px;
font-weight: bold;
font-size: 18px;
padding: 10px 0;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
white-space: nowrap;
}

/* Sections */
.section1 {
display: block;
padding: 0 clamp(16px, 5vw, 40px);
margin-top: 100px;
margin-left: auto;
margin-right: auto;
}

.view {
background-color: var(--primary-bg);
border: none;
color: #1d395e;
font-size: 18px;
}

.view:hover {
color: var(--navbar);
}
/* //////////////////////////////////////////////////// */

.new{
    margin-top: var(--marg-top);
    margin-left: 30px;
}

/* Footer */
.footer {
background-color: var(--navbar);
margin-top: 150px;
padding: 40px 30px 30px;
}

.footer-container {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 40px;
max-width: 1200px;
margin: 0 auto;
}

.footer-logo {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 16px;
}

.footer-desc {
color: rgba(255, 255, 255, 0.75);
font-size: 16px;
line-height: 1.7;
}

.footer-title {
color: #ffffff;
font-size: 25px;
font-weight: bold;
margin-bottom: 16px;
}

.footer-list {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 10px;
}

.footer-list li span {
color: rgba(255, 255, 255, 0.75);
font-size: 15px;
cursor: pointer;
transition: color 0.2s;
}

.footer-list li span:hover {
color: #fff;
}

.footer-contact {
display: flex;
flex-direction: column;
gap: 3px;
font-size: 15px;
color: rgba(255, 255, 255, 0.85);
margin-bottom: 20px;
}

.footer-divider {
border: none;
border-top: 2px solid rgba(255, 255, 255, 0.6);
margin: 30px auto;
max-width: 1200px;
}

.footer-bottom {
text-align: center;
font-size: 14px;
color: rgba(255, 255, 255, 0.6);
padding-bottom: 10px;
}


#features {
scroll-margin-top: 90px;
}

@media (max-width: 992px) {
.cards-grid {
grid-template-columns: repeat(2, 1fr);
gap: 14px;
}

.form-search {
width: 100%;
}
}


.search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    padding: 0;
}

.search-result-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    align-items: flex-start !important;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f5f5f5 !important;
}

.search-result-title {
    font-weight: bold;
    color: var(--navbar);
    font-size: 16px;
}

.search-result-category {
    font-size: 13px;
    color: gray;
    margin-top: 4px;
}

.search-results-dropdown::-webkit-scrollbar {
    width: 8px;
}
.search-results-dropdown::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

@media (max-width: 800px) {
.cards-grid {
grid-template-columns: 1fr;
gap: 10px;
}
}

/* //////////////////////////////////////// */
#google_translate_container {
    display: none;
}

body.dark-mode {
    --primary-bg: #1a1a1a;
    --navbar-card-bg: #2c2c2c;
    --primary-text: #ffffff;
    --secondary-text: #b0b0b0;
    
    background-color: var(--primary-bg);
    color: var(--primary-text);
}

body.dark-mode h2, 
body.dark-mode h3, 
body.dark-mode p, 
body.dark-mode span, 
body.dark-mode .nav-menu a, 
body.dark-mode .right-group .lang-btn, 
body.dark-mode .cont-button a {
    color: var(--primary-text) !important;
}

body.dark-mode .joined-date {
    color: var(--secondary-text) !important;
}

body.dark-mode .cont1, 
body.dark-mode .contant .cont-button a,
body.dark-mode .search-results-dropdown {
    background-color: var(--navbar-card-bg) !important;
    border-color: #333 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

body.dark-mode .form-search div {
    background-color: #333;
    border-color: #444;
}

body.dark-mode .search {
    color: var(--primary-text);
}

body.dark-mode .search::placeholder {
    color: #888;
}

body.dark-mode .tabs a.active {
    color: var(--primary-text) !important;
    border-bottom-color: var(--secondary-text);
}

body.dark-mode .bottom-nav {
    background-color: var(--navbar-card-bg);
    border-top-color: #333;
}

body.dark-mode .bottom-nav a {
    color: var(--secondary-text);
}

body.dark-mode .bottom-nav a.active {
    color: var(--primary-text);
}

body.dark-mode .form-search div,
body.dark-mode .form-search .input-container {
    background-color: #333 !important;
    border-color: #444 !important;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .search {
    background-color: #333 !important;
    color: #ffffff !important;
}

body.dark-mode .search::placeholder {
    color: #aaaaaa !important;
}

body.dark-mode .cont1 .span .text {
    background-color: #333 !important;
    border-color: cadetblue !important;
    color: #ffffff !important;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

body.dark-mode .location span {
    color: #ffffff !important;
}

body.dark-mode .home-btn {
    color: #ffffff !important;
    transition: color 0.3s ease;
}

body.dark-mode .home-btn:hover {
    color: #cccccc !important; 
}

.cont1:hover .h3 {
    color: var(--navbar);
}

body.dark-mode .cont1:hover .h3 {
    color: var(--navbar) !important;
}

body.dark-mode .cont-button a:hover {
    background-color: white !important; 
    color: black !important;
    border-radius: 10px;
    transition: all 0.3s ease;
}

body.dark-mode .cont-button a:hover span,
body.dark-mode .cont-button a:hover div {
    color: black !important;
}
/* ///////////////////////////////////////////////////// */
.floating-tips-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: var(--navbar);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.floating-tips-btn:hover {
    transform: scale(1.1);
    background-color: #1da8ad;
    color: white;
}

.lamp-icon {
    font-size: 24px;
    line-height: 1;
}

.lamp-text {
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 2px;
}

@media (max-width: 500px) {
    .floating-tips-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

body.dark-mode .toast {
    background-color: var(--navbar);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}