 @media only screen and (min-width: 992px) {
    body {
      font-size: 20px;
      width: 98%;
      margin: 5px;
    }
  }@media only screen and (min-width: 768px) and (max-width: 991px) {
    body {
      font-size: 12px;
      width: 98%;
      margin: 14px;
    }
  }
  @media only screen and (max-width: 767px) {
    body {
      font-size: 14px;
      width: 98%;
      margin: 5px;
    }
  }
  @media (max-width: 576px) {
  .card-form {
    padding: 20px;
  }
  }
/* top navbar colors match/mix*/
  .top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;

    /* Gradient background: dark orange on right, fading to transparent/left */
    background: linear-gradient(to left, #ff4500 0%, #060167 100%);

    /* Optional: rounded bottom edges to make it wave-like */
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;

    /* Optional: add subtle shadow for depth */
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

    .logo img {
      width: 150px;       /* Adjust width as needed */
      height: auto;       /* Keeps aspect ratio */
      display: inline-block;
      filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.5)); /* Adds subtle shadow for clarity */
      transition: transform 0.3s ease; /* Optional: smooth hover effect */
    }

    .login a {
      text-decoration: none;
      background-color:#ff4500;
      padding: 8px 16px;
      border-radius: 10px;
      font-weight: bold;
    }

    .login a:hover {
      background-color: white;
      color: #000;
    }

    footer {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color:#060167;
      color: white;
      text-align: center;
      padding: 10px 0;
      font-size: 14px;
    }

     
    .row{
      margin-top: 20px;
      background-color:none ;
    }
    
    .card-form h2 {
      text-align: center;
      margin-bottom: 24px;
      color:none;
    }
    .card-form{
      margin-top: 20px;
      margin-bottom: 20px;
      border-radius: 15px;
    }

    form {
      display: flex;
      flex-direction: column;
    }

    label {
      margin-bottom: 6px;
      color: #555;
    }

    input, textarea, select {
      padding: 12px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 16px;
      outline: none;
      transition: border-color 0.3s ease;
    }

    input:focus, textarea:focus, select:focus {
      border-color: #007BFF;
    }

   .card-form button {
      padding: 12px;
      background-color:none;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      transition: background-color 0.3s ease;
      cursor: pointer;

      
    }

    .card-form :hover {
      background-color:#6123 ;
    }

    /*bottom nav bar*/
    .bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #060167;
  border-top: 5px solid #ddd;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 0;
  z-index: 1000;
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

.nav-item {
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  text-decoration: none;
  flex: 1;
}

.nav-item:hover {
  color: #4b3ecf;
}

/* form home*/
/* Carousel wrapper inside container but allows full-width breakout */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Break image out of container padding to span full screen */
.full-width-img {
  width: 100vw;
  height: 300px;
  object-fit: cover;
  margin-left: calc(-50vw + 50%);
}

/* Carousel wrapper stays in layout flow */
    .carousel-wrapper {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

    /* Images break out of container and go full screen */
    .full-width-img {
      width: 100vw;
      height: 300px;
      object-fit: cover;
      margin-left: calc(-50vw + 50%);
    }

    /* Optional: Adjust image height for smaller screens */
    @media (max-width: 768px) {
      .full-width-img {
        height: 200px;
      }
    }

    @media (max-width: 480px) {
      .full-width-img {
        height: 150px;
      }
    }
    .rg{
      background-color:none;
      margin-top: 10px;
    }

/* Card-style box */
.info-card {
  background-color:#060167;/* light gray, like Bootstrap cards */
  color: white;
  padding: 40px 20px;
  border-radius: 12px;
  margin-top: 3px;
  margin-bottom:20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Centered, bold, italic text */
.info-text {
  font-size: 1.5rem;      /* Large text */
  font-weight: bold;      /* Bold */
  font-style: italic;     /* Italic */
  margin: 0;
  color: #ffffff;
}

 


    /* form application form*/

    .card {
      width: 100%;          /* full width of viewport */
      max-width: 100%;      /* prevent overflow */
      border: none;
      border-radius: 15px;
      box-sizing: border-box;
      margin-top: 30px;
      margin-left: 1px;
      margin-right: 1px;
      
    }

    .card-header {
      background-color: #61233c; /* Bootstrap primary */
      color: #fff;
      text-align: center;
      padding: 1rem;
      font-size: 20px;
    }

    .card {
      padding: 0.5rem;
    }
     @media (min-width: 992px) {
  .btn-success {
    width: 100%;
     }
      }
    /* Mobile adjustments */
    @media (max-width: 576px) {
      .card {
        padding: 1rem;
      }
      .btn-success{   
        width: 100%; /* Full-width button on small screens */
        background-color: #61233c;
        color: white;
      }
    }

    .bgs{
      background-color: #61233c;
      margin-bottom: 20px;
    }
  .one{
    background-color: #61233c;
    color: #ffffff;
    text-align: center;
    border-radius: 8px;
  }

  .form-group label{
    font-weight: 700;      /* Bold */
    color: #212529;        /* Dark gray (Bootstrap text color) */
    font-size: 1rem;       /* Adjust font size if you want it bigger */
    letter-spacing: 0.5px;
  }

  .form-instructions {
  font-style: italic;
  font-size: 1.1rem;      /* slightly small text */
  color: white;         /* Bootstrap's muted gray for professional look */
  margin-bottom: 1.5rem;
  line-height: 1.5;
  background-color: #060167;
  text-align: center;
  border-radius: 8px;
}

.form-control {
  border: 3px solid #61233c;   /* Blue border (Bootstrap primary color) */
  box-shadow: none;            /* Remove the default shadow */
}

.form-control:focus {
  border-color: #060167;       /* Darker blue on focus */
  box-shadow: 0 0 5px rgba(13,110,253,0.4); /* Soft glow effect */
}

.form-select{
  border: 3px solid #61233c;   /* Blue border (Bootstrap primary color) */
  box-shadow: none;          
}
.form-select:focus{
   border-color: #060167;       /* Darker blue on focus */
  box-shadow: 0 0 5px rgba(13,110,253,0.4); /* Soft glow effect */
}
/* table that fit all screen sizes*/
table {
      width: 100%;
      border-collapse: collapse;
    }

    th, td {
      border: 5px solid #61233c; /* black borders */
      padding: 10px;
      text-align: center;
    }

    th {
      background-color: #61233c; /* black background */
      color: #fff;           /* white text */
    }

    /* Responsive: ensure it fits all screens */
    @supports(-webkit-overflow-scrolling: touch){
    .table-container {
      width: 100%;
      overflow-x: auto;
       -webkit-overflow-scrolling: touch;
    }
  }
    @media (max-width: 576px) {
      th, td {
        font-size: 0.9rem;
        padding: 8px;
      }
    }
.rules{
  color: orange;
}

/* for booking form*/
.booking-form {
      background: greenyellow;
      border-radius: 12px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      padding: 20px;
      max-width: 900px;
      margin: 20px auto;
    }

    .form-section-title {
      font-weight: bold;
      color: #0d6efd;
      text-align: center;
      margin-bottom: 15px;
    }

    .form-label {
      font-weight: 700;
      color: white;
    }

    .note {
      font-size: 1rem;
      font-style: italic;
      color: #6c757d;
      text-align: center;
      margin-top: 15px;
    }

    .payment-info {
      font-size: 0.95rem;
      color: #dc3545;
      text-align: center;
      margin-bottom: 15px;
      font-weight: 600;
    }

    .btn-submit {
      width: 100%;
    }

    @media (max-width: 576px) {
      .booking-form {
        padding: 15px;
      }
    }
 .big-icon {
  font-size: 32px;
  color: white; /* Bootstrap red */
}
.white-text {
  color: white;
}



/* cash application*/
.form-header {
      background-color: #80bc00;
      color: white;
      padding: 1.25rem;
      border-radius: 0.375rem 0.375rem 0 0;
      text-align: center;
    }
    .notice {
      background-color: #fff3cd;
      border: 1px solid #ffeeba;
      color: #856404;
      padding: 0.75rem 1rem;
      border-radius: 0.375rem;
      margin-bottom: 1.5rem;
      font-size: 0.9rem;
      text-align: center;
    }
    .required::after {
      content: " *";
      color: red;
    }
    .form-control, .form-select {
      border: 2px solid #007bff;
      box-shadow: none;
    }
    .form-control:focus, .form-select:focus {
      border-color: #0056b3;
      box-shadow: 0 0 6px #80bdff;
    }
    label {
      font-weight: 600;
    }
    .submit-btn {
      width: 100%;
      font-weight: bold;
      font-size: 1.1rem;
    }
    @media (min-width: 768px) {
      .submit-btn {
        width: auto;
      }
    }
    .bot-card{
      background-color: #80bc00;
      padding: 40px 20px;
      border-radius: 12px;
      margin-top: 3px;
      margin-bottom:20px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
    .low-card{
      background-color: #003b4d;
      padding: 40px 20px;
      border-radius: 12px;
      margin-top: 3px;
      margin-bottom:20px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }
    
    /*user profile/you*/

    .profile-container {
  max-width: 900px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  margin: auto;
  box-shadow: 0 0 10px #ccc;
}
.user-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

/* Tabs */
.tabs {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}
.tab-btn {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background: #eee;
  border-radius: 5px;
  transition: 0.3s;
}
.tab-btn.active {
  background: #007bff;
  color: #fff;
}

/* Tab content */
.tab-content {
  display: none;
  margin-top: 20px;
}
.tab-content.active {
  display: block;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
th, td {
  border: 1px solid #ddd;
  padding: 10px;
}
.status-approved { color: green; }
.status-rejected { color: red; }
.status-pending { color: orange; }
.status-not_filled { color: gray; }

/* Notifications */
.notifications {
  list-style: none;
  padding: 0;
}
.notifications li {
  background: #f9f9f9;
  padding: 8px;
  margin-bottom: 5px;
  border-left: 4px solid #007bff;
}

/* Messages */
.message-box {
  border: 1px solid #ccc;
  padding: 10px;
}
#messages {
  height: 150px;
  overflow-y: auto;
  border: 1px solid #eee;
  margin-bottom: 10px;
  padding: 5px;
  background: #fafafa;
}
.msg.admin { color: #007bff; margin-bottom: 5px; }
.msg.user { color: green; margin-bottom: 5px; }
textarea {
  width: 100%;
  padding: 5px;
  resize: none;
}
button {
  padding: 5px 10px;
  cursor: pointer;
}

/* Downloads */
.downloads th, .downloads td {
  border: 1px solid #ddd;
  padding: 10px;
}