:root {
    --primary-blue: #1769aa;
    --secondary-blue: #0d3556;
    --accent-green: #2ecc40;
    --white: #fff;
    --black: #111;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--white);
    color: var(--black);
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.top-strip {
  display: none !important;
  border: 0 !important;
  height: 0 !important;
}

.logo-text {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.top-bar {
  background: #fff;   /* خلفية بيضاء */
  border: none;       /* يلغي أي حدود */
  border-bottom: 3px solid #fff; /* رمادي فاتح */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);  /* ظل فقط بدون خط */
  width: 100%;
  position: relative;
  z-index: 10;
}  

.container.top-bar-content {
  max-width: 1400px;   /* وسعناه شوية */
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  height:100px;       /* أعلى عشان يناسب اللوجو الكبير */
  justify-content: space-between;
}

.logo {
  height: 100px;       /* كبرنا اللوجو */
  width: auto;
  display: block;
}

.login-btn {
  background: var(--primary-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(23,105,170,0.08);
}
.login-btn:hover, .login-btn:focus {
  background: var(--accent-green);
  color: #fff;
  outline: none;
}

.hero {
    flex: 1;
    position: relative;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(120deg, var(--primary-blue) 60%, var(--accent-green) 100%);
    color: var(--white);
    padding: 48px 16px 32px 16px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    margin: 0 0 12px 0;
    font-size: clamp(2.2rem, 6vw, 3.5rem);
    font-weight: bold;
    letter-spacing: 1px;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.welcome-text {
    margin: 0 0 28px 0;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 500;
    color: var(--accent-green);
    letter-spacing: 1px;
}

.btn-group {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.btn {
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    background: var(--accent-green);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(23,105,170,0.08);
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover,
.btn:focus {
    background: var(--secondary-blue);
    color: var(--white);
    outline: none;
    transform: translateY(-2px) scale(1.03);
    text-decoration: none;
}

.hero-carousel {
  width: 100vw;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.carousel {
  position: relative;
  width: 100vw;
  min-height: 420px;
  height: 60vw;
  max-height: 600px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.carousel-slides {
  width: 100vw;
  height: 100%;
  position: relative;
}
.carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100vw;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s;
  z-index: 1;
}
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* 0.25 خفيف / 0.45 متوسط / 0.6 قوي */
  z-index: 2;
}
.carousel-title,
.carousel-subtitle,
.carousel-btn-group {
  position: relative;
  z-index: 5;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 2;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(23,105,170,0.7);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s;
}
.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }
.carousel-btn:hover, .carousel-btn:focus {
  background: var(--secondary-blue);
  color: #fff;
  outline: none;
}
.carousel-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
}
.carousel-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.5;
  border: 2px solid var(--primary-blue);
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.carousel-dot.active {
  background: #fff; 
  opacity: 1;
  border-color: var(--primary-blue);
}
.carousel-dots {
  display: none !important;
}
.carousel-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* بدل center */
  padding-top: 80px;           /* عدّل الرقم حسب ما تريد */
  z-index: 9;
  text-align: center;
  pointer-events: none;
}
.carousel-title {
  margin: -30px 0 0 0;  /* يرفع النص للأعلى */
  color: #fff;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.5rem);
  text-shadow: 0 4px 16px rgba(0,0,0,0.85);
  line-height: 1.1;
  text-align: center;
}


.carousel-title .carousel-subtitle-line {
  display: block; /* ينزل للسطر الثاني */
  font-size: clamp(1.4rem, 4vw, 2rem); /* حجم أصغر */
  font-weight: 500;
  color: var(--accent-green); /* أو #fff إذا تحب */
  margin-top: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.carousel-btn-group {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
  pointer-events: auto;
}
.carousel-main-btn {
  padding: 14px 32px;
  border: none;
  border-radius: 10px;                 /* زوايا ناعمة */
  background: var(--primary-blue);     /* الأزرق الأساسي */
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* ظل أنعم */
  transition: all 0.3s ease;           /* حركة أكثر نعومة */
  text-decoration: none;
  display: inline-block;
}

.carousel-main-btn:hover,
.carousel-main-btn:focus {
  background: var(--secondary-blue);   /* أزرق غامق */
  transform: translateY(-3px) scale(1.05); /* حركة صعود + تكبير */
}

.gallery-section {
    background: var(--white);
    padding: 36px 0 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.slider {
    position: relative;
    width: 100vw;
    max-width: 900px;
    aspect-ratio: 16/7;
    margin: 0 auto 18px auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(23, 105, 170, 0.10);
    background: var(--white);
    border: 2px solid var(--primary-blue);
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    background: var(--white);
    position: absolute;
    left: 0;
    top: 0;
    transition: opacity 0.5s;
    opacity: 0;
    border: none;
}

.slide.active {
    display: block;
    opacity: 1;
    z-index: 1;
}

.slide-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.7rem;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(23, 105, 170, 0.10);
    opacity: 0.85;
}
.slide-btn:hover,
.slide-btn:focus {
    background: var(--accent-green);
    color: var(--white);
    outline: none;
}

.slide-btn.prev {
    left: 10px;
}

.slide-btn.next {
    right: 10px;
}
.dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--primary-blue);
    opacity: 0.25;
    display: inline-block;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
    border: 2px solid var(--accent-green);
}

.dot.active {
    background: var(--accent-green);
    opacity: 1;
}

.gallery-desc {
    margin-top: 18px;
    max-width: 600px;
    color: var(--secondary-blue);
    font-size: 1.08rem;
    text-align: center;
    line-height: 1.5;
}
footer {
  background: var(--primary-blue);
  color: #fff;
  text-align: center;
  padding: 6px 4px;   /* قللها بدال 14px 8px */
  font-size: 0.9rem;  /* حجم الخط أصغر شوي */
  border-top: 3px solid #ffffff; 
  margin-top: auto;
  letter-spacing: 1px;
}

@media (max-width: 900px) {
  .carousel { min-height: 320px; height: 50vw; }
  .carousel-title { font-size: 2rem; }
}
@media (max-width: 600px) {
  .container.top-bar-content { padding: 0 8px; height: 54px; }
  .logo { height: 32px; }
  .carousel { min-height: 180px; height: 38vw; }
  .carousel-title { font-size: 1.2rem; }
  .carousel-btn { width: 32px; height: 32px; font-size: 1.1rem; }
} 
.carousel-btn {
  display: none !important;  /* يخفي كل أزرار الاتجاه */
}
