body {margin:0;font-family:Arial}
@keyframes fadeZoomIn{0%{opacity:0;transform:scale(0.8)}100%{opacity:1;transform:scale(1)}}.trusted-clients{text-align:center;padding:40px 20px}.trusted-clients h2{font-size:2em;margin-bottom:30px;animation:fadeZoomIn .8s ease-in-out forwards}.logo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:20px;justify-items:center;align-items:center}.logo-grid img{width:100px;height:auto;opacity:0;transform:scale(0.8);animation:fadeZoomIn .6s ease-in-out forwards}.logo-grid img:nth-child(1){animation-delay:.1s}.logo-grid img:nth-child(2){animation-delay:.2s}.logo-grid img:nth-child(3){animation-delay:.3s}.logo-grid img:nth-child(4){animation-delay:.4s}.logo-grid img:nth-child(5){animation-delay:.5s}.logo-grid img:nth-child(6){animation-delay:.6s}.logo-grid img:nth-child(7){animation-delay:.7s}.logo-grid img:nth-child(8){animation-delay:.8s}.logo-grid img:nth-child(9){animation-delay:.9s}.logo-grid img:nth-child(10){animation-delay:1s}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.active {
  background-color: #aa040400;
  color: white;
}

.topnav .icon {
  display: none;
}
.head {
  display: flex;
  align-items: center;
  background-color: #f8f9fa;
  padding: 10px 20px;
  border-bottom: 2px solid #ccc;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-container img {
  height: 100px;
}

.ad-container {
  overflow: hidden;
  white-space: nowrap;
  margin-left: 20px;
  flex-grow: 1;
  position: relative;
}

.ad-track {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-left 25s linear infinite;
  min-width: 200%; /* ensures room for looping */
}

.ad-item {
  display: inline-block;
  margin-right: 100px;
  font-size: 1rem;
}

.ad-item a {
  text-decoration: none;
  color: #007bff;
  font-weight: bold;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #555;
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: black;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/*message*/
.container-message {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.left, .right {
  flex: 0 0 48%; /* Two columns taking 48% each */
  margin: 10px;
}
.section-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 10px;
}
.highlight {
  font-weight: bold;
  color: orangered;
}
.highlight2, .bold {
  color: #333;
}
.left p, .right p {
  margin: 5px 0;
}
a {
  color: #007bff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Media Queries for Responsive Layout */
@media screen and (max-width: 768px) {
  .container-message {
    flex-direction: column; /* Switch to single column layout */
    padding: 10px;
  }
  .left, .right {
    flex: 0 0 100%; /* Full width for smaller screens */
    margin: 10px 0;
  }
  .section-title {
    font-size: 1em;
  }
}
@media screen and (max-width: 480px) {
  .container {
    padding: 5px;
  }
  .section-title {
    font-size: 0.9em;
  }
  a {
    font-size: 0.9em;
  }
}

#google-map {
  padding: 40px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#google-map h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.map-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
}

iframe {
  width: 100%;
  height: 350px;
  border: 0;
}

/* Responsive */
@media (max-width: 768px) {
  iframe {
    height: 300px;
  }

  #google-map h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  iframe {
    height: 250px;
  }
}

/*form*/
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 900px;
  margin: 20px auto;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  gap: 20px; /* Space between columns */
}
/* Left Column */
.container .left1 {
  flex: 0 0 48%; /* Left column takes 48% of the container width */
}
/* Right Column */
.container .right1 {
  flex: 0 0 48%; /* Right column takes 48% of the container width */
}

/* Form Styling */
form {
  width: 100%;
}
.form-group {
  margin-bottom: 15px;
}
label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
input[type="text"],
input[type="email"],
input[type="number"],
button,
select,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
button {
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  text-align: center;
}
button:hover {
  background-color: #0056b3;
}
/* Responsive Design for Small Screens */
@media screen and (max-width: 768px) {
  .container {
    flex-direction: column; /* Switch to stacked layout */
  }
 .left,
  .right {
    flex: 0 0 100%; /* Full-width for both columns */
  }
}
@media screen and (max-width: 480px) {
  input[type="text"],
  input[type="email"],
  input[type="number"],
  button {
    font-size: 0.9em;
    padding: 8px;
  }
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .topnav, .dropdown-content {
    flex-direction: column;
  }
  .container {
    flex-direction: column;
  }
  .left1, .right1 {
    width: 100%;
    flex: 0 0 100%; /* Full width for smaller screens */
    margin: 10px 0;
  }
}
@media screen and (max-width: 600px) {
    .topnav a:not(:first-child), .dropdown .dropbtn {
      display: none;
    }
    .topnav a.icon {
      float: right;
      display: block;
    }
  }
  @media screen and (max-width: 600px) {
    .topnav.responsive {position: relative;}
    .topnav.responsive .icon {
      position: absolute;
      right: 0;
      top: 0;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      width: 100%;
      text-align: left;
    }
  }
/* Media queries */
@media screen and (max-width: 768px) {
  .container {
    max-width: 100%;
    margin: 10px;
    padding: 10px;
  }
  .panel-heading h1 {
    font-size: 24px;
  }
  .form-control {
    font-size: 14px;
  }
  .btn-primary {
    font-size: 14px;
    padding: 8px 12px;
  }
  .panel-footer {
    font-size: 10px;
  }
}
/* Media Query for Responsive Design */
@media (max-width: 768px) {
    .captcha-container {
      flex-direction: column;
      align-items: flex-start;
      padding: 5px;
    }
    #generatedCaptcha {
      font-size: 1.2em;
    }
    .refresh-btn {
      padding: 3px 6px;
      font-size: 0.9em;
    }
  }

  .container {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.row {
    display: flex;
    gap: 20px;
}

.col-half {
    flex: 1;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: calc(100% - 12px);
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    box-sizing: border-box;
}

.error-message {
    color: red;
    font-size: 0.8em;
    margin-top: 5px;
}

.captcha-box {
  max-width: 400px;
  margin: 0 auto;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.captcha-box .captcha-row {
  display: flex;
      align-items: center;
      margin-bottom: 15px; 
}

.captcha-box .captcha-row .captcha-display {
   font-family: 'Courier New', monospace;
      font-size: 22px;
      font-weight: bold;
      letter-spacing: 4px;
      padding: 10px 15px;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 5px;
      margin-right: 15px;
      min-width: 220px;
      text-align: center;
}

.refresh-btn {
   font-size: 20px;
      background: #e0e0e0;
      border: none;
      padding: 10px;
      border-radius: 5px;
      cursor: pointer;
       min-width: 25px;
}

.refresh-btn:hover {
  background-color: #ddd;
}

.input-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.input-group input {
  flex-grow: 1;
  padding: 8px;
  font-size: 16px;
}

.submit-btn {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #0056b3;
}

.btn-primary {
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    display: block;
    width: 200px;
    margin: 20px auto;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #218838;
}
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background-color: #fff;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
  outline: none;
}

/* Mobile Devices */
@media screen and (max-width: 480px) {
  .logo-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #img_001 {
    width: 70px;
    height: 70px;
  }

  #img_002 {
    width: 150px;
    height: 70px;
  }
}
@media screen and (max-width: 768px) {
  .container {
    padding: 15px;
  }

  .row {
    display: flex;
    flex-direction: column;
  }

  .col-half {
    width: 100%;
  }

  .form-group {
    margin-bottom: 15px;
  }

  input.form-control,
  select.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    box-sizing: border-box;
  }

  label {
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
  }

  .captcha-box {
    margin-top: 20px;
    text-align: center;
  }

  .captcha-display {
    font-size: 22px;
    padding: 10px;
    margin-bottom: 10px;
  }

  .input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .submit-btn,
  .refresh-btn {
    width: 100% !important;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
  }

  h1 {
    font-size: 22px;
    text-align: center;
  }

  h2 {
    font-size: 18px;
  }
}
