html, body {
    font-family: "Segoe UI", Arial, sans-serif;
    letter-spacing: 0.3px;
    margin: 0;
    padding: 0;
overflow-x: hidden; /* Prevents horizontal scrolling */
    background: #FFFFFF;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #052436;
    padding: 10px 20px;
    width: 100%;
    font-size:1.2em;
}

.logo {
    height: 50px;
}

.menu {
    list-style: none;
    padding: 0;
    margin-right: 150px;
    display: flex;
    gap: 15px;
}

.hamburger {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 24px;
    background:#052436;
    border: none;
    padding: 10px;
    }


.menu li {
    position: relative;
}

.menu a {
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    display: block;
    transition: background 0.3s ease;
}

.menu a:hover {
    background: #007bff;
}
/* Sub-Arrow Styling */
.sub-arrow {
  position: absolute;
  top: 50%;
  right: 10px; /* Align to right */
  transform: translateY(-50%);
  font-size: 12px;

}
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: black;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 100;
    white-space: nowrap;
}

.submenu li {
    width: 100%;
}

.submenu a {
    color: white;
    padding: 10px;
    display: block;
    transition: background 0.3s ease;
}

.submenu a:hover {
    background: #003366;
}

.menu-item { 
    position: relative;
}

.menu-item:hover .submenu {
    display: block;
    right: 0;
    left: auto;
}

.submenu .submenu {
    top: 0;
    left: 100%;
}

.menu-item.right-edge .submenu {
    right: auto;
    left: -100%;
}

.menu li:hover .submenu {
    display: block;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slideshow {
    width: 1000px;
    height: 400px;
    margin: 20px auto;
    background: black;
}

.slideshow img {
    width: 1000px;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}
 /* Navigation Bar */
        .navbar {
            display: flex;
            align-items: center;
            justify-content: center; /* Centers the inline list */
            padding: 3x 20px;
            background-color: #f8f9fa;
            position: relative; /* Needed for absolute positioning of login */
        }

/* Styling for list */
        .list-inline {
            padding-left: 0;
            list-style: none;
            display: flex;
            gap: 20px; /* Space between links */
            text-align: center;
        }

        .list-inline li {
            display: inline-block;
            position: relative;
        }
.list-inline a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}
  /* Login button container (aligned right) */
        .login-container {
            position: absolute;
            right: 20px; /* Push login to the rightmost end */
            top: 50%;
            transform: translateY(-50%); /* Align vertically */
        }

        .login-container a {
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px; /* Space between icon and text */
            color: #333;
            font-size: 17px;
        }

        /* Font Awesome User Icon */
        .fa-user {
            font-size: 30px;
            color: #333;
        }
.news-ticker:hover .news-content {
    animation-play-state: paused;
}

.news-ticker {
    width: 100%;
    background: #052436;
    color: white;
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.news-content {
    display: inline-block;
    padding-left: 100%;
    animation: scrollNews 26s linear infinite;
    font-size: 16px;
    font-weight: bold;
}

@keyframes scrollNews {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

.footer {
    background: #052436;
    color: white;
    padding: 40px 20px;
    text-align: center;
    width: 100%; /* Ensures the footer spans full width */
    position: relative;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: auto;
    width: 100%;
   max-width: 100%; /* Instead of 100vw */
padding: 20px 0; /* Avoid left/right padding if not needed */
}

.footer-left, .footer-middle, .footer-right {
    width: 30%;
    min-width: 200px;
max-width: 100%; /* Instead of 100vw */
padding: 20px 0; /* Avoid left/right padding if not needed */

}

.footer h3 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ff9800;
    display: inline-block;
    padding-bottom: 5px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin: 5px 0;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-icons a {
    color: white;
    margin: 0 10px;
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ff9800;
}

.footer-bottom {
    background: #052436;
    padding: 10px;
    margin-top: 10px;
}

@media screen and (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }

    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        flex-direction: column;
        align-items: center;
        background: #003366;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        display: block;
        padding: 15px;
        color: white;
        text-align: center;
    }
}

.flexslider .slides li {
    list-style: none;
    width: 100%;
    height: 500px;
    display: flex;           /* IMPORTANT FIX */
    justify-content: center; /* center image horizontally */
    align-items: center;     /* center image vertically */
    overflow: hidden;
}


.flexslider img {
    width: 100%;
    max-width: 1000px;
    max-height: 500px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.flexslider .slides li:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    transition: all 2s;
}

.flexslider .flex-control-paging li a {
    width: 8px;
    height: 8px;
    display: block;
    background: #fff;
    cursor: pointer;
    text-indent: -9999px;
    border-radius: 50%;
}

.flexslider .flex-control-paging li a.flex-active {
    background: #c600ff;
}
#content {
    flex: 1; /* Pushes the footer down */
}

/* Statistics container */
.stats-navbar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;

  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  padding: 20px;
  gap: 20px;

  background-color: #afbead;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);

  overflow: hidden;
}


/* Individual square boxes */
.stat-item {
  width: 180px;
  height: 180px;
  min-width: 180px;
  min-height: 180px;

  box-sizing: border-box;

  background-color: #eff4ee;
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  padding: 15px;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Hover effect */
.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


/* Icons */
.stat-icon {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 55px;
  height: 55px;

  margin-bottom: 8px;
}

.stat-icon img {
  width: 50px;
  height: 50px;

  object-fit: contain;
}


/* Counter number */
.stat-count {
  width: 100%;
  text-align: center;
}

.stat-count .stat-timer {
  display: block;

  font-size: 24px;
  font-weight: bold;
  line-height: 1.2;

  color: #333;

  margin: 5px 0;
}


/* Title */
.stat-title {
  font-size: 14px;
  color: #666;

  margin-top: 5px;

  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {

  .stats-navbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
    width: 100%;
    overflow: visible;
  }

  .stat-item {
    width: 100%;
    min-width: 0;
    height: auto;
    min-height: 120px;
    aspect-ratio: 1 / 1;
    padding: 8px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
  }

  .stat-icon img {
    width: 35px;
    height: 35px;
  }

  .stat-count .stat-timer {
    font-size: 18px;
    margin: 3px 0;
  }

  .stat-title {
    font-size: 11px;
    margin-top: 3px;
  }
}


/* Small mobile screens */
@media (max-width: 480px) {

  .stats-navbar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
    overflow: visible;
  }

  .stat-item {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 8px;
  }

  .stat-icon {
    width: 35px;
    height: 35px;
  }

  .stat-icon img {
    width: 30px;
    height: 30px;
  }

  .stat-count .stat-timer {
    font-size: 17px;
  }

  .stat-title {
    font-size: 11px;
  }
}

.services {
    display: flex;
    justify-content: space-between; /* Ensures even spacing */
    align-items: flex-start; /* Aligns items from the top */
    padding: 20px;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
    background: #afbead;
    box-sizing: border-box;
    flex-wrap: wrap; /* Ensures wrapping if content overflows */
    min-height: 500px; /* Ensure enough height */
}

.service {
    flex: 1;
    text-align: center;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 30%;
    min-height: 300px; /* Ensure content fits properly */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align:justify;
    height:450px/* Balances content */
}
.services {
    margin-bottom: 50px; /* Adds space below the services section */
}


.service img {
     width: 100%; /* Ensures the image takes the full width of its container */
    height: 200px; /* Set a fixed height */
    object-fit: cover; /* Ensures images maintain aspect ratio and cover the fixed height */
    border-radius: 8px;
}

@media (max-width: 768px) {
    .services {
	 
       flex-direction: column;
        gap: 10px;
    }

    .service {
        max-width: 100%;
    }
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

  /* Responsive Design */
        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                align-items: center;
                justify-content: center;
            }

            .list-inline {
                flex-wrap: wrap;
                justify-content: center;
            }

            .login-container {
                position: static;
                margin-top: 10px;
                transform: none;
            }
        


