* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  user-select: none;
}
html,
body {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}
nav {
  padding: 8px 120px 8px 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 79px;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 200px;
  top: 5px;
  text-align: center;
}
#backToTop {
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  font-size: 22px;
  border: none;
  outline: none;
  background-color: #333;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  display: none;
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: #555;
}
.logo img {
  width: 59px;
  height: 60px;
}
.logo p {
  font-size: 10px;
  font-weight: bold;
  margin-top: 4px;
  letter-spacing: 0.5px;
}
nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav ul li {
  list-style-type: none;
}

nav ul li a {
  text-decoration: none;
  color: black;
  position: relative;
  transition: color 0.3s;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}
nav ul li a,
a:focus,
a:active,
a:hover {
  border: none !important;
  outline: none !important;
}

nav ul li a:hover {
  background-color: #f4f4f4;
  border-radius: 10px;
}

.menu-icon {
  display: none;
  position: absolute;
  right: 30px;
}

.menu-icon i {
  font-size: 30px;
  cursor: pointer;
  user-select: none;
}
/* Navbar section ends*/
/* Hero section */
.hero-main-section {
  padding: 30px;
}
.hero-section {
  background-color: #1f3242;
  color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.hero-section .box-container {
  max-width: 2200px;
  width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-section .content {
  text-align: center;
  max-width: 1200px;
  margin-bottom: 4rem;
  flex: 0 0 auto; /* Don't grow or shrink */
}
.grid-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 98%;
  height: 133%;
  pointer-events: none; /* Allows clicking through the grid */
  z-index: 0;
}

.vertical-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-image: linear-gradient(to bottom, #3a5369 1px, transparent 1px);
  background-size: 1px 6px; /* Adjust dot size and spacing */
}

.horizontal-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background-image: linear-gradient(to right, #3a5369 1px, transparent 1px);
  background-size: 6px 1px; /* Adjust dot size and spacing */
}
.vertical-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px dotted #3a5369;
}

.horizontal-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  border-top: 1px dotted #3a5369;
}
/* Vertical lines positions */
.v-line-1 {
  left: 15%;
  top: 9%;
}
.v-line-2 {
  left: 87%;
  top: 9%;
}

/* Horizontal lines positions */
.h-line-1 {
  top: 43%;
  left: 2%;
}
.h-line-2 {
  top: 94%;
  left: 2%;
}

.hero-section .heading {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-section .underline {
  text-decoration: underline;
}

.hero-section .description {
  color: #b8bbbd;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 1000px; /* Fixed width for description */
  margin: 0 auto 2.5rem;
}

.hero-section .cta-button {
  display: inline-block;
  background-color: #bd5109;
  color: #ffffff;
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1.125rem;
  transition: background-color 0.3s ease;
}

.hero-section .cta-button:hover {
  background-color: #a84608;
}

.hero-section .image-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  flex: 1; /* Allow image container to grow */
  position: relative; /* Add this */
  z-index: 1; /* Add this to place above the grid lines */
}

.hero-section .main-image {
  width: 100%;
  height: auto;
  display: block;
}
/* Hero section ends*/
/* Documentry section */

.document-section .box-container {
  max-width: auto;
  margin: 0 auto;
  padding: 0 20px;
}

.document-section .header-description {
  background-color: #f2f0eb;
  border-radius: 12px;
  padding: 24px;
  margin: 40px auto;
  text-align: center;
  max-width: 800px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

.document-section .latest-videos {
  text-align: center;
  margin-bottom: 40px;
}

.document-section .section-label {
  color: #b45309;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.document-section .section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 16px;
}

.document-section .section-description {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 16px;
}

.document-section .documentary-section {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e7eb;
}

.document-section .documentary-section:last-child {
  border-bottom: none;
}

.document-section .documentary-content {
  flex: 1;
}

.document-section .documentary-image {
  flex: 1;
  position: relative;
}

.document-section .documentary-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.document-section .category-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #6b7280;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.document-section .documentary-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 16px;
  line-height: 1.3;
}

.document-section .youtube-link {
  display: inline-flex;
  align-items: center;
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  margin-top: 16px;
}

.document-section .youtube-link svg {
  margin-left: 4px;
}

.document-section .youtube-link:hover {
  text-decoration: underline;
}

.document-section .flag-container {
  position: relative;
}

.document-section .flag {
  width: 100px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.document-section .report-label {
  font-size: 18px;
  font-weight: 700;
  color: #1e3a8a;
  margin-top: 8px;
}

.document-section .country-name {
  font-size: 28px;
  font-weight: 800;
  color: #1e3a8a;
  margin-top: 4px;
}

.document-section .topic-label {
  font-size: 18px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 12px;
}

/* Documentry section ends*/
/* Journalist section*/

.Journal-section img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Container */
.Journal-section .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Header section */
.Journal-section .header {
  text-align: center;
  margin-bottom: 4rem;
}

.Journal-section .subtitle {
  color: #bd5109;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.Journal-section .title {
  color: #1f3242;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.Journal-section .description {
  color: #646769;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* Journalists section */
.Journal-section .journalists {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.Journal-section .journalist {
  display: flex;
  flex-direction: row; /* change from column to row */
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap; /* ensures responsiveness */
}

.Journal-section .journalist-image {
  width: 300px; /* or adjust to your preferred image size */
  flex-shrink: 0;
}
.Journal-section .journalist-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}
.Journal-section .journalist-info {
  flex: 1; /* Takes remaining space */
}

.Journal-section .journalist-name {
  color: #1f3242;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.Journal-section .journalist-title {
  color: #646769;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.Journal-section .journalist-bio {
  color: #646769;
  line-height: 1.7;
}

/* Journalist section ends*/
/* Form section*/
.form-section {
  background-color: #f4f1ec;
}
.form-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header styles */
.form-section .form-header {
  text-align: center;
  padding: 3rem 1rem;
  max-width: 700px;
  margin: 0 auto;
}

.form-section .form-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
}

.form-section .form-header p {
  color: #4a5568;
  font-size: 1rem;
}

/* Form styles */
.form-section form {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.form-section .form-section {
  margin-bottom: 2rem;
}

.form-section h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1a202c;
}

.form-section .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.form-section .form-group {
  flex: 1;
  min-width: 250px;
  margin-bottom: 1.5rem;
}

.form-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-section .required {
  color: #e53e3e;
}

.form-section input,
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

.form-section textarea {
  resize: vertical;
}

.form-section .phone-input {
  display: flex;
}

.form-section .country-code {
  width: 70px;
  margin-right: -1px;
}

.form-section .country-code select {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  background-color: #f7fafc;
}

.form-section .phone-input input {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.form-section .submit-btn {
  display: block;
  width: 100%;
  padding: 1rem;
  background-color: #c05621;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.form-section .submit-btn:hover {
  background-color: #9c4221;
}

/* Form section end*/
/* Footer section */
footer {
  background-color: #fff;
  padding: 3rem 1.5rem 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.company-info {
  min-width: 250px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

address {
  font-style: normal;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.donate-btn {
  padding: 0.5rem 1.5rem;
  background-color: #c05621;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.donate-btn:hover {
  background-color: #9c4221;
}

footer h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer a {
  color: #4a5568;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

footer a:hover {
  color: #1a202c;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  font-size: 0.8rem;
  color: #718096;
}
/* Footer section end */
/* imprint section */
.imprint-section {
  max-width: 800px;
  margin: 40px auto;
  width: 100%; /* Add this */
  padding: 0 20px;
  color: #2d3748;
  line-height: 1.6;
}
.page-wrapper {
  flex: 1;
}
.imprint-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 2rem;
}
a:focus,
button:focus {
  outline: 2px dashed #bd5109;
  outline-offset: 2px;
}
nav ul {
  transition: max-height 0.3s ease;
}
.imprint-section p {
  margin: 0.5rem 0;
}

.imprint-section .section {
  margin-bottom: 2rem;
}

.imprint-section .section-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.imprint-section .contact-item {
  display: flex;
  align-items: center;
  margin: 0.5rem 0;
}

.imprint-section .contact-item svg {
  margin-right: 0.75rem;
  min-width: 18px;
}

.imprint-section .address p {
  margin: 0.25rem 0;
}
.social-links li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1a202c;
  font-size: 0.9rem;
}

.social-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
/* imprint section end */

@media screen and (min-width: 300px) and (max-width: 1200px) {
  nav ul {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    text-align: left;
    gap: 0;
    overflow: hidden;
    background-color: #ffff;
    display: flex; /* ensure flex is applied */
    align-items: flex-start;
  }
  nav ul li {
    padding: 10px;
    padding-top: 20px;
  }
  .menu-icon {
    display: block;
    top: 50%;
    transform: translateY(-50%);
  }
  .logo {
    position: absolute;
    left: 20px;
    top: 10px;
  }
  #menuList {
    transition: all 0.3s;
  }
  /* Hero-sections starts */
  .hero-section .box-container {
    max-width: 1500px;
    width: auto;
  }
  .hero-section .heading {
    font-size: 2.25rem;
  }
  .hero-main-section {
    padding: 0px;
  }
  .hero-section .description {
    font-size: 1rem;
  }

  .hero-section .content {
    margin-bottom: 2.5rem;
  }
  /* Hero-sections ends */
  /* Documentry sections  */
  .document-section .documentary-section {
    flex-direction: column;
    gap: 24px;
  }

  .document-section .documentary-section:nth-child(even) {
    flex-direction: column;
  }

  .document-section .section-title {
    font-size: 28px;
  }

  .document-section .documentary-title {
    font-size: 20px;
  }
  /* Documentry sections ends */
  /* Journal section */
  .Journal-section .title {
    font-size: 3rem;
  }

  .Journal-section .journalist-image {
    width: 100%;
    max-width: 300px;
  }

  .Journal-section .journalist-info {
    width: 100%;
  }
  .Journal-section .journalist {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .Journal-section .journalist-name,
  .Journal-section .journalist-title,
  .Journal-section .journalist-bio {
    text-align: center;
  }
  /* Journal section end*/
  .form-section .form-header h1 {
    font-size: 1.75rem;
  }

  .form-section .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-section .form-group {
    min-width: 100%;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-column {
    min-width: 100%;
  }
  .grid-container {
    display: none;
  }
}
