
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: rgba(77, 117, 17, 0.874);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 20px;
  background-color: rgba(77, 117, 17, 0.874);
}

.logo {
  font-size: 30px;
  color: rgb(236, 219, 41);
  font-weight: bold;
  text-decoration: none;
}

.navbar div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.link {
  color: black;
  text-decoration: none;
  font-size: 20px;
  padding: 8px 12px;
}

.btn {
  border: none;
  background-color: black;
  color: rgba(245, 245, 245, 0.874);
  padding: 10px 20px;
  border-radius: 14px;
}

.bg {
  width: 100%;
  max-height: 700px;
  object-fit: cover;
}

hr {
  margin: 0;
}

/* Cards Container */
.main-container {
  flex: 1;
  padding: 20px;
}

.card5 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  width: 250px;
  border: 1px solid black;
  border-radius: 10px;
  padding: 15px;
  background-color: rgba(77, 117, 17, 0.874);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.img1 {
  width: 200px;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
}

.od {
  border: none;
  background-color: black;
  color: rgba(245, 245, 245, 0.874);
  padding: 10px 24px;
  border-radius: 14px;
  text-decoration: none;
  margin-top: 10px;
}
.od1{
  border: none;
  background-color: black;
  color: rgba(245, 245, 245, 0.874);
  padding: 15px 30px;
  border-radius: 14px;
  text-decoration: none;
  margin-top: 10px;
  margin-left: 80px;
}

/* Footer */
.footer {
  background-color: #000;
  color: white;
  padding: 40px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-container>div {
  flex: 1 1 250px;
}

.footer h3,
.footer h4 {
  color: orangered;
}

.footer a {
  color: white;
  text-decoration: none;
}

.footer a:hover {
  color: orange;
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid #555;
  padding-top: 10px;
  font-size: 14px;
  color: #ccc;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar div {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
  }

  .logo {
    margin-bottom: 10px;
  }

  .card {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .img1 {
    width: 100%;
    height: auto;
  }

  .card {
    padding: 10px;
  }

  .od {
    padding: 8px 16px;
  }
  .od1{
    border: none;
    background-color: black;
    color: rgba(245, 245, 245, 0.874);
    padding: 10px 24px;
    border-radius: 14px;
    text-decoration: none;
    margin-top: 10px;
  }

  .btn {
    padding: 8px 16px;
  }
}
  /* Sub Header (second navbar) */
  .sub-navbar {
    background-color: #dad419;
    display: flex;
    align-items: center;
    justify-content: center;  
    gap: 20px;                 
    padding: 10px 20px;
  }
  .sub-navbar a {
    color: rgb(255, 9, 9);
    text-decoration: none;
    font-size: 18px;
    padding: 8px 12px;
  }
  
  .sub-navbar a:hover {
    background-color: rgba(0, 0, 0, 0.874);
    color: rgb(255, 0, 0);
    border-radius: 8px;
  }
    
  /* Logo side */
  .logo-section {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo-section img {
    width: 60px;
    height: 60px;
  }
  
  
  /* Dropdown */
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropbtn {
    background-color: #333;
    color: white;
    padding: 8px 12px;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
  }
  
  .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
    /* Show dropdown on hover */
    .dropdown:hover .dropdown-content {
      display: block;
    }
    /* Tablet Screen ke liye */
@media (max-width: 768px) {
  /* Navbar */
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-section {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 10px;
  }

  .menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  /* Sub-navbar */
  .sub-navbar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .sub-navbar a,
  .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
  /* Mobile Screen ke liye */
@media (max-width: 480px) {
  .logo {
    font-size: 18px;
  }

  .link {
    font-size: 16px;
    padding: 6px 10px;
  }

  .btn {
    padding: 6px 12px;
    font-size: 14px;
  }

  .sub-navbar a,
  .dropbtn {
    font-size: 16px;
    padding: 6px 10px;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:  rgba(77, 117, 17, 0.874);
    color: #222;
    line-height: 1.6;
  }

.container4 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px;
}


.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}


.card9 {
  background: #e8d717;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card9:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.card9 img {
  width: 100%;
  height: 220px;           
  object-fit: cover;       
  display: block;
}

.card9 .content {
  padding: 16px 14px 18px;
}

.card9 p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .three-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .three-grid { grid-template-columns: 1fr; }
  .card9 img { height: 200px; }
}
a {
  text-decoration: none;
  color: blue;
  font-weight: bold;
  margin-right: 10px;
}

a:hover {
  color: red;
}