﻿ 
/* Base Styles */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  overflow-x: hidden;
}

body > main {
  flex: 1;
}

body {
  font-family: Arial, sans-serif;
  padding: 0 0 100px;
}

/* Form Container */
.form-container {
  background: #fff;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  width: 50%;
  max-width: 100%;
  margin: auto;
  margin-bottom: 80px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #665201;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo img {
  height: 85px;
}

.header-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  color: white;
}

.header-buttons a,
.search-icon {
  color: white;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  font-size: 20px; /* Adjust size here */
}


.search-wrapper {
  display: none;
  align-items: center;
  gap: 8px;
}

.search-wrapper.active {
  display: flex;
}

.search-input {
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  min-width: 193px;
  width: 250px;
  max-width: 100%;
}


.search-boxes-btn {
  width: 60px;
  padding: 6px 0;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}


.close-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: white;
  cursor: pointer;
}


/* Media Queries */

@media (max-width: 575.98px) {
  header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 10px;
  }

  .logo {
    display: flex;
    align-items: center;
    margin-right: 10px;
  }

  .logo img {
    height: 50px;
  }

  .header-buttons {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .header-buttons a,
  .search-icon {
    font-size: 16px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    display: inline-block;
  }

  .search-trigger {
    width: 100%;
    margin-top: 8px;
  }

  .search-wrapper {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
  }

  .search-wrapper.active {
    display: flex;
  }

  .search-input {
    flex: 1;
    width: 100%;
    padding: 6px 10px;
    border-radius: 4px;
    border: none;
  }

  .search-boxes-btn {
    padding: 6px 10px;
    flex-shrink: 0;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  .close-btn {
    font-size: 18px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
  }
}





/* Moving Text */
.moving-text-container {
  overflow: hidden;
  white-space: nowrap;
  background-color: #ffffff;
  padding: 8px 0;
  width: 100%;
}

.moving-text {
  font-family: 'Nirmala UI', 'Tunga', sans-serif;
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 100s linear infinite;
  color: red;
  font-weight: bold;
  font-size: 18px;
}

.moving-text:hover {
  animation-play-state: paused;
  cursor: pointer;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Image Cards */
.img-card-fixed {
  width: 100%;
  max-width: 170px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: #021a38;
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-card-fixed:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 18px rgba(0,0,0,0.3);
}

.img-card-fixed img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #ddd;
}

.card-caption {
  padding: 5px 0;
}

.card-caption h6 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  font-weight:bold;
}

.card-caption p {
  margin: 0;
  font-size: 12px;
  color: #fff;
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  border: none;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
}

.card a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

.card a:hover {
  text-decoration: underline;
}

.card-text {
  font-size: 14px;
  color: #333;
  margin-top: 10px;
}

/* Slider */
.slider {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  padding: 0 !important;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
  margin-left: 0;
  transform: translateX(0%);
}

.slides img {
  flex: 0 0 100%;
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.col-sm-4 {
  padding: 0 !important;
}

/* Center Text */
.center-text {
  text-align: center;
  padding: 0 15px;
}
/* This keeps desktop view on a single line */
.mobile-break::before {
  content: " ";
}

/* Only on screens smaller than 576px (typical mobile breakpoint) */
@media (max-width: 575.98px) {
  .mobile-break::before {
    content: "\A"; /* Line break */
    white-space: pre;
  }
}


.center-text h1 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 900;
  color: #665201;
  letter-spacing: 1px;
  transition: transform 0.3s;
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 50px;
}

.center-text h2 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 900;
  color: #212529;
  letter-spacing: 1px;
  transition: transform 0.3s;
  margin-top: 10px;
  margin-bottom: 20px;
  font-size: 40px;
}

.center-text h1:hover,
.center-text h2:hover {
  transform: scale(1.05);
}

.center-text p {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  margin-top: -10px;
}

/* Footer */
.site-footer {
  background-color: #212121;
  color: white;
  padding: 20px 0;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  width: 100%;
  margin-top: auto;
}

.footerabout {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.6;
  margin-top: 10px;
  text-align: justify;
}

.site-footer a {
  color: #ffffff;
  font-weight: bold;
  text-decoration: underline;
}

.site-footer a:hover {
  color: #ffc107;
}

.social-icons a {
  color: #ffffff;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffc107;
}

.footer-center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #ccc;
  margin-top: 1rem;
}

.footer-text {
  font-size: 14px;
  color: #fff;
  margin: 0;
}

/* Form Styles */
.form-container h2 {
  text-align: center;
  color: #007bff;
  margin-bottom: 25px;
}
/* Default for desktop and larger */
.responsive-logo {
  max-width: 150px;
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile-specific adjustments */
@media (max-width: 575.98px) {
  .responsive-logo {
    max-width: 107px;
  }
}
/* Default size remains unchanged */

/* Mobile view (screen width ≤ 575.98px) */
@media (max-width: 575.98px) {
  .responsive-heading {
    font-size: 0.9rem; /* or use 20px if preferred */
    line-height: 1.4;
  }
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #ffffff;
}

.icon-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.phone-icon i {
  color: #ffffff;
  font-size: 25px;
}

.whatsapp-icon i {
  color: green;
  font-size: 30px;
}


.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

input, select {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.submit-container {
  text-align: center;
  margin-top: 30px;
}

.submit-container_cat {
  text-align: center;
}

.submit-btn {
  padding: 12px 24px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #218838;
}

/* Refund Policy */
.refund-policy-note {
  text-align: center;
  background-color: #ffecec;
  border: 1px solid #ffcccc;
  border-radius: 6px;
  padding: 20px 15px;
  margin: 20px auto 30px auto;
  width: 90%;
  max-width: 800px;
}

.refund-title {
  margin-bottom: 10px;
  font-size: 30px;
  font-weight: 600;
  color: #b20000;
}

.refund-text {
  font-size: 15px;
  font-weight: 500;
  color: #b20000;
  margin: 0;
}

.refund-footer {
  font-size: 16px;
  color: #007bff;
  font-weight: 500;
  margin-top: 30px;
}

/* Lists */
ul {
  list-style-type: none;
}

li {
  font-size: 18px;
}

.custom-bullets li {
  list-style: none;
  margin-bottom: 8px;
}

.custom-bullets i {
  font-size: 8px;
  color: #b20000;
  margin-right: 10px;
  vertical-align: middle;
}

/* GridView */
.mGridcenter {
  width: 100%;
  border-collapse: collapse;
  margin: 20px auto;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.mGridcenter th {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 10px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.mGridcenter td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #e8e8e8;
  background-color: white;
  transition: all 0.3s ease;
}

.mGridcenter tr:hover td {
  background-color: #f0f7ff;
  transform: scale(1.01);
}

.mGridcenter .alt td {
  background-color: #fafafa;
}

.mGridcenter .alt:hover td {
  background-color: #f0f7ff;
}

.mGridcenter .pgr {
  text-align: center;
  padding: 15px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-top: 3px solid #667eea;
}



/* Button Group */
.button-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}



/* ID Card */
.id-card {
  width: 440px;
  height: 313px;
  background: #fff;
  border: 2px solid #000;
  margin: auto;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  font-size: 10px;
}

.header {
  display: flex;
  align-items: flex-start;
  background: #f2e527;
  padding: 10px;
  border-bottom: 2px solid #660000;
  font-family: Arial, sans-serif;
}

.header-left {
  flex-shrink: 0;
  text-align: center;
}

.header-left img {
  width: 100px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.logo-details {
  font-size: 8px;
  margin-top: 5px;
  line-height: 1.2;
  color: #0033cc;
}

.logo-details span {
  display: block;
}

.header-center {
  flex-grow: 1;
  padding-left: 10px;
}

.header-center h1 {
  color: #d40000;
  font-size: 20px;
  margin: 0;
  font-weight: bold;
}

.header-center h2 {
  color: #0033cc;
  font-size: 18px;
  margin: 3px 0;
}

.header-center p {
  font-size: 10px;
  margin: 3px 0;
  line-height: 1.3;
  color: #0033cc;
}

.header-bottom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 9px;
  margin-top: 6px;
  color: #660000;
}

.header-bottom-row span {
  white-space: nowrap;
}

.id-title {
  background: #660000;
  color: #fff;
  font-weight: bold;
  width: 76px;
  text-align: center;
  margin: 3px auto;
  padding: 7px;
  border-radius: 3px;
  font-size: 8px;
}

.info-section {
  display: flex;
  justify-content: space-between;
  padding: 5px;
}

.info-left {
  flex: 1;
  padding-right: 5px;
}

.info-left p {
  font-size: 13px;
  margin: 2px 0;
  font-weight: bold;
  color: #1b3b52;
}

.info-right {
  text-align: center;
  position: relative;
}

.profile-img {
  width: 99px;
  height: 119px;
  border: 1px solid #000;
  margin-left: 16px;
  margin-right: 32px;
}

.seal-img {
  position: absolute;
  bottom: -5px;
  right: -5px;
  width: 40px;
  opacity: 0.8;
}

.footer-lines {
  margin-top: 2px;
}

.footer-yellow {
  height: 9px;
  background: #f6c000;
  margin-top: 20px;
}

.footer-red {
  height: 4px;
  background: #b30000;
}

/* Modal */
.modalBackground {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
}

.modalPopup {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 95vw !important;
  height: 90vh !important;
  background-color: #fff !important;
  border-radius: 10px !important;
  box-shadow: 0px 0px 15px rgba(0,0,0,0.3) !important;
  z-index: 9999 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

.modal-close-btn {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 10001 !important;
  cursor: pointer !important;
  background: white !important;
  border: 1px solid #ccc !important;
  border-radius: 3px !important;
  padding: 2px !important;
}

/* Payment Success */
.payment-success-card {
  background: radial-gradient(circle at top left, rgba(153, 90, 255, 0.12) 0%, transparent 60%),
              radial-gradient(circle at bottom right, rgba(255, 186, 90, 0.15) 0%, transparent 60%),
              #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  max-width: 450px;
  margin: auto;
}

.check-circle {
  width: 60px;
  height: 60px;
  background-color: #22c55e;
  color: white;
  font-size: 26px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.payment-success-card h2 {
  color: #1e1e4f;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 10px;
}

.payment-success-card .sub-text {
  color: #555;
  font-size: 14px;
}

.payment-success-card hr {
  margin: 20px 0;
  border-top: 2px solid #000000;
}

.payment-success-card .details p {
  font-size: 14px;
  margin-bottom: 10px;
  color: #333;
}

/* Payment Failed */
.payment-failed-card {
  background: radial-gradient(circle at top left, rgba(255, 100, 100, 0.1) 0%, transparent 60%),
              radial-gradient(circle at bottom right, rgba(255, 150, 150, 0.15) 0%, transparent 60%),
              #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  max-width: 450px;
}

.error-circle {
  width: 60px;
  height: 60px;
  background-color: #dc2626;
  color: white;
  font-size: 26px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.payment-failed-card h2 {
  color: #b91c1c;
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 10px;
}

.payment-failed-card .sub-text {
  color: #666;
  font-size: 14px;
}

.payment-failed-card hr {
  margin: 20px 0;
  border-top: 2px solid #ddd;
}

/* ====== MOBILE RESPONSIVE STYLES ====== */

/* Tablets and Small Desktops */
@media (max-width: 992px) {
  .form-container {
    width: 90%;
    padding: 20px;
  }
  
  .center-text h1 {
    font-size: 40px;
  }
  
  .center-text h2 {
    font-size: 32px;
  }
  
}

/* Mobile Devices */
@media (max-width: 768px) {
  /* Base Layout */
  html, body {
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  body {
    padding-bottom: 120px;
  }
  
 
  
  /* Moving Text Mobile */
  .moving-text {
    font-size: 14px;
  }
  
  /* Center Text Mobile */
  .center-text {
    padding: 0 10px;
  }
  
  .center-text h1 {
    font-size: 28px;
    white-space: normal;
    line-height: 1.2;
  }
  
  .center-text h2 {
    font-size: 22px;
    white-space: normal;
    line-height: 1.2;
  }
  
  /* Form Mobile */
  .form-container {
    width: 95%;
    padding: 15px;
    margin: 10px auto 20px;
    border-radius: 8px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .form-group {
    width: 100%;
  }
  
  input, select {
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
  }
  
  .submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }
  
  /* Grid Mobile */
  .mGridcenter {
    font-size: 12px;
    margin: 10px auto;
  }
  
  .mGridcenter th {
    padding: 8px 4px;
    font-size: 11px;
  }
  
  .mGridcenter td {
    padding: 8px 4px;
    font-size: 11px;
  }
  
  /* Card Grid Mobile */
  .col-sm-3 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 5px !important;
    margin-bottom: 15px;
  }
  
  .img-card-fixed {
    max-width: 100%;
  }
  
  /* Slider Mobile */
  .slider {
    margin: 10px 0;
  }
  
  .slides img {
    height: auto;
    width:100%;
  }
  
  /* Footer Mobile */
  .site-footer {
    font-size: 14px;
    padding: 15px 10px;
  }
  
  .footer-center {
    flex-direction: column;
    gap: 10px;
  }
  
  /* Refund Policy Mobile */
  .refund-policy-note {
    width: 95%;
    padding: 15px 10px;
    margin: 15px auto 20px;
  }
  
  .refund-title {
    font-size: 24px;
  }
  
  .refund-text {
    font-size: 13px;
  }
  
  /* ID Card Mobile */
  .id-card {
    width: 95%;
    max-width: 400px;
    height: auto;
    min-height: 280px;
  }
  
  .profile-img {
    width: 80px;
    height: 100px;
    margin: 0 10px;
  }
  
  /* Payment Cards Mobile */
  .payment-success-card,
  .payment-failed-card {
    width: 95%;
    max-width: 400px;
    padding: 20px;
    margin: 10px auto;
  }
  
  /* Modal Mobile */
  .modalPopup {
    width: 98vw !important;
    height: 95vh !important;
    border-radius: 8px !important;
  }
}

/* Extra Small Mobile */
@media (max-width: 576px) {
  /* Header Extra Small */
  
  /* Center Text Extra Small */
  .center-text h1 {
    font-size: 29px;
  }
  
  .center-text h2 {
    font-size: 25px;
  }
  
  /* Form Extra Small */
  .form-container {
    width: 98%;
    padding: 12px;
  }
  
  input, select {
    padding: 10px;
    font-size: 14px;
  }
}


  .menu-line {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;  
  }

  .menu-line a {
    text-decoration: none;
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px; 
    transition: background-color 0.3s;
  }

  .menu-line a:hover {
    background-color: #ccc;
  }


.mobile-break-text {
  font-size: 16px; /* Default for desktop/system view */
}

@media (max-width: 768px) {
  .mobile-break-text {
    font-size: 12px !important;
  }
}
