/* General Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

.logo {
  width: 280px;
  height: auto;
  padding-left: 9%;
}

h1, h2, h3 {
  text-align: center;
  line-height: 1.4;
  margin: 0;
}

h1 {
  text-transform: uppercase;
  color: red;
  font-size: 2em;
  padding-top: 50px;
}

h2 {
  padding-top: 80px;
  background-color: #000;
  color: whitesmoke;
}

h3 {
  color: #000;
  padding-top: 40px;
}

/* Navigation */
nav {
  height: 150px;
  background: #8b0101;
  border-bottom: 5px solid #fff;
}

nav ul {
  float: right;
  list-style: none;
  margin-right: 25px;
  align-items: center;
  padding-top: 60px;
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  font-size: 25px;
  text-decoration: none;
  padding: 20px;
  transition: background-color 0.3s, padding 0.3s;
}



label #sign-one,
label #sign-two {
  font-size: 30px;
  color: #cd6060;
  float: right;
  margin-right: 30px;
  cursor: pointer;
  display: none;
}

#res-menu {
  display: none;
}

@media (max-width: 878px) {
  label #sign-one {
    display: block;
  }

  nav ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: crimson;
    top: 50px;
    left: -100%;
    text-align: center;
    transition: 0.5s;
    z-index: 10;
  }

  nav ul li {
    display: block;
    margin: 40px 0;
  }

  nav ul li a {
    font-size: 20px;
  }

  #res-menu:checked ~ ul {
    left: 0;
  }

  #res-menu:checked ~ label #sign-one {
    display: none;
  }

  #res-menu:checked ~ label #sign-two {
    display: block;
  }
}

/* Banner Area */
.banner-area {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url(./images/bg.jpg);
  background-size: cover;
  background-position: center;
  height: 50vh;
}

.banner-text {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.banner-text h2 {
  color: #fff;
  margin-top: -140px;
  font-size: 56px;
}

/* Main Content */
.content, main {
  padding: 0 20%;
}

.content {
  text-align: justify;
}

main {
  padding-top: 20px;
}

/* Page Sections */
.home-content, .gallery-content, .timeline-content {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.home-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background-color: #005562;
  padding-bottom: 10%;
}

.text-content, .image-column, .video-column {
  background-color: whitesmoke;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
  padding: 20px;
}

.image-column img, .video-column video {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.text-content {
  padding: 0 10%;
}

/* Gallery Styling */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item img, .gallery-item video {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item p {
  padding: 10px;
  font-size: 0.9em;
  color: #555;
}

/* Timeline Styling */
.timeline {
  position: relative;
  padding: 20px 0;
  border-left: 2px solid #ddd;

}

.timeline-item {
  position: relative;
  margin: 15px;
 align-items: center;
  background-color: #d8d9db;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  width: 14px;
  height: 14px;
  background-color: #3498db;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #3498db;
}

.timeline-date {
  font-weight: bold;
  color: #3498db;
 
  text-align: center;
}

.timeline-content h3 {
  font-size: 1.2em;
  color: #3498db
}

.timeline-content p {
  color: #666;
  font-size: 14px;
  text-align: left;
}

@media (min-width: 768px) {
  .timeline {
    border-left: none;
    display: flex;
    align-items: center;
  }

  .timeline-item {
    width: 80%;
    text-align: left;
    max-width: 600px;
    padding-left: 0;
  }
}

/* Footer */
footer {
  background-color: #000000;
  color: #fff;
  text-align: center;
  padding: 10px;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .home-content, .about-content .developer-columns {
    flex-direction: column;
  }
}


nav ul li a:hover {
    background-color: #000000;
    border-radius: 5px;
}



/* Contact Info Section */
.contact-info p {
    margin-bottom: 1rem;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 600px;
    margin: 2rem auto;
    padding: 20px;
}

form label {
    font-weight: 500;
    padding: 20px;
}

form input, form textarea, form button {
    padding: 0.5rem;
    font-size: 1rem;
}

form input, form textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
}

form button {
    background-color: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

form button:hover {
    background-color: #555;
}



/* Responsive Design */
@media (min-width: 768px) {
    nav label {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        border-radius: 8px;
    }

    nav ul li {
        margin: 0;
    }

    nav input[type="checkbox"]:checked + label + ul {
        display: flex;
    }
}

@media (min-width: 1024px) {
    nav ul {
        display: flex;
        position: static;
        flex-direction: row;
        background-color: transparent;
        width: auto;
    }

    nav input[type="checkbox"], nav label {
        display: none;
    }

    .banner-area h2 {
        font-size: 3rem;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
       
    }
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    align-items: center;
}