﻿/* -------------------------
   Updated stylesheet8.css
-------------------------- */

/* Global Reset */
html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Hamburger Menu (for Mobile) */
#menu-toggle {
  display: none;
}
.menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Container & Grid */
.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #f8f8f8;
  position: relative;
}
.row {
  width: 100%;
}
.row::after {
  clear: both;
  content: '';
  display: block;
}
[class*="col-"] {
  float: left;
  padding: 15px;
}
[class*="col-"] {
  width: 100%;
}

/* Header */
.fixd-hd {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  padding: 5px;
  box-sizing: border-box;
}

/* Logo */
.logo img {
  max-width: 100%;
  height: auto;
}



/* Navigation – default for mobile */
nav ul {
  list-style: none;
  display: block;
  text-align: right;
}
nav ul li {
  display: block;
}
nav ul li a {
  display: block;
  text-decoration: none;
  color: white;
  line-height: 70px;
  padding: 0 18px;
  text-transform: uppercase;
  font-size: 1.1rem;
}
nav ul li a:hover {
  background-color: orange;
}

/* Media Query: Medium Devices (min-width:768px) */
@media (min-width:768px) {
  .logo img {
    height: 60px;
    width: 60px;
    text-align: left;
  }
  nav ul {
    text-align: right;
    display: flex;
  }
  nav ul li {
    display: inline-block;
  }
  nav ul li a {
    display: inline-block;
    font-size: 1.1rem;
  }
  nav ul li a:hover {
    background-color: orange;
  }
  .card{
    max-width: 100%;
  }
  .card-body img {
    max-width: 50%;
    float: left;
  }
  .card-desc {
    max-width: 50%;
    float: right;
  }
  .part-desc {
    max-width: 50%;
    float: left;
  }
  .part-body img {
    max-width: 50%;
    float: right;
  }
  .map {
    width: 100%;
  }
  .column-recent-act {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%;
  }
  .col-lg-1 {
    width: 8.33%;
  }
  .col-lg-2 {
    width: 16.66%;
  }
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-4 {
    width: 33.33%;
  }
  .col-lg-5 {
    width: 41.66%;
  }
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-7 {
    width: 58.33%;
  }
  .col-lg-8 {
    width: 66.66%;
  }
  .col-lg-9 {
    width: 75%;
  }
  .col-lg-10 {
    width: 83.33%;
  }
  .col-lg-11 {
    width: 91.66%;
  }
  .col-lg-12 {
    width: 100%;
  }
}

/* Media Query: Large Devices (min-width:992px) */
@media (min-width:992px) {
  .logo img { 
    height: 60px;
    width: 60px;
    text-align: left;
  }
  nav ul {
    text-align: right;
    display: flex;
  }
  nav ul li {
    display: inline-block;
  }
  nav ul li a {
    display: inline-block;
    font-size: 1.1rem;
  }
  nav ul li a:hover {
    background-color: orange;
  }
  .card-body img {
    max-width: 50%;
    float: left;
  }
  .card-desc {
    max-width: 50%;
    float: right;
  }
  .part-desc {
    max-width: 50%;
    float: left;
  }
  .part-body img {
    max-width: 50%;
    float: right;
  }
  .map {
    width: 100%;
  }
  .column-recent-act {
    -ms-flex: 25%;
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }
  .col-lg-1 {
    width: 8.33%;
  }
  .col-lg-2 {
    width: 16.66%;
  }
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-4 {
    width: 33.33%;
  }
  .col-lg-5 {
    width: 41.66%;
  }
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-7 {
    width: 58.33%;
  }
  .col-lg-8 {
    width: 66.66%;
  }
  .col-lg-9 {
    width: 75%;
  }
  .col-lg-10 {
    width: 83.33%;
  }
  .col-lg-11 {
    width: 91.66%;
  }
  .col-lg-12 {
    width: 100%;
  }
}

/* Responsive Navigation for Mobile Devices */
@media (max-width:768px) {
  .container {
    flex-wrap: wrap;
  }
  .menu-icon {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
  }
  nav {
    width: 100%;
  }
  nav ul {
    flex-direction: column;
    position: absolute;
    top: 60px; /* Adjust as needed */
    left: 0;
    right: 0;
    background: skyblue;
    display: none;
    margin: 0;
    padding: 0;
  }
  nav ul li {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  nav ul li a {
    padding: 10px;
    line-height: normal;
  }
  /* Show navigation when the checkbox is checked */
  #menu-toggle:checked ~ nav ul {
    display: flex;
  }
}
