/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: #fff;
  color: #253B74;
  text-align: center;
  line-height: 1.5;
}

/* Header – simple glass */
.header {
  padding: 18px 0 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  /* Blue gradient */
  background: linear-gradient(
    135deg,
    rgba(37, 59, 116, 0.95),
    rgba(37, 59, 116, 0.75)
  );

  /* Glass effect */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  /* Soft separation */
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);

  border-radius: 0 0 16px 16px;
  color: #fff;
}

/* Logo */

.header .logo {
  width: 140px;
  height: 58px;
  margin: 10px;
}

/* Brand name */
.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}


/* Hero Slider */
.hero-slider {
  margin: 16px 0;
  overflow: hidden;
  position: relative;
  max-width: 500px;
  max-height: 200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
}
.hero-slider .slides {
  display: flex;
  transition: transform 0.5s ease;
  width: 200%; /* لأن لدينا صورتين */
}
.hero-slider .slides img {
  width: 50%;

  flex-shrink: 0;
  object-fit:fill;
}


/* Links Section */
.links-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 24px 16px;
}
.link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background-color: #91BE3F;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, background-color 0.2s;
}
.link-btn:hover {
  background-color: #7aa631;
  transform: translateY(-2px);
}
.link-btn img {
  width: 24px;
  height: 24px;
}
/* iOS-like glass button */
.linkBtn{
  position: relative;
  display:flex;
  align-items:center;
  gap:14px;
  width:100%;
  padding:16px 16px;
  border-radius:22px;

  /* Glass + blur */
  background:
    linear-gradient(180deg,
      rgba(255,255,255,0.18),
      rgba(255, 255, 255, 0.08)
    );
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);

  /* iOS border */
  border: 1px solid rgba(255,255,255,0.18);

  /* Soft iOS shadow (two layers) */
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.30),
    0 0 0 rgba(255,255,255,0.10) inset;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));

  text-decoration:none;
  color: var(--text);

  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
  will-change: transform;
  overflow:hidden; /* for shine layer */
}

/* Shine layer */
.linkBtn::before{
  content:"";
  position:absolute;
  inset:-40% -30%;
  background: radial-gradient(circle at 30% 20%,
    rgba(255,255,255,0.35),
    rgba(255, 255, 255, 0.137) 15%,
    rgba(0, 2, 66, 0) 10%
  );
  transform: rotate(8deg);
  opacity: .6;
  pointer-events:none;
}

/* Subtle BCOS gradient tint */
.linkBtn::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg,
      rgba(37,59,116,0.20),
      rgba(145,190,63,0.14)
    );
  opacity: .6;
  pointer-events:none;
}

/* Hover (desktop) */
.linkBtn:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.26);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.55),
    0 2px 0 rgba(255,255,255,0.10) inset;
}

/* iOS press (tap) */
.linkBtn:active{
  transform: translateY(0) scale(0.985);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.42),
    0 2px 0 rgba(255,255,255,0.08) inset;
}

/* Keyboard focus */
.linkBtn:focus-visible{
  outline: 2px solid rgba(145,190,63,0.55);
  outline-offset: 4px;
}

.chev{
  opacity: .85;
  font-size: 18px;
  transform: translateX(-2px);
}


/* Pages Button */
.pages-btn {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background-color: #253B74;
  color: #fff;
  border: none;
  padding: 12px 16px;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}
.pages-btn:hover {
  transform: scale(1.1);
}

/* Responsive Desktop */
@media(min-width: 768px){
  body {
    max-width: 500px;
    margin: 0 auto;
  }
}
