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

body {
  background: #f8fafc;
  color: #1f2937;
  line-height: 1.7;
}

/* ================= HERO ================= */
.hero {
  height: 100vh;
  background: linear-gradient(
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0.75)
  ),
  url("images/hero-bg.png") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.hero-title {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #e5e7eb;
  margin-bottom: 30px;
}

.hero-buttons .btn {
  margin: 0 8px;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn.primary {
  background: #3a8bcd;
  color: #fff;
}

.btn.secondary {
  border: 1px solid #3a8bcd;
  color: #3a8bcd;
  background: transparent;
}

.btn.disabled {
  background: #9ca3af;
  color: #fff;
  cursor: not-allowed;
}

/* ================= SECTIONS ================= */
.section {
  padding: 70px 20px;
  max-width: 1200px;
  margin: auto;
}

.section.light {
  background: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
}

/* ================= PROJECTS ================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.project-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  position: relative;
}

/* ================= CARD INTERACTION ================= */

.project-card {
  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Hover pop */
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Featured cards pop slightly more */
.project-card.featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(58, 139, 205, 0.25);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border 0.25s ease;
}

.project-card:hover::before {
  border: 1px solid rgba(58, 139, 205, 0.4);
}

.project-card.clickable {
  cursor: pointer;
}

.project-card.muted {
  opacity: 0.75;
}

.project-card h3 {
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 15px;
}

/* ================= BADGES ================= */
.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 999px;
}

.badge.live {
  background: #16a34a;
  color: #fff;
}

.badge.soon {
  background: #f59e0b;
  color: #fff;
}

/* ================= TEXT ================= */
.content-text {
  max-width: 800px;
  margin: 20px auto 40px;
  font-size: 1rem;
  color: #374151;
  text-align: center;
}

/* ================= FOOTER ================= */
.footer {
  background: #0f172a;
  color: #e5e7eb;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
}

.project-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
}

.project-image img {
  max-width: 90px;
  max-height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
}

.project-card.featured .project-image img {
  max-width: 110px;
}

/* ================= NAVBAR ================= */
.top-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a,
.dropdown-toggle {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
}

.nav-links a:hover,
.dropdown-toggle:hover {
  color: #3a8bcd;
}

/* ================= DROPDOWN ================= */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 130%;
  right: 0;
  background: #ffffff;
  min-width: 260px;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  display: none;
  padding: 8px 0;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  color: #1f2937;
}

.dropdown-menu a:hover {
  background: #f1f5f9;
  color: #3a8bcd;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.register-form{
  max-width: 420px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.register-form input{
  padding: 14px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.form-message{
  margin-top: 10px;
  font-weight: 600;
  text-align: center;
}

/* ================= REGISTER SECTION ================= */

.register-section{
  background:
    linear-gradient(
      rgba(0,0,0,.55),
      rgba(0,0,0,.55)
    ),
    url("images/islamic-pattern-bg.jpg") center/cover no-repeat;
  padding: 80px 20px;
}

.register-box{
  max-width: 520px;
  margin: auto;
  background: rgba(255,255,255,.95);
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.register-box .section-title{
  color: #111;
  text-align: center;
}

.register-box .section-subtitle{
  text-align: center;
  color: #555;
  margin-bottom: 25px;
}

.register-form{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.register-form input,
.register-form textarea{
  padding: 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.register-form textarea{
  resize: vertical;
}

.checkbox-row{
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-message{
  margin-top: 12px;
  text-align: center;
  font-weight: 600;
}

/* ================= FREE GIFT ================= */

.gift-section{
  background:
    linear-gradient(
      rgba(11,18,32,0.85),
      rgba(11,18,32,0.9)
    ),
    url("images/islamic-pattern-bg.jpg") center/cover no-repeat;

  color:#ffffff;
  border-top:1px solid rgba(255,255,255,0.1);
  border-bottom:1px solid rgba(255,255,255,0.1);
}

.gift-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}

.gift-left h3{
  margin-bottom:15px;
  font-size:1.4rem;
}

.gift-list{
  margin-bottom:20px;
  padding-left:18px;
}

.gift-list li{
  margin-bottom:8px;
}

.gift-note{
  font-size:0.9rem;
  color:#fc9d03;
  margin-bottom:20px;
}

.gift-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.gift-right img{
  max-width:100%;
  border-radius:12px;
  box-shadow:0 12px 30px rgba(0,0,0,0.15);
}

/* Responsive */

@media (max-width:800px){

  .gift-container{
    grid-template-columns:1fr;
    text-align:center;
  }

  .gift-buttons{
    justify-content:center;
  }

}
/* ================= FREE GIFT BUTTON ================= */

.btn.gift-btn{
  background: linear-gradient(135deg,#f5d37a,#eab308);
  color:#111;
  font-weight:600;
  border:none;

  box-shadow:
    0 0 12px rgba(245,211,122,.8),
    0 0 25px rgba(245,211,122,.5);

  transition: all .25s ease;
}

/* hover glow */
.btn.gift-btn:hover{
  transform: translateY(-2px);

  box-shadow:
    0 0 18px rgba(245,211,122,1),
    0 0 35px rgba(245,211,122,.8),
    0 0 60px rgba(245,211,122,.6);
}

.project-card.featured {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.project-card.featured .project-image {
  height: 260px; /* 🔥 bigger banner */
  width: 100%;
  margin-bottom: 15px;
}

.project-card.featured .project-image img {
  max-width: 100% !important; /* 🔥 override 90px */
  max-height: none !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card.featured h3 {
  padding: 0 20px;
  margin-top: 10px;
}

.project-card.featured p {
  padding: 0 20px;
  margin-bottom: 15px;
}