/* ===========================
    HEADER/NAV
   =========================== 
   *//* --- NEW CSS FOR SCROLL EFFECT --- */

/* Style for when the header is scrolled down */
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  color: #1f2937;
  line-height: 1.6;
}

header {
  backdrop-filter: blur(10px);
}

.hero-blob {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: floaty 12s ease-in-out infinite alternate;
}

.blob-1 {
  background: #e0acac;
  top: 12%;
  left: 8%;
}

.blob-2 {
  background: #b55a53;
  top: 55%;
  right: 6%;
  animation-delay: 2s;
}

.blob-3 {
  background: #9a4c46;
  bottom: -6%;
  left: 30%;
  animation-delay: 4s;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 46px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  opacity: 0.8;
  animation: pulse 2.4s ease-in-out infinite;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.nav a {
  letter-spacing: 0.01em;
}

.scrolled-nav {
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.scrolled-nav .nav a {
  color: #111827 !important;
}

.scrolled-nav .social-icons .icon {
  border-color: #111827;
}
.scrolled-nav .social-icons .icon i {
  color: #111827;
}
.scrolled-nav #mobile-menu-btn span {
  background-color: #111827 !important;
}

.nav-hidden {
  transform: translateY(-110%);
}

.nav-shadow {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.button-glow {
  box-shadow: 0 0 0 0 rgba(224, 172, 172, 0.45);
  animation: glow 2.6s ease-in-out infinite;
}

.social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.social-icons .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 14px;
    color: white; /* All icon colors are white */
    border: 2px solid white; /* All borders are white */
    /* Removed transition property as requested */
}

/* Specific static colors */

/* Facebook: Transparent fill, white border/icon */
.social-icons .facebook {
    background-color: #1877F2;
    border-color: #1877F2;
}

/* Instagram: Pink fill, matching border */
.social-icons .instagram {
    background-color: #E1306C;
    border-color: #E1306C;
}

/* X (Twitter): Transparent fill, white border/icon */
.social-icons .x {
    background-color: transparent; 
    background-color:#000000;
}

html {
  scroll-behavior: smooth;
}

/* ===========================
   Hero Section Background
   =========================== */
.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("./public/NO. 1.jpg");
  background-attachment: fixed;
  position: relative;
}

@media (max-width: 1024px) {
  .hero-section {
    background-attachment: scroll;
  }
}

@keyframes floaty {
  0% { transform: translateY(0) translateX(0) scale(1); }
  50% { transform: translateY(-12px) translateX(8px) scale(1.04); }
  100% { transform: translateY(12px) translateX(-10px) scale(1.02); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}

@keyframes scroll-dot {
  0% { transform: translate(-50%, 0); opacity: 0.8; }
  70% { transform: translate(-50%, 12px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

@keyframes glow {
  0% { box-shadow: 0 0 0 0 rgba(224, 172, 172, 0.45); }
  70% { box-shadow: 0 0 0 16px rgba(224, 172, 172, 0); }
  100% { box-shadow: 0 0 0 0 rgba(224, 172, 172, 0); }
}

/* ===========================
   Custom Scrollbar
   =========================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #e58ca0;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #095a40;
}

/* ===========================
   Selection Color
   =========================== */
::selection {
  background: #df8397;
  color: white;
}

/* ===========================
   Animation Classes
   =========================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Link Underline Animation
   =========================== */
a.animated-underline {
  position: relative;
}

a.animated-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #0d6e4e;
  transition: width 0.3s ease;
}

a.animated-underline:hover::after {
  width: 100%;
}

/* ===========================
   Button Hover Effects
   =========================== */
button,
a[class*="rounded-full"] {
  transition: all 0.3s ease;
}

button:active,
a[class*="rounded-full"]:active {
  transform: scale(0.98);
}

/* ===========================
   Card Hover Effects
   =========================== */
article,
.bg-white.rounded-3xl,
.bg-gray-50.rounded-3xl,
.card-hover {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border: 1px solid transparent;
}

article:hover,
.bg-white.rounded-3xl:hover,
.bg-gray-50.rounded-3xl:hover,
.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(181, 90, 83, 0.15);
  border-color: rgba(181, 90, 83, 0.2);
}

/* ===========================
   Glassmorphism Utilities
   =========================== */
.glass-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ===========================
   Image Loading Placeholder
   =========================== */
img {
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

/* ===========================
   Focus States for Accessibility
   =========================== */
a:focus,
button:focus {
  outline: 2px solid #d4a853;
  outline-offset: 2px;
}

/* ===========================
   Mobile Menu Animations
   =========================== */
#mobile-menu {
  transition: all 0.3s ease;
}

#mobile-menu-btn span {
  transition: all 0.3s ease;
}

#mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

#mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================
   Social Icon Hover
   =========================== */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

/* ===========================
   Responsive Typography
   =========================== */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.75rem;
  }

  p {
    font-size: 1rem;
  }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
  header,
  footer,
  #video,
  button {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }
}

/* ===========================
   Arabic Typography Settings
   =========================== */
.arabic-text {
  font-family: 'Amiri', serif;
  direction: rtl;
  text-align: right;
  line-height: 1.8;
}

.arabic-accent {
  text-align: center;
  font-size: 1.25rem;
  color: #C87670; /* Primary-light from config */
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  opacity: 0.85;
}

