@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}


nav {
    background: #2286B8;
    height: 80px;
    width: 100%;
    z-index: 1000;
}

label.logo img {
    vertical-align: middle;
    height: 50px;
    width: auto;
    margin: 15px;
}

nav ul {
    float: right;
    margin-right: 20px;
}

nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 10px;
}

nav ul li a {
    color: white;
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav ul li a:hover {
    background: #18638A;
}

.checkbtn {
    font-size: 22px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
  }
  
  #check {
    display: none;
  }


.hero {
    background: url('./images/bg.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    height: 40vh;
    width: 100%;
    margin-top: 10px;
    text-align: center;
    position: relative;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 30px;
    border-radius: 8px;
    width: 80%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: rgb(246, 243, 243);
}

.btn {
    text-decoration: none;
    padding: 10px 20px;
    margin: 10px;
    display: inline-block;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.primary {
    background: #00C6FF;
    color: white;
}

.primary:hover {
    background: #009ECF;
}

.secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.secondary:hover {
    background: white;
    color: #333;
}



.content {
    padding: 40px 20px;
    text-align: center;
    background: #fff;
}

h1, h2 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.intro {
    margin-bottom: 40px;
}

.search {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9; /* Light background color */
    border-top: 1px solid #e0e0e0; /* Optional: separate with a border */
  }
  
  .search-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 600px; /* Set maximum width */
  }
  
  .search-input {
    flex: 1;
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    box-shadow: none;
    transition: border-color 0.2s ease;
  }
  
  .search-input:focus {
    border-color: #007bff; /* Highlight border on focus */
  }
  
  .search-btn {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #007bff; /* Button color */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .search-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
  }
  

.image-gallery {
    text-align: center;
    padding: 20px 10px;
    background: #e8f6ff;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card p {
    padding: 10px;
    font-size: 0.95rem;
    color: #444;
}

.card:hover {
    transform: scale(1.05);
}



@media (max-width: 890px) {
    .checkbtn {
      display: block;
    }

    .hero {
        margin-top: 0; /* Remove unnecessary top margin */
        height: auto; /* Allow height to adjust dynamically */
        padding: 20px; /* Add padding for spacing */
        text-align: center;
    }

    .hero-content {
        padding: 10px 20px; /* Adjust padding for smaller screens */
        font-size: 90%; /* Slightly reduce font size */
    }

    .hero-content h1 {
        font-size: 2rem; /* Adjust font size for mobile screens */
    }

    .hero-content p {
        font-size: 1rem; /* Adjust paragraph font size */
    }

    .search-container {
        flex-direction: column; /* Stack elements vertically */
        gap: 15px; /* Add spacing between input and button */
      }
    
      .search-input,
      .search-btn {
        width: 100%; /* Make input and button full-width */
      }


    .card-container {
        flex-direction: column;
        align-items: center;
    }
    label.logo {
      font-size: 22px;
    }
    nav {
      width: 100vw;
      z-index: 2;
    }
    nav ul {
      position: fixed;
      width: 100%;
      height: 100vh;
      background: #2c3e50;
      top: 80px;
      left: -100%;
      text-align: center;
      transition: all .5s;
      z-index: 10000;
    }
  
    nav ul li {
      display: block;
      margin: 50px 0;
      line-height: 30px;
    }
  
    nav ul li a {
      font-size: 20px;
    }
  
  
  
    #check:checked~ul {
      left: 0;
    }
  }