/* ===== THEME VARIABLES ===== */
/* Change colors here to update the entire theme */
:root {
  --primary: #1a4b8c; /* Deep blue - trust, professionalism */
  --secondary: #f8f9fa; /* Light gray background */
  --accent: #2e6bb5; /* Lighter blue for highlights */
  --text: #333333; /* Dark gray for text */
  --light-text: #ffffff; /* White text for contrast */

  /* Color Scheme */
  --primary: #2c3e50; /* Navy blue - professional, trustworthy */
  --secondary: #f8f9fa; /* Light gray background */
  --accent: #ff7e5f; /* Coral - attention-grabbing CTA */
  --text: #333333; /* Dark gray for text */
  --light-text: #ffffff; /* White text for contrast */

  --primary: #1a4b8c; /* Deep blue - trust, professionalism */
  --secondary: #f8f9fa; /* Light gray background */
  --accent: #2e6bb5; /* Lighter blue for highlights */
  --text: #333333; /* Dark gray for text */
  --light-text: #ffffff; /* White text for contrast */

  /* Button Colors */
  --btn-primary-bg: var(--light-text);
  --btn-primary-color: var(--primary);
  --btn-primary-hover-bg: #f0f0f0;
  --btn-primary-hover-color: var(--primary);

  --btn-accent-bg: var(--accent);
  --btn-accent-color: var(--light-text);
  --btn-accent-hover-bg: #e76f51;
  --btn-accent-hover-color: var(--light-text);

  --btn-outline-border: var(--light-text);
  --btn-outline-color: var(--light-text);
  --btn-outline-hover-bg: var(--light-text);
  --btn-outline-hover-color: var(--primary);

  --btn-outline-primary-border: var(--primary);
  --btn-outline-primary-color: var(--primary);
  --btn-outline-primary-hover-bg: var(--primary);
  --btn-outline-primary-hover-color: var(--light-text);

  /* Other Variables */
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.1);
  --box-shadow-large: 0 5px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 10px;
  --transition: all 0.3s;
}

/* ===== BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  line-height: 1.6;
  padding-top: 76px;
  /* Account for fixed navbar */
}

.container {
  width: 100%;
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: 0 20px; */
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-weight: 700;
}

/* ===== NAVIGATION ===== */
.navbar {
  background-color: var(--primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  line-height: 1.8;
  --bs-navbar-padding-y: 0rem;
}

.navbar-brand {
  color: var(--light-text) !important;
  font-weight: 700;
  font-size: 1.8rem;
}

.nav-link {
  color: var(--light-text) !important;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.nav-link i {
  margin-right: 5px;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.phone-number {
  background: var(--accent);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.phone-number:hover {
  background: var(--btn-accent-hover-bg);
  color: var(--light-text);
  text-decoration: none;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
  background-color: var(--secondary);
}
.customRow{
    display: flex;
    justify-content: space-between;
}
.customRowCol{
    width: 50%;
}
.customRowColRight{
    width: 50%;
    text-align: right;
}
/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn.newcustom-btn {
  background: linear-gradient(135deg, #2563eb 0%, #1e3a5f 100%);
  color: #fff;
}

.btn-primary-custom {
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-color);
}

.btn-primary-custom:hover {
  background-color: var(--btn-primary-hover-bg);
  color: var(--btn-primary-hover-color);
}

.btn-accent {
  background-color: var(--btn-accent-bg);
  color: var(--btn-accent-color);
}

.btn-accent:hover {
  background-color: var(--btn-accent-hover-bg);
  color: var(--btn-accent-hover-color);
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid var(--btn-outline-border);
  color: var(--btn-outline-color);
}

.btn-outline-custom:hover {
  background: var(--btn-outline-hover-bg);
  color: var(--btn-outline-hover-color);
}

.btn-outline-primary-custom {
  background: transparent;
  border: 2px solid var(--btn-outline-primary-border);
  color: var(--btn-outline-primary-color);
}

.btn-outline-primary-custom:hover {
  background: var(--btn-outline-primary-hover-bg);
  color: var(--btn-outline-primary-hover-color);
}

.submit-btn {
  background: var(--primary);
  color: white;
  width: 100%;
  padding: 0.75rem;
  font-weight: 600;
}

.submit-btn:hover {
  background: #3a5978;
  color: white;
}

/* Progress Bar */
.progressbar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2rem;
}

.progressbar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: #d1d5db;
  transform: translateY(-50%);
  z-index: 0;
  border-radius: 4px;
}

.progress {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  background: #1a4b8c;
  transform: translateY(-50%);
  width: 0%;
  border-radius: 4px;
  transition: width 0.6s ease;
  z-index: 0;
}

.step {
  width: 40px;
  height: 40px;
  background: #d1d5db;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  font-weight: 600;
  color: #fff;
  transition: background 0.4s ease, transform 0.3s ease;
}

.step.active {
  background: #1a4b8c;
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(79, 70, 229, 0.5);
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #3a5978 100%);
  color: var(--light-text);
  padding: 5rem 0;
}

.hero-buttons .btn {
  margin: 0.3rem;
  min-width: 200px;
}

/* ===== PAGE TITLE SECTION ===== */
.page-title {
  background: linear-gradient(135deg, var(--primary) 0%, #3a5978 100%);
  color: var(--light-text);
  padding: 3rem 0;
  text-align: center;
}

.page-title h1 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-title p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ===== TEST CENTER SEARCH ===== */
.test-center-search {
  padding: 3rem 0;
  background: var(--secondary);
}

.search-container {
  box-shadow: var(--box-shadow);
  border-radius: 50px;
  overflow: hidden;
  background: white;
}

.search-icon {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-input {
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  width: 100%;
}

.search-input:focus {
  outline: none;
}

.search-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.search-btn:hover {
  background: var(--btn-accent-hover-bg);
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 2rem 0;
  background: white;
}

.service-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-img {
  height: 200px;
  background-color: #ddd;
  background-position: center;
  background-size: cover;
}

.service-content {
  padding: 1.5rem;
}

.service-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-content p {
  margin-bottom: 1.5rem;
  color: #666;
}

.service-buttons .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ===== CARDS SECTION ===== */
.cards-section {
  padding: 2rem 0;
  background: var(--secondary);
}

.card-item {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.card-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.card-image {
  height: 236px;
  overflow: hidden;
  /* padding: 8px; */
}

.card-item > .card-image{
  padding: 8px;
}

.card-image img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.test-image img {
  width: 100%;
  height: 100%;
  border-radius: 25px;
}

.card-content {
  padding: 1.25rem;
}

.card-title {
  color: white;
  margin-bottom: 1rem;
  margin-top: .5rem;
  font-weight: 700;
  font-size: 1.2rem;
  background-color: #1a4b8c;
  padding:  10px 2px 10px 2px;
  text-align: center;
}

.card-details {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
  padding-left: 10px;
}

.detail-item {
  display: flex;
  margin-bottom: 0.5rem;
  align-items: flex-start;
}

.detail-icon {
  color: var(--accent);
  margin-right: 0.5rem;
  font-size: 1rem;
  margin-top: -0.1rem;
  width: 16px;
}

.detail-text {
  flex: 1;
  font-size: 0.9rem;
}

.detail-label {
  font-weight: 600;
  color: var(--primary);
}

.card-description {
  margin-bottom: 0.5rem;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

.card-buttons {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.more-info {
  text-align: center;
}

.more-info a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.more-info a:hover {
  color: var(--btn-accent-hover-bg);
  text-decoration: underline;
}

/* ===== CARD DETAIL SECTION ===== */
.card-detail {
  padding: 1rem 0;
  background: white;
}

.card-image-container {
  display: flex;
  justify-content: center;
  margin-top: .5rem;
}

.card-image-specific {
  width: 350px;
  height: 220px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.card-image-specific img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CONTACT FORM ===== */
.contact {
  padding: 5rem 0;
  background: var(--secondary);
}

.form-container {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow-large);
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary);
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 5px 8px;
  font-size: 14px;
  border: 1px solid #ddd;
  transition: border-color 0.3s;
}
.form-control::placeholder {
  color: #c7baba;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary);
  color: var(--light-text);
  padding: 3rem 0 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-links a {
  color: var(--light-text);
  margin: 0 1rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {

  .card-content-page-parent{
    padding: 6px;
  }
  
  .form-control {
      font-size: 13px;
  }

  .cards-section .add-form-container .add-form-button .custom-btn {
    font-size: 12px;
  }
  .cards-section .add-form-container .line, .line2, .line3, .line4{
    width: 20% !important;
  }
  .services .service-card {
    padding: 10px;
  }
  .services .service-card p {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .services .service-card i {
    font-size: 35px;
    margin-bottom: 7px;
  }
  .services .service-card h5 {
    margin-bottom: 5px;
    font-size: 18px;
  }
  .phone-number {
    margin-top: 1rem;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer-links a {
    margin: 0.5rem 0;
  }

  .service-buttons,
  .hero-buttons {
    flex-direction: column;
  }

  .card-buttons .btn,
  .service-buttons .btn {
    width: 100%;
    margin-right: 0;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 14px;
    padding: 10px 0px;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .search-container {
    border-radius: 10px;
    flex-direction: column;
  }

  .search-icon {
    padding: 0.5rem;
  }

  .form-container {
    padding: 1.5rem;
  }
}

@media (min-width: 992px) {
  .card-detail .row {
    display: flex;
    align-items: center;
  }

  .card-image-container {
    margin-bottom: 0;
    justify-content: flex-start;
  }

  .card-buttons {
    justify-content: flex-start;
  }
}

.card-content-page {
  padding: .5rem;
  padding-bottom: 1rem;
}

@media (max-width: 992px) {
  .card-content {
    padding: 1rem;
  }

  .card-content-page {
    padding: .5rem;
    padding-bottom: 1rem;
  }
}

@media (min-width: 1200px) {
  .display-4 {
    font-size: 2rem;
  }
}

@media (max-width: 500px) {
  .display-4 {
    font-size: calc(1rem + 2.7vw);
    font-weight: 300;
    line-height: 1.2;
  }
}

@media (max-width: 576px) {
  .search-container {
    flex-direction: row;
    align-items: stretch;
  }

  .search-icon {
    padding: 0 0.75rem;
  }

  .search-btn {
    padding: 0 1rem;
  }
}

.test-card {
  height: 100%;
  transition: all 0.3s ease;
}

.test-card:hover {
  transform: translateY(-5px);
}

.card-required {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.card-tag {
  background-color: #e9ecef;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #495057;
}

.test-buttons {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  /* .test-buttons {
        flex-direction: column;
    } */

  .test-buttons .btn {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
  }
}

/* Test Search Section Styles */
.test-search-section {
  background-color: var(--secondary);
}

.test-search-section .search-container {
  box-shadow: var(--box-shadow);
  border-radius: 50px;
  overflow: hidden;
  background: white;
  display: flex;
}

.test-search-section .search-icon {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.test-search-section .search-input {
  border: none;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  width: 100%;
  flex: 1;
}

.test-search-section .search-input:focus {
  outline: none;
}

.test-search-section .search-input::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

.test-search-section .search-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}

.test-search-section .search-btn:hover {
  background: var(--btn-accent-hover-bg);
}

/* Responsive adjustments for search */
@media (max-width: 576px) {
  .test-search-section .search-container {
    border-radius: 10px;
    flex-direction: row;
  }

  .test-search-section .search-icon {
    padding: 0.75rem;
  }

  .test-search-section .search-btn {
    padding: 0 1rem;
  }
}

/* Additional styles for the courses page */
.course-card {
  height: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-required {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.course-duration {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.card-tag {
  background-color: #e9ecef;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: #495057;
}

.course-buttons {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .course-buttons {
    flex-direction: column;
  }

  .course-buttons .btn {
    width: 100%;
  }
}

/* Policy Pages Styles */
.policy-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.policy-content h3 {
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.policy-content h3:first-child {
  margin-top: 0;
}

.policy-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Contact Page Styles */
.contact-method {
  padding: 1.5rem;
  border-radius: 10px;
  background-color: var(--secondary);
  height: 100%;
}

.contact-method h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-method p {
  margin-bottom: 0.3rem;
}

/* FAQ Page Styles */
.faq-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.faq-question {
  padding: 1.25rem;
  background: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #f8f9fa;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.faq-answer.show {
  padding: 1.25rem;
  max-height: 500px;
}

.faq-answer-content {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.search-container.faq-search {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.service-img {
  height: 140px;
  border-radius: 8px;
}

/* Gradient background */
.gradient-bg11 {
  /* background: linear-gradient(135deg, #1a4b8c, #3b82f6, #60a5fa); */
  background: linear-gradient(135deg, var(--primary) 0%, #6b8fb3 100%);
  /* background: linear-gradient(135deg, #4f83c2 0%, #a3c4e6 100%); */
  color: var(--light-text);
  display: flex;
  align-items: center;
  justify-content: center;
  /* color: white; */
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.15); */
}

.gradient-bg {
  background: linear-gradient(135deg, var(--primary) 0%, #6b8fb3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.15); */
  gap: 10px; /* icon aur text ke beech space */
  padding: 12px;
  white-space: nowrap; /* text ko break hone se rokega */
}

.gradient-bg i {
  font-size: 30px; /* icon thoda bada */
  flex-shrink: 0; /* mobile par shrink na ho */
}

@media (max-width: 576px) {
  .gradient-bg {
    font-size: 14px; /* text thoda chhota */
    padding: 8px 10px; /* kam padding mobile ke liye */
    gap: 6px; /* icon aur text ke beech kam gap */
  }

  .gradient-bg i {
    font-size: 22px; /* icon bhi thoda chhota */
  }
}

#addressList .list-group-item {
  cursor: pointer;
  transition: background 0.2s ease;
}
#addressList .list-group-item:hover {
  background: #f5f8fc;
}
#addressList i {
  font-size: 14px;
}

.pt-0 {
  padding-top: 0px;
}

.mt-0 {
  margin-top: 0px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-15 {
  margin-top: 15px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-15 {
  margin-bottom: 15px;
}

.mb-20 {
  margin-bottom: 20px;
}

.test-title {
  background-color: var(--primary);
  color: white;
  padding: 1rem;
  margin-bottom: 0rem;
  font-weight: 700;
  text-align: center;
  font-size: 1.2rem;
}

.test-required {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Variants by card color */
.tag-green {
  color: #28a745; /* Green */
  border-color: #28a745;
  background-color: rgba(40, 167, 69, 0.08);
}

.tag-blue {
  color: #007bff; /* Blue */
  border-color: #007bff;
  background-color: rgba(0, 123, 255, 0.08);
}

.tag-gold {
  color: #d4af37; /* Gold */
  border-color: #d4af37;
  background-color: rgba(212, 175, 55, 0.1);
}

.tag-gold {
  color: #d4af37; /* Gold */
  border-color: #d4af37;
  background-color: rgba(212, 175, 55, 0.1);
}

.tag-black {
  color: #000; /* Black */
  border-color: #000;
  background-color: rgba(0, 0, 0, 0.05);
}

.tag-red {
  color: #dc3545; /* Red */
  border-color: #dc3545;
  background-color: rgba(220, 53, 69, 0.08);
}

.form-label {
  margin-bottom: 0.25rem !important;
}

#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CMS page content */
.common-container {
  max-width: 900px; /* keeps content in readable width */
  margin: 0 auto; /* centers container */
  padding: 30px 20px; /* space inside */
  background: #fff; /* white background */
  border-radius: 12px; /* rounded corners */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* subtle shadow */
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
}

/* Headings inside content */
.common-container h1,
.common-container h2,
.common-container h3 {
  margin-top: 20px;
  margin-bottom: 12px;
  font-weight: 600;
  color: #222;
}

/* Paragraphs */
.common-container p {
  margin-bottom: 16px;
}

/* Lists */
.common-container ul,
.common-container ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

/* Links */
.common-container a {
  color: #007bff;
  text-decoration: none;
}
.common-container a:hover {
  text-decoration: underline;
}

/* Tables if any */
.common-container table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.common-container th,
.common-container td {
  border: 1px solid #ddd;
  padding: 10px;
}
.common-container th {
  background: #f9f9f9;
  font-weight: 600;
}

.test-more-info {
  margin-top: 1rem;
}

.detail-item ul {
  padding-left: 0rem;
  width: 100%;
}

.detail-item ul li {
  list-style: none;
  border: 1px solid #ddd;
  padding: 4px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  margin-bottom: 6px;
}

.detail-item ul li label {
  margin-bottom: 0px;
  padding-left: 10px;
  line-height: 2.6;
  text-align: left;
  width: 100%;
}

.error {
  font-weight: 350 !important;
  color: red !important;
}

/* Css for the lead page */
.new-header-text {
  margin-bottom: 20px;
  background-color: #1a4b8c;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  max-height: 40px;
}

.new-header-text h3 {
  font-size: 14px;
  line-height: 2;
  text-align: left;
  font-weight: 600;
  color: white !important;
  margin-bottom: 0px;
}

.cards-section .add-form-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cards-section .billing-detail-container {
  padding: 0px 0px 0px 0px;
}

.cards-section .billing-detail-container .title h3 {
  font-size: 14px;
  line-height: 2;
  text-align: left;
  color: #1a4b8c;
  margin-bottom: 0px;
}

.cards-section .add-form-container .line {
  border-bottom: 2px dotted #1a4b8c;
  opacity: 0.3;
  width: 73%;
}

.cards-section .add-form-container .line2 {
  border-bottom: 2px dotted #1a4b8c;
  opacity: 0.3;
  width: 73%;
}

.cards-section .add-form-container .line3 {
  border-bottom: 2px dotted #1a4b8c;
  opacity: 0.3;
  width: 73%;
  width: 62%;
}

.cards-section .add-form-container .line4 {
  border-bottom: 2px dotted #1a4b8c;
  opacity: 0.3;
  width: 73%;
  width: 70%;
}


.fs-14 {
  font-size: 14px;
}
/* wrapper to hold select + arrow */
.custom-select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 2.5rem; /* space for arrow */
  background-color: #fff;
}

.custom-arrow {
  position: absolute;
  top: 70%;
  right: 18px;
  pointer-events: none;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #555; /* arrow color */
  opacity: 0.7;
}

.custom-select:focus + .custom-arrow {
  border-top-color: #007bff; /* match theme blue */
  opacity: 1;
}
.cards-section .add-form-container .add-form-button .custom-btn {
  background-color: #cfe6f6;
  padding: 6px 8px 6px 16px;
  min-width: 150px;
  color: #1a4b8c;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cards-section .add-form-button .plus {
  font-size: 18px;
  line-height: 1.3;
  color: #1a4b8c;
  padding-right: 10px;
}

.cards-section .add-form-container .add-form-button .custom-btn-remove .delete {
  padding-right: 10px;
  /* color: #e41111; */
  /* font-size: 16px; */
}

.cards-section .add-form-container .add-form-button .custom-btn-remove {
  /* text-transform: uppercase; */
  min-width: 110px;
  width: 100%;
  height: 36px;
  border-radius: 100px;
  border: 1px solid transparent;
  background-color: rgba(228, 17, 17, 0.13);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.92;
  text-align: center;
  color: #363636;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-buttons {
  margin-top: 1rem;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.booking-buttons a {
  width: 100px;
  float: left;
}

.booking-buttons button {
  width: 100px;
  float: right;
}

.add-form-button {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.index-links {
  text-decoration: none;
}

.btn-accent-rev {
    background-color: #e76f51;
    color: var(--btn-accent-color);
}

.btn-accent-rev:hover {
    background-color: #2e6bb5;
    color: var(--btn-accent-hover-color);
}


@media only screen and (max-width: 767px) {
  .hero {
    padding: 4rem 0;
  }
  .phone-number{
    margin-bottom: 20px;
  }
  .cards-section .add-form-container .add-form-button .custom-btn-remove {
      height: 30px;
      border-radius: 25px;
  }

  .cards-section .add-form-container .add-form-button .custom-btn {
      padding: 4px 6px 4px 12px;
      min-width: 135px;
      border-radius: 20px;   
      justify-content: left;	
  }

  .fs-14 {
      font-size: 12px;
  }

  .cards-section .add-form-button .plus {
      padding-right: 4px;
  }

  .progressbar {
      margin-bottom: 1rem;
  }

  .form-group label {
      font-size: 14px;
  }

  .cards-section .billing-detail-container .title h3 {
    font-size: 14px;
  }

  .add-form-button {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }

  .booking-buttons a {
    width: 100px;
    float: left;
    font-size: 14px;
  }

  .booking-buttons button {
    width: 100px;
    float: right;
    font-size: 14px;
  }
}

.security-card-shadow {
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
  border: 1px solid rgba(13, 67, 120, 0.06);
  box-shadow: 0 8px 30px rgba(6, 30, 50, 0.06);
  margin-top: 20px;
  border-radius: 12px;
}
.security-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border-radius: 12px;
  margin: 10px;
  max-width: 100%;
}

.security-left {
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    180deg,
    rgba(2, 79, 155, 0.06),
    rgba(2, 79, 155, 0.02)
  );
  box-shadow: 0 6px 18px rgba(2, 79, 155, 0.06),
    inset 0 -2px 6px rgba(255, 255, 255, 0.6);
}

.security-body {
  flex: 1;
  min-width: 0;
}

.security-body h5 {
  margin: 0 0 6px;
  font-size: 12px;
  color: #0f3a63;
  font-weight: 800;
}

.security-body .muted {
  margin: 0;
  color: #345a7a;
  font-size: 11px;
  line-height: 1.45;
}
.security-body .confirmed {
  margin: 8px 0 0;
  font-size: 13px;
  color: #138a3e; /* green confirmed text */
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.security-body .check {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e6f7ec;
  color: #138a3e;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
}

@media (max-width: 780px) {
  .security-card {
    gap: 12px;
    /* padding: 14px; */
    border-radius: 10px;
  }
  .security-left {
    flex: 0 0 46px;
  }
  .security-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }
}


.required-cls {
    color: red;
}



.add-form-container {
    display: flex;
    align-items: center; /* vertical center */
    gap: 10px; /* ye har element ke beech 10px space dega */
}

.add-form-container .title {
    flex: 0 0 auto; /* apne content ke hisaab se width lega */
}

.add-form-container .add-form-button {
    flex: 0 0 auto; /* apne content ke hisaab se width lega */
}

.add-form-container .line {
    flex: 1; /* bachi hui saari jagah fill karega */
    border-bottom: 2px dotted rgb(26, 75, 140);
    opacity: 0.3;
}



/* product summary css */

.payment-summary-section {
    background: #f8fafc;
    padding: 30px 0;
    font-family: 'Poppins', sans-serif;
}

.payment-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.payment-header {
    background: #1a4b8c;
    color: white;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.payment-header h2 i {
    margin-right: 10px;
}

.secure-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.payment-body {
    padding: 12px;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
}

.order-table th {
    background: #f8fafc;
    padding: 15px;
    font-weight: 600;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}

.order-table td {
    padding: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.order-table tbody tr:hover {
    background: #f8fafc;
}

.product-info {
    display: flex;
    align-items: center;
}

.product-info i {
    color: #4a6cf7;
    margin-right: 10px;
    font-size: 1.1rem;
}

.order-table tfoot tr {
    border-top: 2px solid #e5e7eb;
}

.subtotal-row td {
    padding-top: 20px;
    color: #6b7280;
}

.discount-row td {
    color: #10b981;
}

.discount-amount {
    color: #10b981;
    font-weight: 600;
}

.total-row td {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    padding-bottom: 20px;
}

.total-amount {
    color: #4a6cf7;
    font-size: 1rem;
}

.payment-security {
    background: #f0f7ff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.security-info {
    display: flex;
    align-items: center;
    color: #059669;
    font-weight: 500;
}

.security-info i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.accepted-cards {
    display: flex;
    align-items: center;
}

.accepted-cards span {
    margin-right: 10px;
    color: #6b7280;
    font-size: 0.9rem;
}





.card-icons i {
    font-size: 1.8rem;
    margin: 0 3px;
    color: #6b7280;
}

.card-icons i.fa-cc-visa { color: #1a1f71; }
.card-icons i.fa-cc-mastercard { color: #eb001b; }
.card-icons i.fa-cc-amex { color: #002663; }
.card-icons i.fa-cc-discover { color: #ff6000; }
.card-icons i.fa-cc-apple-pay { color: #000; }


.btn-modiy-c {
    text-align: left;
}

.customRowColRight {
    text-align: right;
}

.btn-outline-primary {
    border: 2px solid #4a6cf7;
    color: #4a6cf7;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: #4a6cf7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
}

.checkout-btn {   
    border: none;
    color: white;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.4);
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 108, 247, 0.5);
}

.checkout-btn i {
    margin-right: 8px;
}

.payment-guarantee {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 4px;
   margin-bottom: 8px;
    border-top: 1px solid #e5e7eb;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    margin: 0 15px;
    color: #6b7280;
    font-size: 0.9rem;
}

.guarantee-item i {
    margin-right: 8px;
    color: #4a6cf7;
}

@media (max-width: 768px) {
    .payment-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .payment-security {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .customRowCol, .customRowColRight {        
      margin-top: 16px;        
    }
    
    .guarantee-item {
        margin: 8px 10px;
    }
    
    .order-table {
        font-size: .8rem;
    }
    
    .order-table th, .order-table td {
        padding: 10px 8px;
    }
}



/* Index Page */

.services h2 {
  margin-bottom: 30px;
}
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 30px 20px;
  transition: transform 0.2s ease-in-out;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card i {
  font-size: 40px;
  color: #1a4b8c;
  margin-bottom: 15px;
}
.service-card h5 {
  color: #1a4b8c;
  font-weight: bold;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}
.service-card .btn {
  background: #1a4b8c;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 16px;
}
.service-card .btn:hover {
  background: #163d5f;
}
.tick-background, .text-primary{
    color: #1a4b8c !important;
}

.disclaimer-text {
  font-size: 14px;
}

.phone-a {
  color: inherit; /* Inherits the color from its parent element */
  text-decoration: none; /* Removes the underline */
  cursor: auto; /* Changes the cursor from a pointer to the default arrow */
}




/* product apply section  css */

.section-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0 8px;
  font-weight: 500;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ccc;
}

.section-divider:not(:empty)::before {
margin-right: .75em;
}
.section-divider:not(:empty)::after {
margin-left: .75em;
}

.form-check-label {
    font-size: 12px;
}
#agree_terms-error{
    font-size: 14px;
}

.form-check-input[type=checkbox] {
    border-radius: 0em;
    border: 1px solid;
}

.form-check-label a {
  text-decoration: none;
}


.card-renew-image {
  border-radius: 10px;
  margin-top: 1rem;
  margin-bottom: .5rem;
}

.card-renew-image img{
  border-radius: 10px;  
}


.img-div-class {
  float:right; 
  margin-right:5px;
}

.img-div-class img {
  margin-bottom:4px;
  border-radius: 4px;;
}
.optiona-span-cls {
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
}

.button-right-cls{
  margin-bottom: 20px;
  width: 100px
}

.button-left-cls{
  margin-bottom: 20px;
  width: 100px
}

/* Back button alignment */
.back-product-form {
    margin-left: 10px;    /* 10px from left edge */
}

/* Next button alignment */
.submit-product-form {
    margin-right: 10px;   /* 10px from right edge */
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 28px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: all 0.3s ease;
  }

  .whatsapp-float i {
  line-height: 55px;
  }

  .whatsapp-float:hover {
  background-color: #1ebe5b;
  transform: scale(1.1);
  color: #fff;
  }
