/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* Typography & Layout */
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #1e1e2f, #12121b);
  color: #f0f0f0;
}

h1, h2, h3 {
  font-weight: 600;
  margin-bottom: 20px;
}

a.nav-link {
  color: #aaa;
  transition: color 0.3s;
}
a.nav-link:hover {
  color: #fff;
}

/* Buttons */
.btn-outline-light {
  border-color: #ffffff;
  color: #ffffff;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-outline-light:hover {
  background-color: #ffffff;
  color: #1e1e2f;
}

/* Cards */
.card {
  background-color: #1e1e2f;
  border: none;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.card-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.card-text p {
  margin-bottom: 1.5rem;
  color: #ddd;
}

.hover-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

/* Footer */
footer {
  font-size: 0.9rem;
  background: #0e0e16;
}

/* Forms */
input, textarea {
  background-color: #1e1e2f !important;
  border: 1px solid #444 !important;
  color: #fff !important;
  border-radius: 8px;
}
label {
  margin-bottom: 6px;
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  height: 90vh;
  background: url('../images/breakthestigma.png') center center/cover no-repeat;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-section {
  border: 5px solid red;
}


.hero-overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 40px;
  border-radius: 16px;
  max-width: 800px;
  text-align: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}


.hero-overlay h1 {
  font-size: 3.5rem;
  color: #fff;
}

.hero-overlay p {
  color: #f0f0f0;
  font-size: 1.25rem;
}


/* Blog Container Enhancement */
.container.py-5 {
  background-color: #1e1e2f;
  border-radius: 16px;
  padding: 50px;
}

@media (max-width: 768px) {
  .hero-overlay {
    padding: 24px;
    max-width: 90%;
  }

  .hero-overlay h1 {
    font-size: 2.2rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 10px 20px;
  }
}

.hero-overlay {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

button[type="submit"] {
  transition: all 0.2s ease;
}

.hover-card:hover {
  transform: translateY(-6px);
  transition: 0.3s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
}

.post-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* === STORY & BLOG CARD MOBILE FIXES === */
.story-card, .blog-card {
  padding: 1rem;
  border-radius: 12px;
  background-color: #121212;
  margin-bottom: 1.5rem;
}

.read-full-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(to right, #6a11cb, #2575fc);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.95rem;
}

/* Responsive spacing for mobile screens */
@media screen and (max-width: 480px) {
  .story-card, .blog-card {
    padding: 1.4rem;
    font-size: 1rem;
  }

  .read-full-link {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
}

/* 🛠️ Mobile Story Layout Fix */
@media screen and (max-width: 480px) {
  .story-card,
  .blog-card,
  .content,
  .main,
  .container {
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }

  body {
    padding: 0;
  }

  p {
    line-height: 1.6;
    font-size: 1rem;
  }
}
