* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("king.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0.7;
}

/* Navbar Styles */
.nav {
  display: flex;
  height: 70px;
  background-color: #333;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}

.links-container {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.links a {
  color: white;
  text-decoration: none;
  padding: 4px 20px;
  font-size: 20px;
}

.logo {
  color: white;
  padding-left: 20px;
}

.logo img {
  max-height: 50px;
  border-radius: 5px;
}

h6 {
  font-size: 50px;
  color: white;
  margin-left: 50px;
}

.menu-icon {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  margin-left: auto;
}

.links a:hover {
  background-color: black;
  color: #f4f4f4;
}

#home-section {
  height: calc(100vh - 58px);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* About Section Styles */
#about-section {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  margin: 20px;
  color: #333;
}

#about-section h1 {
  font-family: "Georgia", serif;
  font-size: 36px;
  margin-bottom: 20px;
  color: #444;
}

#about-section p {
  font-family: "Arial", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

#about-section ul {
  list-style-type: none;
  padding-left: 0;
}

#about-section ul li {
  background: #f4f4f4;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
#about-section ul li:nth-child(even) {
  background-color: #bde7fa;
}

#blog-section {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  color: #333;
  font-family: "Arial", sans-serif;
  max-width: 800px; /* Set this to match the width of #about-section */
  width: 100%; /* Ensure it takes the full width up to max-width */
}

#blog-section h1 {
  font-family: "Georgia", serif;
  font-size: 28px;
  margin-bottom: 15px;
  color: #444;
  text-align: center;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
}

.flex-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

#blog-section p {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  background: rgba(240, 248, 255, 0.8); /* Light blue background */
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex: 1;
  min-width: 0; /* Allow flex items to shrink properly */
}

#blog-section p img {
  display: block;
  max-width: 100%; /* Ensure image doesn't exceed container width */
  height: auto;
  margin: 10px auto 0; /* Center the image */
  border-radius: 5px;
}

.image-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.image-row img {
  width: calc(25% - 10px); /* Adjust width based on number of images and gap */
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}
.enlarged {
  transform: scale(1.5); /* Adjust the scale as needed */
  z-index: 10;
  position: relative;
}

#contact-section {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 20px;
  margin: 20px auto;
  color: #333;
  max-width: 800px;
  width: 100%;
  font-family: "Arial", sans-serif;
}

#contact-section h6 {
  font-family: "Georgia", serif;
  font-size: 36px;
  margin-bottom: 20px;
  color: #444;
  text-align: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-left,
.contact-right {
  flex: 1;
  min-width: 300px;
}

.contact-left {
  display: flex;
  flex-direction: column;
}

.contact-left-title h2 {
  font-family: "Georgia", serif;
  font-size: 28px;
  color: #444;
  margin-bottom: 10px;
}

.contact-left-title hr {
  border: 1px solid #ccc;
  margin-bottom: 20px;
}

.contact-inputs {
  font-family: "Arial", sans-serif;
  font-size: 16px;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-inputs:focus {
  border-color: #0066cc;
  box-shadow: 0 0 8px rgba(0, 102, 204, 0.5);
}

button[type="submit"] {
  font-family: "Arial", sans-serif;
  font-size: 16px;
  padding: 10px 20px;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #004080;
}

.contact-right img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-left,
  .contact-right {
    min-width: 100%;
  }

  button[type="submit"] {
    width: 100%;
    padding: 15px;
  }
}

/* Ensure the Roboto font is imported */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap");

/* Home Section Styles */
#home-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 58px); /* Adjust height if needed */
  background: rgba(0, 0, 0, 0.7); /* Dark overlay to enhance text visibility */
  color: #fff; /* White text color for better contrast */
  text-align: center; /* Center the text */
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}

#home-section p {
  font-family: "Roboto", sans-serif; /* Apply Roboto font */
  font-size: 24px; /* Increase font size for readability */
  font-weight: 400; /* Normal font weight */
  line-height: 1.6; /* Space out lines for better readability */
  margin: 0; /* Remove default margin */
  padding: 20px;
  background: rgba(255, 255, 255, 0.1); /* Light translucent background */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
  max-width: 800px; /* Limit width for better text alignment */
}

#home-section p em {
  display: block; /* Make it block element to place it on new line */
  font-weight: 700; /* Bold text */
  margin-top: 10px; /* Space above */
}

/* Responsive Blog Section */
@media (max-width: 480px) {
  .flex-container {
    display: flex;
    flex-direction: column; /* Stack the <p> tags vertically */
    gap: 10px;
    margin-bottom: 20px;
  }

  .flex-container p {
    font-size: 18px; /* Larger text */
    font-weight: bold;
    line-height: 1.4;
    text-align: left;
    background: rgba(240, 248, 255, 0.8); /* Light blue background */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .flex-container p img {
    display: block;
    max-width: 120%; /* Make images larger in first two <p> tags */
    height: auto;
    margin: 10px auto 0; /* Center image */
    border-radius: 5px;
    transition: transform 0.3s ease; /* Smooth transition for hover effect */
  }

  .flex-container p:hover img {
    transform: scale(1.1); /* Slightly enlarge image on hover */
  }

  .image-row {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Add space between images */
  }

  .image-row img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 5px;
  }
}

@media (max-width: 480px) {
  .links-container {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }

  .links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 58px;
    right: 0;
    width: 100%;
    background-color: black;
  }

  .links a {
    padding: 10px;
    text-align: center;
    font-size: 18px;
    width: 100%;
  }

  .menu-icon {
    display: block;
    font-size: 30px;
    margin-right: 20px;
  }

  .links.show {
    display: flex;
  }

  h6 {
    font-size: 20px;
    margin-left: 50px;
  }

  #about-section {
    padding: 20px;
    margin-top: 20px;
  }

  p {
    gap: 10px;
    padding: 10px;
  }

  ul {
    padding: 10px;
  }
}
