/* style.css */

html.i18n-loading body{ visibility:hidden; }
html.i18n-ready body{ visibility:visible; }

:root{
  --primary:#0b67b2;
  --sky:#3db7e4;
  --footer:#1c61ad;
  --text:#222;
  --muted:#888;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Cairo", sans-serif;
}

.lang-chip{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:999px;
  border:1px solid rgba(11,103,178,.18);
  background:#fff;
  color:var(--primary);
  font-weight:700;
  cursor:pointer;
  line-height:1;
}

.lang-chip:hover{
  background:rgba(11,103,178,.06);
}

.lang-globe{
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
}

body.rtl .lang-chip{
  flex-direction:row-reverse;
}


body{
  background:#fff;
  color:var(--text);
}

body.rtl{ direction: rtl; }
body.ltr{ direction: ltr; }

.top-bar{
  max-width:1100px;
  margin:0 auto;
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-direction: row-reverse;
}

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:34px;
  font-weight:700;
  color:var(--primary);
}

.logo img{
  width:210px;
  height:210px;
  object-fit:contain;
  display:block;
  background:transparent;
  border:0;
  box-shadow:none;
}

.phone{
  font-size:22px;
  font-weight:700;
  color:var(--primary);
  white-space:nowrap;
  text-align:left;
}

/* ====== Responsive ====== */
@media (max-width: 768px){
  .top-bar{
    flex-direction:column;
    align-items:center;
    text-align:center;
    gap:6px;
  }

  .phone{
    font-size:18px;
    white-space:normal;
    text-align:center;
  }

  .logo{
    font-size:28px;
  }

  .logo img{
    width:120px;
    height:120px;
  }
}

/* ====== Navbar ====== */
.navbar{
  max-width:1100px;
  margin:0 auto;
  background:var(--sky);
  border-radius:35px;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}

.nav-links{
  display:flex;
  gap:20px;
  font-size:17px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
}

.nav-links a{
  color:#fff;
  text-decoration:none;
  opacity:.9;
}

.nav-links a.active{
  background:#fff;
  color:var(--primary);
  padding:6px 16px;
  border-radius:20px;
  font-weight:600;
  opacity:1;
}

.lang-btn{
  background:#fff;
  color:var(--primary);
  border:0;
  padding:6px 14px;
  border-radius:18px;
  font-weight:800;
  cursor:pointer;
  opacity:.95;
  margin-inline-start:auto;
}
.lang-btn:hover{ opacity:1; }

/* ====== Hero ====== */
.hero{
  min-height:120vh;              
  position:relative;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  margin-top:10px;
  background-repeat:no-repeat;
  background-size:cover;         
  background-position:center;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.35);
}

.hero-content{
  position:relative;
  z-index:1;
  padding:24px 16px;
}

.hero h1{
  font-size:48px;
  margin-bottom:10px;
  font-weight:700;
}

.hero p{
  font-size:20px;
  margin-bottom:25px;
}

.hero button{
  background:var(--primary);
  border:none;
  padding:12px 30px;
  color:#fff;
  border-radius:25px;
  font-size:16px;
  cursor:pointer;
}

.hero--home{
  background-image:url("travilBG.jpg");
  background-position:center bottom;
  
}

.hero--services{
  background-image:url("servicesBG.jpg");
  background-position:center;
}

.page-header{
  background:#f3f3f3;
  padding:50px 18px;
  max-width:1100px;
  margin:20px auto 0;
  border-radius:14px;
}

.page-header h1{
  color:var(--primary);
  margin-top:10px;
  font-size:32px;
}

.breadcrumb{
  font-size:14px;
  color:var(--muted);
}

.breadcrumb a{
  color:var(--primary);
  text-decoration:none;
}

/* ====== About ====== */
.about-section{
  padding:80px 18px;
  display:flex;
  justify-content:center;
}

.about-card{
  background:#fff;
  max-width:760px;
  width:100%;
  padding:70px 60px;
  border-radius:0px;
  text-align:center;
  box-shadow:0 10px 40px rgba(0,0,0,.05);
}

.about-tag{
  color:#8bbce8;
  font-size:14px;
}

.about-card h2{
  font-size:34px;
  color:var(--primary);
  margin:10px 0 35px;
  position:relative;
}

.about-card h2::after{
  content:"";
  width:60px;
  height:5px;
  background:var(--sky);
  display:block;
  margin:15px auto 0;
  border-radius:10px;
}

.about-card h4{
  margin-bottom:30px;
}

.about-card p{
  line-height:2;
  margin-bottom:22px;
  color:#555;
}

/* ====== Contact ====== */
.contact-section{
  padding:80px 18px;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.contact-info{
  display:flex;
  padding:40px 18px;
  gap:80px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
}

.contact-info div{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.contact-info .icon{
  width:65px;
  height:65px;
  background:var(--primary);
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:15px;
  font-size:28px;
}

.contact-info p{
  font-size:22px;
  color:var(--primary);
  font-weight:600;
}

/* ====== Services ====== */
.services{
  padding:60px 18px;
  text-align:center;
  background:#ffffff;
  max-width:1100px;
  margin:0 auto;
}

.services h2{
  font-size:36px;
  margin-bottom:30px;
  color:var(--primary);
}

.services-grid{
  text-align:center;
}

.service-card{
  display:inline-block;
  width:30%;
  min-width:280px;
  background:#fff;
  padding:20px;
  margin:15px;
  border-radius:0px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  text-align:center;
  transition:transform 0.3s ease;
  vertical-align:top;
}

.service-card:hover{
  transform:translateY(-5px);
}

.service-card h3{
  font-size:20px;
  color:var(--primary);
  margin-bottom:15px;
}

.service-card p{
  color:#555;
  font-size:16px;
}

/* ====== Footer ====== */
.footer{
  background:var(--footer);
  color:#fff;
  position:relative;
  overflow:hidden;
  margin-top:0;
}

.footer-content{
  position:relative;
  z-index:2;

  max-width:1100px;
  margin:0 auto;

  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:40px;
  padding:90px 60px 60px;
}

.footer-col h3{
  margin-bottom:15px;
  font-size:18px;
}

.footer-col p{
  line-height:1.9;
}

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

.footer-col ul li{
  margin-bottom:10px;
  opacity:.95;
}

.footer-col a{
  color:inherit;
  text-decoration:none;
}

.footer-col li{
  color:#fff;
}

/* ====== Responsive ====== */
@media (max-width: 768px){
  .top-bar{
    flex-direction:column; 
    align-items:center;
    text-align:center;
    gap:6px;
  }

  .phone{
    font-size:18px;
    white-space:normal;
    text-align:center !important;
  }

  .logo{
    font-size:28px;
  }

  .logo img{
    width:120px;
    height:120px;
  }

  .navbar{
    margin:0 12px;
    border-radius:18px;
    padding:12px 14px;
  }

  .nav-links{
    gap:10px;
    font-size:15px;
  }

  .hero{
    min-height:64vh; 
  }

  .hero h1{
    font-size:32px;
  }

  .page-header{
    margin:14px 12px 0;
    padding:32px 14px;
  }

  .about-card{
    padding:40px 20px;
  }

  .services{
    padding:40px 12px;
  }

  .service-card{
    width:100%;
    min-width:unset;
    margin:12px 0;
  }

  .footer-content{
    grid-template-columns:1fr;
    gap:22px;
    padding:50px 20px 40px;
  }

  .contact-info{
    gap:30px;
  }
}
