/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-size: larger;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #007bff, #00263b);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar .logo img {
    height: 50px;
    border-radius: 50%;
  }
  
  .navbar .nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
  }
  
  .navbar .nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s ease;
  }
  
  .navbar .nav-links a:hover {
    color: #ffed4a;
  }
  
  .navbar .btn {
    background: #ffed4a;
    color: #333;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
  }
  
  .navbar .btn:hover {
    background: #ffd700;
  }
  
  /* Hero Section */
  .hero {
    text-align: center;
    background: url('goforustimes.PNG') no-repeat center center/cover;
    color: white;
    padding: 3rem 4rem;
  }
  
  .hero h1 {
    font-size: 3rem;
    animation: fadeIn 1.5s ease-in-out;
   color:gold;

  }
  
  .hero p {
    font-size: 1.5rem;
    margin: 1rem 0;
   color:orangered;
  }
  
  .hero .btn {
    background: #007bff;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    animation: bounce 2s infinite;
  }
  
  .hero .btn:hover {
    background: #0056b3;
  }
  .dynamic-sectors-text {
    font-size: 24px;
    font-weight: bold;
    color: #333; /* Dark color for the main text */
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.dynamic-sectors-text strong {
    font-size: 28px;
    color: #ff4500; /* Bright reddish-orange for strong emphasis */
    text-shadow: 
        0 0 5px rgba(255, 69, 0, 0.8),  /* Soft glowing reddish shadow */
        0 0 10px rgba(255, 69, 0, 0.7); /* Strong glowing reddish shadow */
}

.dynamic-sectors-text:hover {
    color: #b22222; /* Dark red color on hover */
}

.dynamic-sectors-text:hover strong {
    color: #b22222; /* Apply hover effect to strong text */
    text-shadow: 
        0 0 10px rgba(178, 34, 34, 1),   /* Glowing dark red shadow */
        0 0 20px rgba(178, 34, 34, 0.8); /* Strong glowing dark red shadow */
}

  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  
  /* Sectors Section */
  .sectors {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .sectors h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .sector-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .sector-cards .card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .sector-cards .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  .sector-cards .card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #007bff;
  }
  
  /* News Section */
  .latest-news {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
  }
  
  .latest-news h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
  }
  
  .news-item {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  
  .news-header {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .publisher-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  .news-title {
    font-size: 1.2rem;
    margin: 0;
    color: #007bff;
  }
  
  .news-info {
    font-size: 0.9rem;
    color: gray;
  }
  
  .news-summary {
    margin: 1rem 0;
    font-size: 1rem;
  }
  
  .news-content {
    display: none;
    font-size: 1.25rem;
    margin-top: 0.5rem;
  }
  
  .read-more-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
  }
  
  .read-more-btn:hover {
    background: #0056b3;
  }
  
  /* Footer */
  .footer-content {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: white;
  }
  
  .footer-content .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  
  .footer-content .social-icons a {
    color: white;
    font-size: 1.5rem;
  }
  /* General Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    padding: 10px 20px;
  }
  
  .navbar .logo img {
    width: 120px;
  }
  
  .nav-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-links ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    transition: color 0.3s ease;
  }
  
  .nav-links ul li a:hover {
    color: #ffed4a;
  }
  
  /* Desktop Layout */
  .nav-links {
    display: block; /* Always visible on desktops */
  }
  
  /* Mobile Menu Hidden by Default */
  .mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
  }
  
  .nav-links.mobile-hidden {
    display: none; /* Hidden by default */
  }
  
  /* Mobile Menu Visible When Active */
  .nav-links.mobile-visible {
    display: block;
    position: absolute;
    top: 60px;
    right: 10px;
    background: rgba(0, 0, 0, 0.9);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.mobile-visible ul {
    flex-direction: column;
    gap: 15px;
  }
  
  .nav-links ul li a {
    color: white;
  }
  
  /* Responsive Behavior */
  @media (max-width: 768px) {
    .nav-links {
      display: none; /* Hidden by default on mobile */
    }
  
    .mobile-menu-btn {
      display: block; /* Show the menu button */
    }
  
    .nav-links ul {
      flex-direction: column;
      align-items: flex-start;
    }
  }
  /* Sector Card Styles */
.sector-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
  }
  
  .card {
    background-color: #f1f1f1;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .card:hover {
    transform: scale(1.05);
  }
  
  .card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  
  /* Exclamation Mark Styles */
  .info-icon {
    font-size: 1.5rem;
    color: #f39c12;
    cursor: pointer;
    margin-left: 10px;
  }
  
  /* Description Popup */
  .sector-description {
    display: none;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
    transition: opacity 0.3s ease;
  }
  
  .sector-description.visible {
    display: block;
    opacity: 1;
  }
  
  /* Responsiveness for smaller screens */
  @media (max-width: 768px) {
    .sector-cards {
      flex-direction: column;
      align-items: center;
    }
  
    .card {
      width: 80%;
      margin-bottom: 20px;
    }
  }
  /* Search Bar Container */
.search-bar-container {
    position: relative;
    max-width: 600px;
    width: 100%;
    margin: 20px auto;
    padding: 10px;
  }
  
  /* Search Input Field */
  .search-bar-container input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
  }
  
  /* Search Input Focus Effect */
  .search-bar-container input[type="text"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }
  
  /* Search Icon */
  .search-bar-container .search-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    color: #007bff;
    font-size: 18px;
    pointer-events: none; /* Prevents interaction with the icon */
  }
  
  /* Mobile View: Make Search Bar Full Width */
  @media (max-width: 768px) {
    .search-bar-container {
      margin: 10px 20px;
    }
  
    .search-bar-container input[type="text"] {
      padding: 10px;
      font-size: 14px;
    }
  }
  
  /* Hover Effect for Search Bar */
  .search-bar-container input[type="text"]:hover {
    border-color: #0056b3;
    background-color: #f8f9fa;
  }
  /* Basic Reset for the Form */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  

  /* Hide the post article section by default */
  .hidden {
    display: none;
  }
  
  /* Overlay background */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
  }
  
  /* Post Article Section */
  .post-article-section {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
    overflow-y: auto;
  }
  
  /* Close Button */
  .close-btn {
    position: absolute;
    top: 40px;
    right: 10px;
    font-size: 32px;
    background: none;
    border: none;
    color: red;
    cursor: pointer;
  }
  
  /* Section Title */
  .section-title {
    font-size: 26px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
  }
  
  /* Form Styles */
  .post-article-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .form-group label {
    font-size: 14px;
    color: #555;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
  }
  
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
    outline: none;
  }
  
  /* Submit Button */
  .btn.submit-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 14px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .btn.submit-btn:hover {
    background-color: #0056b3;
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .post-article-section {
      width: 90%;
      padding: 20px;
    }
  
    .section-title {
      font-size: 22px;
    }
  
    .form-group input,
    .form-group select,
    .form-group textarea {
      font-size: 14px;
    }
  
    .btn.submit-btn {
      font-size: 16px;
    }
  }
  
  /* Tablet Responsiveness */
  @media (min-width: 769px) and (max-width: 1024px) {
    .post-article-section {
      width: 80%;
      padding: 25px;
    }
  
    .section-title {
      font-size: 24px;
    }
  
    .btn.submit-btn {
      font-size: 18px;
    }
  }
  
  /* Desktop Responsiveness */
  @media (min-width: 1025px) {
    .post-article-section {
      width: 60%;
      padding: 30px;
    }
  
    .section-title {
      font-size: 28px;
    }
  
    .btn.submit-btn {
      font-size: 20px;
    }
  }
  /* Make the "Post Your Article" button fixed on screen */
#post-article-btn {
    position: fixed;
    bottom: 20px;  /* Adjust as needed */
    left: 20px;  /* Adjust as needed */
    z-index: 1000;  /* Ensures it appears above other content */
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  #post-article-btn i {
    margin-right: 8px;
  }
  
  /* Make the search bar fixed on screen */
  .search-container {
    position: fixed;
    top: 20px;  /* Adjust as needed */
    right: 20px;  /* Adjust as needed */
    display: flex;
    align-items: center;
    background-color: #ffffff;
    padding: 8px 12px;
    border-radius: 25px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;  /* Ensures it appears above other content */
  }
  
  #search-input {
    border: none;
    outline: none;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
  }
  
  .search-btn {
    background-color: #4CAF50;
    color: white;
    padding: 8px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin-left: 8px;
  }
  
  .search-btn i {
    font-size: 18px;
  }
 /* General Button Style */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
  }
  
  /* Primary Button */
  .primary-btn {
    background-color: #4CAF50; /* Green */
    color: #fff;
  }
  
  .primary-btn:hover,
  .primary-btn:focus {
    background-color: #45a049;
    transform: translateY(-2px);
  }
  
  .primary-btn:active {
    background-color: #388e3c;
    transform: translateY(0);
  }
  
  /* Read More Button */
  .read-more {
    background-color: #008CBA; /* Blue */
    color: #fff;
  }
  
  .read-more:hover,
  .read-more:focus {
    background-color: #007bb5;
    transform: translateY(-2px);
  }
  
  .read-more:active {
    background-color: #006994;
    transform: translateY(0);
  }
  
  /* Watch Now Button */
  .watch-now {
    background-color: #f39c12; /* Orange */
    color: #fff;
  }
  
  .watch-now:hover,
  .watch-now:focus {
    background-color: #e67e22;
    transform: translateY(-2px);
  }
  
  .watch-now:active {
    background-color: #d35400;
    transform: translateY(0);
  }
  
  /* Listen Now Button */
  .listen-now {
    background-color: #9b59b6; /* Purple */
    color: #fff;
  }
  
  .listen-now:hover,
  .listen-now:focus {
    background-color: #8e44ad;
    transform: translateY(-2px);
  }
  
  .listen-now:active {
    background-color: #7d3c94;
    transform: translateY(0);
  }
  
  /* Media Query for Responsiveness */
  @media (max-width: 768px) {
    .btn {
      padding: 10px 20px;
      font-size: 14px;
    }
  }
  
  @media (max-width: 480px) {
    .btn {
      padding: 8px 16px;
      font-size: 12px;
    }
  }
  .read-more-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
}

.read-more-btn:hover {
    background-color: #45a049;
}

.extra-content {
    margin-top: 20px;
}
/* General Section Styles */
.latest-news {
    padding: 2rem;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.latest-news h2 {
    font-size: 2rem;
    color: #4CAF50;
    text-align: center;
    margin-bottom: 1.5rem;
}

.latest-news .news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* News Item Styles */
.news-item {
    background-color: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.news-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.publisher-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.news-meta .news-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.news-info {
    font-size: 0.9rem;
    color: #777;
}

/* News Content */
.news-summary {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Highlighted Keywords and Strong Elements */
.news-content p strong {
    font-weight: bold;
    color: #007BFF; /* Blue for strong emphasis */
}

.news-content ul,
.news-content ol {
    margin-left: 20px;
    margin-bottom: 1.5rem;
}

.news-content li {
    font-size: 1rem;
    color: #333;
    margin-bottom: 0.8rem;
}

/* Read More Button */
.read-more-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #45a049;
}

/* Icons */
.latest-news i {
    font-size: 1.5rem;
    color: #007BFF;
    margin-right: 0.5rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .latest-news {
        padding: 1rem;
    }

    .news-item {
        padding: 1rem;
    }

    .news-meta .news-title {
        font-size: 1.5rem;
    }

    .news-summary {
        font-size: 0.9rem;
    }
}

.share-section {
    margin-top: 20px;
}

.share-btn {
    background-color: #4223cc; 
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    margin-right: 10px;
}

.share-btn:hover {
    background-color: #45a049;
}

#shareLink {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

#articleLink {
    width: 300px;
    padding: 5px;
    margin-right: 10px;
}

button {
    cursor: pointer;
    padding: 5px 10px;
    background-color: #2196F3;
    color: white;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #1976D2;
}
