/* ====== GLOBAL DARK THEME ====== */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #1a1a1a; /* graphite background */
  color: #FFD700; /* golden text */
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
}

.section {
  padding: 4rem 1rem;
  text-align: center;
}

.section-bg {
  position: relative;
}

.section h2, .section p {
  text-shadow: 0px 1px 3px rgba(255, 215, 0, 0.4);
}

.overlay {
  padding: 3rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ====== BUTTONS ====== */
.btn, .btn1, .cta-btn {
  background: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

.btn:hover, .btn1:hover, .cta-btn:hover {
  background: #FFD700;
  color: #1a1a1a;
  transform: translateY(-2px);
}

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

.card {
  background: #242424;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.1);
  backdrop-filter: blur(4px);
}

.card i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #FFD700;
}

ul {
  text-align: left;
  padding-left: 1.2rem;
}

ul li {
  margin-bottom: 0.5rem;
}

/* ====== CONTACT FORM ====== */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #FFD700;
  border-radius: 4px;
  width: 100%;
  font-size: 1rem;
  color: #FFD700;
  background: #2a2a2a;
}

.contact-form input::placeholder,
textarea::placeholder {
  color: #bfae6f;
}

footer {
  background: #111;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #FFD700;
}

/* ====== MODAL ====== */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #222;
  color: #FFD700;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  border: 1px solid #FFD700;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #FFD700;
}

/* ====== CTA BUTTONS ====== */
.cta-btn {
  min-width: 160px;
}

.web-btn {
  border-color: #FFD700;
}

.android-btn {
  border-color: #FFD700;
}

/* ====== SUBTEXT (if any retained) ====== */
.subtext {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #FFD700;
}

.subtext a {
  color: #FFD700;
  text-decoration: underline;
}

.subtext a:hover {
  color: #fff6b3;
}

/* ====== LINKS ====== */
a {
  color: #FFD700;
}

a:hover {
  color: #fff6b3;
}

/* ====== FORM BUTTON ====== */
button.btn {
  background: transparent;
  border: 2px solid #FFD700;
  color: #FFD700;
}

button.btn:hover {
  background: #FFD700;
  color: #1a1a1a;
}

/* ====== HERO SECTION ENHANCEMENT ====== */
.hero {
  position: relative;
  text-align: center;
  background: radial-gradient(circle at center,
              rgba(255, 215, 0, 0.15) 0%,
              rgba(255, 215, 0, 0.05) 25%,
              rgba(26, 26, 26, 1) 80%);
  color: #FFD700;
  padding: 5rem 1rem 6rem;
  overflow: hidden;
  box-shadow: inset 0 -2px 12px rgba(255, 215, 0, 0.15);
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center,
              rgba(255, 215, 0, 0.25),
              transparent 60%);
  transform: scale(1);
  animation: pulseGlow 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.hero h1, .hero p, .hero .btn {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.hero p {
  font-size: 1.2rem;
  color: #ffe680;
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

.hero .btn {
  margin-top: 1.5rem;
}
/* ====== Glowing Contact Button ====== */
.glow-btn {
  position: relative;
  border: 2px solid #FFD700;
  color: #FFD700;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
  animation: contactGlow 3s ease-in-out infinite;
}

@keyframes contactGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.4),
                0 0 20px rgba(255, 215, 0, 0.2);
  }
  50% {
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.8),
                0 0 30px rgba(255, 215, 0, 0.5);
  }
}

/* Optional stronger hover response */
.glow-btn:hover {
  background: #FFD700;
  color: #1a1a1a;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.9);
  transform: translateY(-2px);
}
.blog-content p,
.blog-content li,
.blog-content ul {
  text-shadow: none !important;
  font-weight: 400;
  color: #FFD966; /* slightly softer gold */
}
/* ====== CODE & PSEUDOCODE BLOCKS ====== */
pre, code {
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  color: #f5f5f5;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  display: block;
  white-space: pre;
  text-shadow: none !important;
}

pre code {
  color: #00ff9d; /* optional: highlight inner text slightly greenish */
  background: none;
  border: none;
  padding: 0;
}

