/* Reset default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #000000;
  background: #f9f9f9;
}

/* Container */
.container {
  width: 85%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

/* Header */
header {
  background: rgba(0, 0, 0, 0.9); /* Semi-transparent background */
  color: #fff;
  padding: 10px 0;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

header h1 a {
  color: #fff;
  text-decoration: none;
  font-size: 28px; /* Slightly larger font */
  font-weight: 700; /* Bold font for a classy look */
}

header nav {
  float: right;
  margin-top: 5px;
}

header nav ul {
  list-style: none;
}

header nav ul li {
  display: inline;
  margin-left: 20px; /* Increased spacing */
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px; /* Larger font */
  padding: 5px 10px; /* Padding for a better touch target */
  transition: color 0.3s, background 0.3s;
}

header nav ul li a:hover {
  color: #77aaff;
  background: rgba(255, 255, 255, 0.2); /* Subtle background change on hover */
}

/* Mobile Navigation */
.header .nav-toggle {
  display: none;
  cursor: pointer;
}

.header .nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
}

@media (max-width: 768px) {
  header nav {
      float: none;
      text-align: center;
  }

  header nav ul {
      display: none;
      flex-direction: column;
      width: 100%;
      background-color: rgba(51, 51, 51, 0.9);
  }

  header nav ul li {
      display: block;
      margin: 10px 0;
  }

  header nav ul li a {
      font-size: 18px;
  }

  .header .nav-toggle {
    display: block !important; /* Force display even with conflicting styles */
    position: absolute;
    top: 15px;
    right: 20px;
  }

  header nav ul.showing {
      display: flex;
  }
}

/* Hero Section */
/*newspaper image: https://i.imgur.com/2BN1yqW.jpeg*/
#hero {
  background-image: url('https://i.imgur.com/MCxtJDZ.jpeg');
  background-size: 460px;
  background-position: 50% 50%;
  color: #fffcfc;
  padding: 50px 0;
  text-align: center;
}

#hero .hero-content {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}
.outlined-text {
  color: transparent; /* Hide the original text */
  text-shadow: 
    -3px -3px 0 white,
    3px -3px 0 white,
    -3px 3px 0 white,
    3px 3px 0 white,
    -6px -6px 0 white,
    6px -6px 0 white,
    -6px 6px 0 white,
    6px 6px 0 white; /* Create a more amplified white outline */
}
@media only screen and (max-width: 768px) {
  #hero {
    background-size: auto; /* Adjust background size for mobile devices */
  }
}

#hero h2,
#hero p {
  text-shadow: 2px 2px 4px rgba(1, 2, 75, 0.5);
}

#hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

#hero p {
  font-size: 20px;
  margin-bottom: 40px;
}

#hero .btn {
  background: #000000;
  color: #fcfdff;
  padding: 15px 30px;
  text-decoration: none;
  font-size: 16px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s, transform 0.3s;
  display: inline-block;
}

#hero .btn:hover {
  background: #f3f3f3;
  color: #050505;
  border-color: #050505;
  transform: scale(1.05);
}

/* Featured Articles Section */
#featured-articles {
  padding: 50px 0;
}

#featured-articles h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

#featured-articles .articles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

#featured-articles article {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 1;
  max-width: 32%;
  min-width: 300px;
}

#featured-articles article img {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

#featured-articles article h3 {
  font-size: 24px;
  margin: 20px;
}

#featured-articles article p {
  font-size: 16px;
  margin: 20px;
  color: #666;
}

#featured-articles article:hover {
  transform: translateY(-10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
#about {
  padding: 50px 0;
  background: #f4f4f4;
}

#about h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

#about p {
  text-align: center;
  font-size: 18px;
  color: #666;
  max-width: 800px;
  margin: auto;
}

/* Contact Section */
#contact {
  padding: 50px 0;
}

#contact h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 20px;
}

#contact form {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

#contact form label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
}

#contact form input,
#contact form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

#contact form button {
  background: #77aaff;
  color: #fff;
  border: none;
  padding: 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

#contact form button:hover {
  background: #333;
}

/* Footer */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
}

footer nav {
  margin-top: 10px;
}

footer nav ul {
  list-style: none;
  padding: 0;
}

footer nav ul li {
  display: inline;
  margin-left: 20px;
}

footer nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

footer nav ul li a:hover {
  color: #77aaff;
}

footer p {
  margin: 10px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  header nav {
      float: none;
      text-align: center;
  }

  header nav ul li {
      display: block;
      margin: 10px 0;
  }

  #featured-articles .articles {
      flex-direction: column;
  }

  #featured-articles article {
      max-width: 100%;
      margin-bottom: 20px;
  }
}
.articles {
  display: flex;
  flex-wrap: wrap;
}

.article {
  display: flex;
  margin-bottom: 20px;
  width: 100%;
  overflow: hidden;
  transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.article:hover {
  background-color: #f5f5f5; /* Add a subtle background color change on hover */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Add a slight hover shadow */
  transform: scale(1.02); /* Increase size by 2% on hover */
}

.article img {
  max-width: 220px; /* Existing Styles */
  height: auto;
  margin-right: 20px;
  object-fit: contain;
  clip-path: inset(5px 0 0 0); /* Added property */
}

@media (max-width: 768px) { /* Targets screens less than 768px wide */
  .article-content p { /* Target the paragraph element within .article-content */
      display: none; /* Hide description on phones */
  }
  .article {
    padding: 20px; /* Increase padding for easier tapping */
  }
  .article img {
    max-width: 165px;
  }
  .article h3 {
    color: rgb(202, 29, 29); /* Change the color to red */
    font-weight: bold; /* Make the title bold */
    font-size: 15px;
  }
  .article:hover {
    background-color: #f5f5f5; /* Add a subtle background color change on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Add a slight hover shadow */
    transform: scale(1.02); /* Increase size by 2% on hover */
  }
}

.article-content {
  flex-grow: 1;
}
/* Media Section */
#media {
  position: relative;
  overflow: hidden;
}

.media-gallery {
  display: flex;
}

.media-item {
  flex-shrink: 0;
}
.container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    .section {
      padding: 30px 0;
    }
    .section-header {
      text-align: center;
      margin-bottom: 20px;
    }
    .carousel {
      position: relative;
      overflow: hidden;
      height: 300px;
    }
    .carousel__list {
      display: flex;
      list-style: none;
      padding: 0;
      margin: 0;
      transition: transform 0.5s ease;
    }
    .carousel__item {
      flex: 0 0 300px;
      margin-right: 10px;
      background: #f9f9f9;
      border: 1px solid #ddd;
      padding: 10px;
      box-sizing: border-box;
      text-align: center;
      position: relative;
      transition: transform 0.3s ease; /* Add transition for smoother scaling */
    }
    .carousel__item:hover {
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15); /* Add a slight hover shadow */
      transform: scale(1.02);
    }
    .carousel__item img,
    .carousel__item video {
      width: 100%;
      height: auto;
      cursor: pointer;
    }
    
    .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      font-size: 24px;
      color: #fff;
      background-color: rgba(0, 0, 0, 0.6);
      padding: 10px;
      border-radius: 50%;
      cursor: pointer;
    }
    .play-button:active {
      transform: translate(-50%, -50%) scale(0.95); /* Reduce button size when clicked */
    }
    /* Re-designed arrow buttons */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  cursor: pointer;
  color: #fff; /* Button color */
  background-color: #060606; /* Button background color */
  border: none;
  border-radius: 50%; /* Circular shape */
  width: 40px; /* Button width */
  height: 40px; /* Button height */
  line-height: 40px; /* Centering text vertically */
  text-align: center; /* Centering text horizontally */
  transition: background-color 0.3s, color 0.3s; /* Smooth transition */
}
.arrow:active{
  transform: translate(-1%, -50%) scale(0.95); /* Reduce button size when clicked */
}

/* Hover effect */
.arrow:hover {
  background-color: #f3f6fa; /* Darker shade of blue */
  color: #020202; /* Text color */
  /*border: 1px solid #020202;*/ /* Border width, style, and color */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.682); /* Add shadow effect */
}
.video-arrow {
  /* Adjust the top position for the arrow in the Video section */
  top: 32%;
}
/* Positioning left arrow */
.left-arrow {
  left: 0px; /* Space from left side */
}

/* Positioning right arrow */
.right-arrow {
  right: 0px; /* Space from right side */
}

    .full-screen-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      display: none;
    }
    .full-screen-overlay img,
    .full-screen-overlay video {
      max-width: 90%;
      max-height: 90%;
    }

    @media screen and (max-width: 768px) {
      /* Adjust video thumbnail size and position */
      .carousel__item video {
        width: 100%; /* Ensure video fills the container */
        height: auto; /* Maintain aspect ratio */
        object-fit: cover; /* Prevent stretching */
      }
    
      /* Adjust play button size */
      .play-button {
        font-size: 26px; /* Decrease font size */
        padding: 10px 10px; /* Adjust padding to increase width */
        line-height: 30px;
      }
    }
    /* CSS for zoom effect */
.full-screen-overlay {
  overflow: hidden;
}

.full-screen-overlay img {
  cursor: zoom-in;
  transition: transform 0.2s ease;
  position: relative;
}

.full-screen-overlay img.zoomed {
  cursor: grab;
  transform: scale(2);
}

    #close-overlay {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 24px;
      color: #fff;
      cursor: pointer;
    }
  