body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
}

/* HEADER SECTION */
.newsroom-header-section {
    position: relative;
    min-height: clamp(260px, 38vw, 400px);
    margin-top: 120px;
}

.newsroom-header {
    min-height: clamp(260px, 38vw, 400px);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.newsroom-title {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.newsroom-subtitle {
    font-size: clamp(14px, 2.2vw, 18px);
    font-weight: 300;
    margin-bottom: 0;
}

@media (max-width: 992px) {
  .newsroom-header-section,
  .newsroom-header {
    min-height: clamp(240px, 42vw, 340px);
  }
}

@media (max-width: 768px) {
  .newsroom-header-section {
    margin-top: 96px;
  }
}
/* FEATURED NEWS SECTION */

  .featured-card-section {
    background-color: #fff;
  }
  
  .featured-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
  }
  
  .featured-label {
    font-size: 14px;
    font-weight: bold;
    color: #777;
    text-transform: uppercase;
    margin-bottom: 10px;
  }
  
  .divider {
    width: 40px;
    height: 4px;
    background: linear-gradient(135deg, #FF8405 0%, #F9348D 97.4%);
    margin-bottom: 20px;
  }
  
  .featured-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
  }
  
  .featured-content {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  
  .read-more {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #f9348d;
  }
  
  .read-more .arrow {
    font-size: clamp(14px, 2.2vw, 18px);
    margin-left: 5px;
  }
  
  .image-container {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .image-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
  
  

























/* NEWS CARD SECTION */

.news-section {
    background-color: #fff;
  }
  
  .news-title {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    color: #222;
    margin-bottom: 10px;
  }
  
  .news-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #FF8405 0%, #F9348D 97.4%);
    margin-bottom: 30px;
  }
  
  .news-card {
    border: 1px solid #cfd8dc;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }
  
  .news-meta {
    font-size: 14px;
    color: #2d2c2c;
    font-weight: bold;
  }
  
  .news-icon {
    width: 30px;
    height: 30px;
  }
  
  .news-line {
    border: none;
    border-top: 2px solid;
    background: linear-gradient(to right, #FF8405, #F9348D);
    margin: 10px 0;
  }
  
  .news-headline {
    font-size: 16px;
    font-weight: bold;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.4;
  }
  
  .news-link {
    font-size: 14px;
    font-weight: bold;
    color: #e70909;
    text-decoration: none;
  }
  
  .news-link:hover {
    text-decoration: underline;
  }
  

  .view-all-btn {
    background: linear-gradient(135deg, #FF8405 0%, #F9348D 97.4%);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  }
  
  .view-all-btn:hover {
    background: linear-gradient(90deg, #F9348D 0%, #FF8405 97.4%);
    color: #fff;
    transform: scale(1.05); /* Slightly enlarges the button */
  }
  
























  /*Blog/Article Section */
.latest-articles {
    background-color: #ffffff; /* Dark background */
  }
  

  /* Styles for the first line: 'Latest Articles' */
  .title-heading { 
    font-size: 20px; /* Adjusted for smaller text */
    font-weight: bold;
    letter-spacing: 1px;
    color: #555; /* Neutral dark gray for contrast */
    text-transform: uppercase;
    margin-bottom: 5px; /* Slight spacing below */
}

/* Styles for the second line: 'Latest Blog & Articles' */
.gradient {
    font-size: 32px; /* Larger text for prominence */
    font-weight: bold;
    background: linear-gradient(135deg, #FF8405 0%, #F9348D 97.4%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px; /* Spacing below */
}


  
  /* Card container */
  .blog-card {
    background-color: #121212; /* Slightly lighter black */
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
  }
  
  .blog-card:hover {
    transform: translateY(-10px); /* Lift on hover */
  }
  
  /* Image hover effect */
  .card-img-container {
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid #ed8c04; /* Optional highlight color */
  }
  
  .card-img-container img {
    transition: transform 0.4s ease;
  }
  
  .card-img-container:hover img {
    transform: scale(1.1); /* Scale the image */
  }
  
  
  /* Card body */
  .card-body h5 {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
  }
  
  .card-body .btn-link {
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #FF8405 0%, #F9348D 97.4%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

.card-body .btn-link:hover {
    color: #ffc107; /* Change to solid color on hover */
    transform: scale(1.1); /* Slightly enlarge the button for a pop-up effect */
    text-decoration: none;
}
  
  
  .sub-text{
    font-size: 20px;
  }
  
  /* Button gradient styling with glow effect */
  .btn-gradient {
    background: linear-gradient(135deg, #FF8405 0%, #F9348D 97.4%);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 30px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  }
  
  .btn-gradient:hover {
    background: linear-gradient(90deg, #F9348D 0%, #FF8405 97.4%);
    color: #fff;
    transform: scale(1.05); /* Slightly enlarges the button */
  }
  
  





/* Quote section */
.info-section {
    background-color: #f8f9fc; /* Light background */
    padding: 40px 20px; /* Vertical and horizontal padding */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .container .info-text {
    max-width: 800px; /* Limit the width of the text */
    margin: 0 auto; /* Center the container */
  }
  
  .info-text {
    font-size: 20px; /* Text font size */
    font-weight: 400; /* Normal weight */
    color: #2b2b2b; /* Darker gray text */
    margin: 0;
    line-height: 1.6; /* Improve readability */
    text-align: center; /* Center-align the text */
  }
  
  














  /* Subscribe Section */
.subscribe-section {
    background-color: #ffffff; /* Light background */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 20px;
  }
  
  .subscribe-box {
    background: linear-gradient(135deg, #FF8405 0%, #F9348D 97.4%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .subscribe-title {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
  }
  
  .subscribe-form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  
  .subscribe-input {
    flex: 1;
    max-width: 400px;
    padding: 12px 16px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    outline: none;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .subscribe-button {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #0d0519, #5D01FF);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .subscribe-button:hover {
    background: linear-gradient(135deg, #FF8405 0%, #F9348D 97.4%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .subscribe-button span {
    font-size: clamp(14px, 2.2vw, 18px);
    line-height: 1;
  }

/* Dark mode visibility fixes for blogs/news page */
body.dark-mode .featured-card-section,
body.dark-mode .news-section,
body.dark-mode .latest-articles,
body.dark-mode .info-section,
body.dark-mode .subscribe-section,
body.dark-mode .featured-card,
body.dark-mode .image-container,
body.dark-mode .news-card {
  background-color: #000 !important;
  color: #f5f5f5 !important;
}

body.dark-mode .featured-label,
body.dark-mode .featured-title,
body.dark-mode .featured-content,
body.dark-mode .news-title,
body.dark-mode .news-meta,
body.dark-mode .news-headline,
body.dark-mode .title-heading,
body.dark-mode .info-text,
body.dark-mode .subscribe-title {
  color: #f5f5f5 !important;
}

body.dark-mode .news-card {
  border-color: #2f2f2f;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

body.dark-mode .news-link {
  color: #ff8e9f;
}

body.dark-mode .news-link:hover {
  color: #ffb5bf;
}

body.dark-mode .info-section {
  border-top: 1px solid #202020;
  border-bottom: 1px solid #202020;
}
  




/* Mobile fix: newsletter form layout on news page */
@media (max-width: 768px) {
  .subscribe-box {
    padding: 28px 16px;
  }

  .subscribe-title {
    font-size: 34px;
    line-height: 1.3;
  }

  .subscribe-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .subscribe-input,
  .subscribe-button {
    width: 100%;
    max-width: none;
  }

  .subscribe-button {
    min-height: 50px;
  }
}

/* Keep newsletter field readable in dark mode */
body.dark-mode .subscribe-input {
  background: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #e5e7eb !important;
}

body.dark-mode .subscribe-input::placeholder {
  color: #6b7280 !important;
}
