/* ===== MODERN TECH THEME - BLACK & GOLD ===== */
:root {
  --primary-color: #d4af37;
  --secondary-color: #1a1a1e;
  --tertiary-color: #0d0d0f;
  --accent-color: #000000;
  --text-light: #e0e0e0;
  --text-muted: #c8c8c8;
  --border-color: rgba(212, 175, 55, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Animated background elements */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 0, 0, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
  animation: bgShift 15s ease-in-out infinite;
}

@keyframes bgShift {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, 30px);
  }
}

body::after {
  content: '';
  position: fixed;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(30px) rotate(180deg);
  }
}

/* ===== NAVBAR STYLING ===== */
.navbar {
  background: linear-gradient(90deg, #0a0a15 0%, #1a1a2e 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(212, 175, 55, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.08);
}

.navbar-brand:hover span:nth-child(1) {
  animation: slideInName 0.6s ease-in-out;
}

.navbar-brand:hover span:nth-child(2) {
  animation: colorPulse 0.6s ease-in-out;
}

.navbar-brand:hover span:nth-child(3) {
  animation: domainBounce 0.6s ease-in-out;
}

@keyframes slideInName {
  0%, 100% {
    transform: translateX(0);
    color: white;
  }
  50% {
    transform: translateX(2px);
  }
}

@keyframes colorPulse {
  0%, 100% {
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
  }
  50% {
    color: #00d4ff;
    text-shadow: 0 2px 16px rgba(0, 212, 255, 0.8);
  }
}

@keyframes domainBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.navbar-brand:hover > div:first-child {
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6), 
              0 0 20px rgba(0, 0, 0, 0.3);
}

.nav-link {
  color: var(--text-light) !important;
  position: relative;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  line-height: 1.2;
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.8s ease-out 0.2s backwards;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.8;
  animation: slideUp 0.8s ease-out 0.4s backwards;
}

/* ===== BUTTONS ===== */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #b8860b);
  color: white;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3), 0 0 20px rgba(212, 175, 55, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 30px rgba(212, 175, 55, 0.5),
    0 0 30px rgba(212, 175, 55, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #0a8fbb, var(--primary-color));
  color: white;
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-danger {
  background: linear-gradient(135deg, #1a1a1a, #000000);
  color: #d4af37;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 175, 55, 0.2);
}

.btn-danger:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 30px rgba(212, 175, 55, 0.5),
    0 0 30px rgba(212, 175, 55, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
  color: white;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: rgba(26, 26, 46, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  cursor: pointer;
  height: 100%;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 
    0 15px 40px rgba(212, 175, 55, 0.3),
    0 0 30px rgba(212, 175, 55, 0.15),
    inset 0 0 30px rgba(212, 175, 55, 0.05);
  background: rgba(212, 175, 55, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  display: inline-block;
}

.service-card:hover .service-icon {
  transform: scale(1.3) rotate(10deg);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.service-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== FEATURE HIGHLIGHTS ===== */
.feature-section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: titleSlideIn 0.8s ease-out;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
  animation: slideInWidth 0.8s ease-out;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInWidth {
  from {
    width: 0;
  }
  to {
    width: 60px;
  }
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  animation: slideUp 0.8s ease-out 0.2s backwards;
}

/* ===== DONATION SECTION ===== */
.donation-section {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0.1));
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 3rem;
  text-align: center;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
  animation: sectionFadeIn 0.8s ease-out;
}

.donation-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.donation-section > * {
  position: relative;
  z-index: 1;
}

.donation-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.donation-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@keyframes sectionFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FORM CONTROLS ===== */
.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-light);
  border-radius: 8px;
  transition: all 0.3s ease;
  padding: 0.75rem 1rem;
  position: relative;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  color: var(--text-light);
  box-shadow: 
    0 0 0 0.2rem rgba(212, 175, 55, 0.25),
    inset 0 0 10px rgba(212, 175, 55, 0.1);
  transform: scale(1.01);
}

.form-label {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.form-control:focus ~ .form-label {
  color: var(--primary-color);
}

/* ===== FOOTER ===== */
footer {
  margin-top: 5rem;
  animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hover-text-primary {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
}

.hover-text-primary:hover {
  color: var(--primary-color) !important;
  transform: scale(1.05);
}

.hover-text-primary::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.hover-text-primary:hover::after {
  width: 100%;
}

/* ===== UTILITIES ===== */
.text-primary {
  color: var(--primary-color) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

.text-muted-custom {
  color: var(--text-muted) !important;
}

.bg-gradient-dark {
  background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
}

.border-primary {
  border-color: var(--primary-color) !important;
}

/* ===== DIVIDER ===== */
.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  margin: 3rem 0;
  position: relative;
  animation: expandWidth 1s ease-out;
}

.divider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 20px;
  height: 20px;
  background: #d4af37;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes expandWidth {
  from {
    width: 0;
    margin-left: 50%;
    margin-right: 50%;
  }
  to {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 40px rgba(212, 175, 55, 1);
  }
}

/* ===== BADGE & SPECIAL ELEMENTS ===== */
.badge {
  animation: slideUp 0.6s ease-out backwards;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.badge:nth-child(1) {
  animation-delay: 0s;
}

.badge:nth-child(2) {
  animation-delay: 0.1s;
}

.badge:nth-child(3) {
  animation-delay: 0.2s;
}

.badge:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* ===== SPECIAL TEXT EFFECTS ===== */
.text-shimmer {
  background: linear-gradient(90deg, var(--text-light), var(--primary-color), var(--text-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

/* ===== LIST ITEMS ANIMATION ===== */
li {
  animation: slideUp 0.6s ease-out backwards;
}

li:nth-child(1) { animation-delay: 0s; }
li:nth-child(2) { animation-delay: 0.1s; }
li:nth-child(3) { animation-delay: 0.2s; }
li:nth-child(4) { animation-delay: 0.3s; }
li:nth-child(5) { animation-delay: 0.4s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-title::after {
    width: 40px;
  }

  .service-card {
    margin-bottom: 1.5rem;
  }

  .divider {
    margin: 2rem 0;
  }
}