/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&family=Open+Sans:wght@400;600&display=swap');

/* General */
* {margin:0; padding:0; box-sizing:border-box;}
body {
  font-family:'Open Sans', sans-serif;
  line-height:1.6;
  color:#333;
  background:#fff;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Lora', serif;
  font-weight:600;
  color:#222;
}
a {text-decoration:none; color:inherit;}
ul {list-style:none;}
.container {width:90%; max-width:1200px; margin:auto;}
.section {padding:80px 0;}
.text-center {text-align:center;}

/* Navbar */
.navbar {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}

/* Logo Image */
.logo img {
  height: 50px;
  width: auto;
  display: block;
  transition: height 0.3s;
}

/* Mobile responsive logo */
@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}

/* Desktop Menu */
nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav ul li a {
  font-weight: 600;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

nav ul li a:hover {
  background: linear-gradient(45deg, #b29442, #d4b75a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hamburger Menu */
#nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  transition: transform 0.3s;
}
#nav-toggle:hover { transform: scale(1.2); }

/* Close button inside menu */
#nav-close {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

/* Mobile Full-Screen Menu */
@media (max-width: 768px) {
  #nav-toggle { display: block; }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: left 0.4s ease-in-out;
    z-index: 999;
  }

  nav.active { left: 0; }

  nav ul {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  nav ul li a {
    font-size: 1.5rem;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 0.5s forwards;
    animation-delay: calc(0.1s * var(--i));
  }

  #nav-close { display: block; }
}

/* Navbar menu link stagger variables */
nav ul li:nth-child(1) { --i: 1; }
nav ul li:nth-child(2) { --i: 2; }
nav ul li:nth-child(3) { --i: 3; }
nav ul li:nth-child(4) { --i: 4; }
nav ul li:nth-child(5) { --i: 5; }
nav ul li:nth-child(6) { --i: 6; }

/* Navbar Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Register Now Button */
.btn-register {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(45deg, #b29442, #d4b75a);
  color: #fff !important;
  font-weight: 600;
  border-radius: 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  line-height: 1.4;
}
.btn-register:hover {
  background: linear-gradient(45deg, #a38335, #c8a84d);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

/* Hero Section */
  #hero {
  position: relative;
  background: url('../img/ALHAMD HERO.jpg') center/cover no-repeat;

  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 20px;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

#hero .hero-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
  animation-delay: 0.3s;
}

#hero h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;          /* Bold text */
  color: #ffffff !important;  /* White text */
}

#hero .highlight {
  background: linear-gradient(45deg, #b29442, #d4b75a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

#hero p { max-width: 600px; margin: 0 auto 20px; font-size: 1.2rem; line-height: 1.5; }

#hero .btn-primary {
  background: linear-gradient(45deg, #b29442, #d4b75a);
  color: #fff;
  padding: 12px 30px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s ease, transform 0.3s;
}

#hero .btn-primary:hover {
  transform: scale(1.08) rotate(-1deg);
  background: linear-gradient(45deg, #8c7534, #b29442);
}

/* Responsive Hero */
@media (max-width: 768px){
  #hero h2 { font-size:2rem; }
  #hero p { font-size:1rem; }
  #hero .btn-primary { padding:10px 25px; font-size:0.9rem; }
}


/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: bold;
  background: linear-gradient(45deg, #b29442, #d4b75a);
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease;
}
.btn-primary:hover {
  transform: scale(1.05);
  background: linear-gradient(45deg, #8c7534, #b29442);
}

/* About Section */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; }
.about-img img { width:100%; border-radius:12px; box-shadow:0 4px 16px rgba(0,0,0,0.1); }
.about-icons { display:flex; flex-wrap:wrap; gap:15px; margin-top:20px; }
.about-feature { display:flex; align-items:center; gap:10px; padding:10px 15px; border-radius:8px; background:#fff; box-shadow:0 2px 8px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.about-feature:hover { transform: scale(1.05); }
.about-feature i {
  font-size:1.5rem;
  background: linear-gradient(45deg, #b29442, #d4b75a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}
.about-feature i:hover { transform: rotate(10deg) scale(1.1); }

/* Why Choose Us */
.grid-3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:20px; margin-top:30px; }
.card { background:#fff; padding:20px; border-radius:12px; box-shadow:0 4px 12px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.card i {
  font-size:2rem;
  margin-bottom:10px;
  background: linear-gradient(45deg, #b29442, #d4b75a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}
.card i:hover { transform: rotate(10deg) scale(1.1); }

/* Services */
.grid-4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width:992px){ .grid-4{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:768px){ .grid-4{ grid-template-columns:1fr; } }

/* Membership Plans Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  justify-items: center;
}

.card.plan {
  background: transparent;          /* Removed background */
  padding: 30px 20px;
  border-radius: 12px;             /* Keep optional rounding if needed */
  box-shadow: none;                /* Removed shadow */
  text-align: center;
  transition: transform 0.3s;       /* Keep hover transform if needed */
}

.card.plan:hover {
  transform: translateY(-8px);      /* Optional hover lift */
  box-shadow: none;                 /* No shadow on hover */
}

/* Headings inside cards */
.card.plan h3,
.card.plan h4 {
  color: #c49a4d; /* Golden color */
  font-weight: bold;
  margin-bottom: 8px;
}

.card.plan h3 {
  font-size: 1.5rem;
}

.card.plan h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* Bullet points */
.plan ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 15px 0;
  text-align: left;
  display: inline-block; /* Keeps bullets visually centered */
}

.plan ul li {
  margin: 8px 0;
  color: #555;
  font-size: 1rem;
}

/* Buttons in Membership Cards */
.card.plan .btn-primary {
  display: block;               /* Block to center horizontally */
  margin: 20px auto 0 auto;     /* Center the button inside card */
  padding: 12px 25px;
  border-radius: 50px;
  background-color: #c49a4d;
  color: #fff;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}

.card.plan .btn-primary:hover {
  background-color: #b38c44;
  transform: translateY(-2px); /* Subtle hover lift */
}

/* Responsive */
@media (max-width: 768px) {
  .card.plan {
    padding: 25px 15px;
  }
}

@media (max-width: 480px) {
  .card.plan h3 {
    font-size: 1.3rem;
  }

  .card.plan h4 {
    font-size: 1rem;
  }

  .plan ul li {
    font-size: 0.95rem;
  }

  .card.plan .btn-primary {
    padding: 10px 20px;
  }
}


/* Contact Info */
.contact-info p {
  margin: 8px 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-info i {
  color: #25D366;
  margin-right: 8px;
  font-size: 1.3rem;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin: 0; /* gap is handled by flex */
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #c49a4d;
  box-shadow: 0 0 6px rgba(196, 154, 77, 0.4);
}

.contact-form button {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  background: linear-gradient(45deg, #b29442, #d4b75a);
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, background 0.3s;
}

.contact-form button:hover {
  background: linear-gradient(45deg, #8c7534, #b29442);
  transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-info p {
    font-size: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 10px 12px;
  }

  .contact-form button {
    font-size: 0.95rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .contact-info p {
    font-size: 0.95rem;
    flex-direction: column;
    text-align: center;
  }

  .contact-info i {
    margin-bottom: 4px;
  }

  .contact-form {
    width: 90%;
    padding: 0 5%;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9rem;
    padding: 8px 10px;
  }

  .contact-form button {
    font-size: 0.9rem;
    padding: 10px;
  }
}

/* Footer */
.footer{ background:#111; color:#fff; padding:20px 0; }

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;           /* fixed width */
  height: 60px;          /* fixed height */
  background: #25D366;
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;    /* perfect circle */
  display: flex;
  justify-content: center;
  align-items: center;   /* center the icon */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 999;
  transition: 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20ba5a;
}

/* Responsive Adjustments */
@media(max-width:768px){ 
  .about-grid{ 
    grid-template-columns: 1fr; 
  } 
}


/* Keyframes */
@keyframes fadeInUp { 0%{opacity:0; transform:translateY(20px);} 100%{opacity:1; transform:translateY(0);} }
/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-left {
  transform: translateX(-30px);
}

.scroll-right {
  transform: translateX(30px);
}

.scroll-fade {
  opacity: 0;
  transform: none;
}

.scroll-animate.show,
.scroll-left.show,
.scroll-right.show,
.scroll-fade.show {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Staggered Animations */
.scroll-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-stagger.show > * {
  opacity: 1;
  transform: translateY(0);
}

.scroll-stagger > *:nth-child(1) { transition-delay: 0.1s; }
.scroll-stagger > *:nth-child(2) { transition-delay: 0.2s; }
.scroll-stagger > *:nth-child(3) { transition-delay: 0.3s; }
.scroll-stagger > *:nth-child(4) { transition-delay: 0.4s; }
.scroll-stagger > *:nth-child(5) { transition-delay: 0.5s; }

/* Footer */
.footer {
  background: #111;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

/* Gradient brand name */
.brand-gradient {
  background: linear-gradient(45deg, #b29442, #8c7534);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}
/* Footer */
footer {
  background: linear-gradient(135deg, #1a1a1a, #111);
  color: #eee;
  padding: 60px 20px 20px;
  margin-top: 60px;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}
.footer-container h3 {
  margin-bottom: 15px;
  color: #b29442;
  font-size: 1.2rem;
}
.footer-container p, 
.footer-container a {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.8;
}
.footer-container a:hover {
  color: #fff;
}
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: #ccc; transition: 0.3s; }
.footer-links ul li a:hover { color: #b29442; }
.footer-links i { margin-right: 8px; color: #b29442; }
.footer-contact i { margin-right: 6px; color: #b29442; }

.social-icons { display: flex; gap: 15px; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: #fff;
  transition: transform 0.3s, background 0.3s;
}
.social-icons a.facebook { background: #3b5998; }
.social-icons a.instagram { background: #e4405f; }
.social-icons a:hover { transform: translateY(-5px); opacity: 0.9; }

.footer-bottom { text-align: center; font-size: 0.9rem; color: #ccc; margin-top: 30px; }
.footer-bottom .designed-by { font-size: 0.8rem; color: #aaa; }
.footer-bottom .designed-by a { color: #b29442; font-weight: 600; text-decoration: none; }
.footer-bottom .designed-by a:hover { color: #d4b75a; }