/* Akode Islamic Centre - Custom Branding CSS */

:root {
  --akode-primary: #1a472a;
  --akode-light: #2d6a4f;
  --akode-accent: #d4af37;
  --akode-text: #2c3e50;
  --akode-light-bg: #f8f9fa;
  --akode-border: #e5e5e5;
}

/* ============================================
   PROFESSIONAL HERO SECTION - FIXED
   ============================================ */

.professional-hero {
  position: relative;
  overflow: hidden;
  background: white;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 71, 42, 0.05) 0%, rgba(45, 106, 79, 0.05) 100%);
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(212, 175, 55, 0.02) 35px, rgba(212, 175, 55, 0.02) 70px),
    repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(212, 175, 55, 0.02) 35px, rgba(212, 175, 55, 0.02) 70px);
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: floatGlow 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, -30px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text-section {
  animation: slideInLeft 0.8s ease-out;
}

.hero-text-wrapper {
  padding: 20px 0;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(26, 71, 42, 0.1) 100%);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--akode-primary);
  animation: fadeInDown 0.8s ease-out;
  width: fit-content;
}

.hero-badge i {
  color: var(--akode-accent);
  font-size: 1rem;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Titles */
.hero-main-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.3;
  color: var(--akode-text);
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  animation: fadeInDown 1s ease-out 0.1s backwards;
}

.hero-main-title .title-accent {
  color: var(--akode-accent);
  position: relative;
  display: inline-block;
}

.hero-main-title .title-accent::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--akode-accent), transparent);
  border-radius: 2px;
}

.hero-main-subtitle {
  font-size: 1.2rem;
  color: var(--akode-light);
  font-weight: 500;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out 0.2s backwards;
}

.hero-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 100%;
  animation: fadeInDown 1s ease-out 0.3s backwards;
}

/* Hero Features */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: rgba(212, 175, 55, 0.05);
  border-left: 4px solid var(--akode-accent);
  border-radius: 8px;
  transition: all 0.3s ease;
  animation: slideInLeft 0.8s ease-out backwards;
}

.feature-item:nth-child(1) { animation-delay: 0.4s; }
.feature-item:nth-child(2) { animation-delay: 0.5s; }
.feature-item:nth-child(3) { animation-delay: 0.6s; }

.feature-item:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateX(10px);
}

.feature-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--akode-primary), var(--akode-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h6 {
  color: var(--akode-primary);
  font-weight: 700;
  margin: 0 0 3px 0;
  font-size: 0.95rem;
}

.feature-text p {
  color: #666;
  margin: 0;
  font-size: 0.85rem;
}

/* CTA Buttons */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.btn-lg {
  padding: 14px 32px !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary-custom {
  position: relative;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
  cursor: pointer;
  background: linear-gradient(135deg, var(--akode-accent) 0%, #e6c65f 100%);
  color: var(--akode-primary) !important;
  border: none;
}

.btn-primary-custom:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.4);
  text-decoration: none;
}

.btn-secondary-custom {
  border: 2px solid var(--akode-primary);
  color: var(--akode-primary);
  background: white;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary-custom:hover {
  background: var(--akode-primary);
  color: white !important;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 71, 42, 0.25);
  text-decoration: none;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Trust Indicators */
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 20px;
  border-top: 2px solid var(--akode-border);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: slideInUp 0.8s ease-out 0.8s backwards;
}

.trust-item strong {
  font-size: 1.6rem;
  color: var(--akode-accent);
  font-weight: 900;
}

.trust-item span {
  font-size: 0.8rem;
  color: #999;
  text-transform: uppercase;
  margin-top: 5px;
  font-weight: 600;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Visual Section */
.hero-visual-section {
  animation: slideInRight 0.8s ease-out;
  position: relative;
  height: 500px;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-visual {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  position: absolute;
  border-radius: 16px;
  padding: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: float 3s ease-in-out infinite;
  width: 240px;
}

.visual-card.primary {
  background: linear-gradient(135deg, rgba(26, 71, 42, 0.95) 0%, rgba(45, 106, 79, 0.95) 100%);
  top: 0;
  left: 10px;
  animation-delay: 0s;
  z-index: 3;
}

.visual-card.secondary {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(230, 198, 95, 0.95) 100%);
  bottom: 20px;
  left: 100px;
  width: 220px;
  animation-delay: 1s;
  z-index: 2;
}

.visual-card.tertiary {
  background: linear-gradient(135deg, rgba(26, 71, 42, 0.9) 0%, rgba(212, 175, 55, 0.9) 100%);
  bottom: 40px;
  right: 50px;
  width: 230px;
  animation-delay: 2s;
  z-index: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

.card-content {
  text-align: center;
  color: white;
}

.visual-card i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  color: inherit;
}

.visual-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: white;
}

.visual-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.95;
  margin: 0;
  color: white;
}

.visual-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

/* Floating Circles */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.2);
  animation: float 4s ease-in-out infinite;
}

.circle-1 {
  width: 120px;
  height: 120px;
  top: 30px;
  right: 50px;
  animation-delay: 0s;
  z-index: 0;
}

.circle-2 {
  width: 80px;
  height: 80px;
  bottom: 80px;
  right: 100px;
  animation-delay: 1s;
  z-index: 0;
}

.circle-3 {
  width: 60px;
  height: 60px;
  bottom: 150px;
  left: 50px;
  animation-delay: 2s;
  z-index: 0;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
}

.scroll-indicator span {
  display: block;
  font-size: 0.8rem;
  color: var(--akode-primary);
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-icon {
  color: var(--akode-accent);
  font-size: 1.1rem;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   FEATURE CARDS & OTHER STYLES
   ============================================ */

.feature-card {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid var(--akode-border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--akode-accent), transparent);
  transition: left 0.6s ease;
  z-index: 1;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  border-color: var(--akode-accent);
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

/* Event Items */
.event-item {
  position: relative;
  padding-left: 30px;
}

.event-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--akode-accent) 0%, var(--akode-light) 100%);
  border-radius: 2px;
}

.event-item::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 20px;
  width: 20px;
  height: 20px;
  background: white;
  border: 3px solid var(--akode-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--akode-light);
}

/* Form Styling */
.form-control:focus {
  border-color: var(--akode-accent) !important;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25) !important;
}

.form-label {
  color: var(--akode-primary);
  font-weight: 600;
}

/* Footer */
footer {
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--akode-accent), transparent);
}

footer a {
  color: var(--akode-accent);
  transition: all 0.3s ease;
  text-decoration: none;
}

footer a:hover {
  color: white;
  text-decoration: underline;
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-main-title {
    font-size: 2.8rem;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-visual-section {
    display: none;
  }
}

@media (max-width: 768px) {
  .professional-hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-main-title {
    font-size: 2rem;
  }

  .hero-main-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .hero-features {
    gap: 12px;
  }

  .feature-item {
    padding: 12px;
  }

  .feature-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-lg {
    width: 100%;
    justify-content: center;
  }

  .hero-trust {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .trust-item strong {
    font-size: 1.3rem;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-visual-section {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero-main-title {
    font-size: 1.6rem;
  }

  .hero-main-subtitle {
    font-size: 0.9rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 8px 16px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Utility Classes */
.shadow-akode {
  box-shadow: 0 10px 30px rgba(26, 71, 42, 0.2);
}

.border-akode {
  border: 2px solid var(--akode-accent);
}

.text-akode-primary {
  color: var(--akode-primary);
}

.text-akode-accent {
  color: var(--akode-accent);
}

.bg-akode-primary {
  background: var(--akode-primary);
}

.bg-akode-light {
  background: var(--akode-light);
}

.bg-akode-accent {
  background: var(--akode-accent);
}
