/* Base styles */
:root {
  --primary-green: #7c79ed;
  --primary-red: #ff2d55;
  --primary-blue: #0047ab;
  --background-light: #f5f7fa;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --border-radius: 8px;
  --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  --violet: #9d4edd;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-green);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: var(--background-light);
  transform: skewY(-3deg);
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: white;
  font-weight: bold;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-red);
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn-secondary {
  background-color: rgb(61, 128, 179);
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

/* Features Section */
/* .features-section {
    background-color: #1a148e;
    padding: 4rem 0;
    color: white;
    position: relative;
    overflow: hidden;
} */

.features-section {
  background-color: #1a148e; /* Dark blue base for the starry sky */
  padding: 4rem 0;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Starry Background Effect */
.features-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at top,
      rgba(255, 255, 255, 0.2),
      transparent
    ),
    radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.1), transparent);
  background-size: cover;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
}

.features-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 1px,
    transparent 1px
  );
  background-size: 10px 10px; /* Adjust size for density */
  z-index: 0;
  animation: twinkling 5s infinite;
}

@keyframes twinkling {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.8;
  }
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.features-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  position: relative;
}

.features-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.98)
  );
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  z-index: 1;
  align-items: center; /* Horizontally centers the icon and text */
  justify-content: center; /* Vertically centers within the container */
  text-align: center; /* Ensures text below the icon stays centered */
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%
  );
  transform: translateX(-100%) skewX(-15deg);
  animation: wave 8s infinite;
  z-index: 0;
}

@keyframes wave {
  0% {
    transform: translateX(-100%) skewX(-15deg);
  }
  50% {
    transform: translateX(100%) skewX(-15deg);
  }
  100% {
    transform: translateX(-100%) skewX(-15deg);
  }
}

.feature-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at center,
    #ffff00 0%,
    /* Mint Green */ rgba(102, 255, 204, 0.4) 50%,
    /* Aquamarine */ rgba(51, 204, 204, 0.2) 100% /* Teal */
      /* transparent 100% */
  );
  transform: translate(-50%, -50%) rotate(0deg);
  animation: ripple 12s infinite linear;
  /* animation: wave 12s infinite ease-in-out; */
  z-index: -1;
}

/* @keyframes wave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
} */

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 0 30px rgba(255, 255, 255, 0.2);
}

.feature-card:hover::before {
  animation-duration: 4s;
}

.feature-card:hover::after {
  animation-duration: 8s;
}

.feature-icon {
  font-size: 2.5rem;
  /* margin-bottom: 1.5rem; */
  position: relative;
  z-index: 2;
  /* background: linear-gradient(135deg, #84fab0, #8fd3f4); */
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
  display: inline-block;
}

.feature-card h3 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.feature-card p {
  color: #34495e;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.feature-link {
  color: #3498db;
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.feature-link:hover {
  color: #2980b9;
}

/* Mascot and Badges */
.features-mascot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 2rem;
}

.exam-badges {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.exam-badge {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-align: center;
  color: white;
}

.exam-badge.stage-one {
  background: #4caf50;
}

.exam-badge.stage-two {
  background: #2196f3;
}

.badge-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.badge-title {
  font-weight: bold;
  font-size: 1.1rem;
}

.badge-subtitle {
  font-size: 0.9rem;
}

.badge-type {
  font-size: 0.8rem;
  opacity: 0.9;
}
/* Schools Section */
.schools-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f3f4f6, #e8ecf4);
  border-top: 5px solid #4a90e2; /* Adds a visual divider */
  border-bottom: 5px solid #4a90e2;
}

.schools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.schools-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  color: #333;
}

.schools-title {
  font-size: 2.5rem;
  color: #4a90e2;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

.schools-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.schools-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem; /* Adjust space between checkmark and text */
  position: relative;
  font-weight: 500;
  text-align: left; /* Aligns the text to the left */
}

.schools-list li::before {
  content: "✓";
  color: #4caf50; /* Green checkmark */
  position: absolute;
  left: 0; /* Ensure the checkmark aligns closer to the text */
  font-size: 1.2rem; /* Adjust size for better visual balance */
  top: 0.2rem; /* Fine-tune vertical alignment */
}
/* Exam Levels Section */
.exam-levels {
  background-color: var(--background-light);
  padding: 4rem 0;
}

.level-card {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
}

.level-title {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Booking Section Styles */
.booking-section {
  padding: 2rem 0;
  background: #f8f9fa;
}

.content-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.booking-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0.5rem;
}

/* Booking Content Styles */
.booking-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.content-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
}

.booking-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #e9ecef;
  border-radius: 999px;
  font-size: 0.875rem;
  color: #495057;
}

.remove-filter {
  border: none;
  background: none;
  color: #868e96;
  cursor: pointer;
  padding: 0;
  font-size: 1.25rem;
  line-height: 1;
}

.clear-filters {
  border: none;
  background: none;
  color: #4a90e2;
  font-size: 0.875rem;
  cursor: pointer;
}

.sort-select {
  padding: 0.5rem 2rem 0.5rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  background: white;
  color: #495057;
  font-size: 0.875rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23495057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

/* Booking Table Styles */
.booking-table-container {
  overflow-x: auto;
}

.booking-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.booking-table th {
  background: #f8f9fa;
  padding: 1rem;
  font-weight: 600;
  color: #495057;
  text-align: left;
  border-bottom: 2px solid #dee2e6;
}

.booking-table td {
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  color: #495057;
}

.exam-type {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.exam-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.exam-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.exam-name {
  font-weight: 500;
  color: #1a1a1a;
}

.exam-tag,
.session-tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  background: #e9ecef;
  color: #495057;
}

.venue-format-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
}

.venue-online {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #8b6e03;
  color: white;
  font-size: 0.875rem;
}

.venue-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #5a2dff;
  color: white;
  font-size: 0.875rem;
  max-width: 80px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  text-align: center;
  line-height: 1.2;
}

.format-tag {
  display: inline-block;
  /* padding: 0.25rem 0.75rem; */
  border-radius: 999px;
  color: white;
  background: #030101;
  font-size: 0.875rem;
  text-align: center;
}

.format-size {
  font-size: 0.875rem;
}

.format-tag.multiple-choice {
  background: #2196f3;
}

.format-tag.standard-format {
  background: #0d47a1;
}

.status-completed {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.booking-closed {
  font-size: 0.75rem;
  color: white;
  background: #ff2d55;
}

.book-now-button {
  background-color: green;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 0.75rem;
  cursor: pointer;
  border-radius: 5px;
}
.book-now-button:hover {
  background-color: darkgreen;
}

.info-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 50%;
  background: #e9ecef;
  color: #495057;
  font-size: 0.75rem;
  cursor: help;
  margin-left: 0.25rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.tag-blue {
  background-color: var(--primary-blue);
  color: var(--text-light);
}

.tag-red {
  background-color: var(--primary-red);
  color: var(--text-light);
}

/* Mock Content Section */
.mock-content {
  padding: 4rem 0;
  background-color: var(--background-light);
  display: flex;
  justify-content: center;
  width: 100%;
}

.content-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-grid {
  /* display: grid; */
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}

.content-text {
  color: var(--text-dark);
  max-width: 800px;
  margin: 0 auto;
}

.content-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: .1rem;
  color: var(--violet);
  text-align: left;
}

.location {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.location-highlight {
  color: var(--primary-blue);
  font-weight: 700;
}

.description {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.stages-intro {
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.stage-item {
  background: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 1rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.stage-name {
  color: var(--primary-blue);
  font-weight: 700;
}

/* Action Buttons */
.action-buttons-container {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 150px;
}

.btn-book {
  background: var(--primary-red);
  color: var(--text-light);
}

.btn-book:hover {
  background: #ff1744;
  transform: translateY(-2px);
}

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

.btn-callback:hover {
  background: rgba(255, 45, 85, 0.1);
  transform: translateY(-2px);
}

/* Trustpilot */
.trustpilot-container {
  /* margin-top: 2rem; */
  background-color: black; /* Black background */
  /* padding: 1rem;  */
  text-align: center; /* Center align content */
}

/* .trustpilot-image {
  max-width: 50px;
  height: auto;
} */

/* Trustpilot Image */
.trustpilot-image {
  width: 150px; /* Reduces the size to 1/6th */
  max-width: 150px; /* Optional: Limit maximum width */
  height: auto; /* Maintain aspect ratio */
  margin: 0 auto; /* Center the image horizontally */
  display: block; /* Ensure proper centering */
}

.content-image {
  position: sticky;
  top: 2rem;
  display: flex;
  justify-content: center;
}

.mascot-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  padding: 1rem;
}

/* Center Container */
.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* margin: 4rem 0; */
}

/* Mock Test Sidebar Styles */
.mock-test-sidebar {
  background: #1a1b1e;
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 220px;
}

.search-mock-tests {
  margin-bottom: 1.5rem;
}

/* Search Input */
.mock-search-input {
  width: 100%;
  padding: 12px 16px;
  background: #2c2e33;
  border: 1px solid #3d4147;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 24px;
}

.mock-search-input::placeholder {
  color: #6b7280;
}

.mock-search-input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.filter-section {
  color: #fff;
}

.filter-heading {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.filter-group {
  margin-bottom: 24px;
}

.filter-subheading {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #d1d5db;
}

.filter-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.custom-select-st {
  position: relative;
  width: 100%;
}

.dark-select {
  width: 100%;
  padding: 12px 16px;
  background: #2c2e33;
  border: 1px solid #3d4147;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* Custom Select Arrow */
.custom-select-st::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #fff;
  pointer-events: none;
}

/* Select Options Styling */
/* .dark-select option {
  background: #2c2e33;
  color: #fff;
  padding: 14px; 
  font-size: 16px; 
} */

.dark-select option {
  font-size: 18px; /* Larger font size for better readability */
  padding: 10px 15px; /* Increased padding for spacing */
  background: #2c2e33; /* Inherit background from the parent */
  color: #fff; /* Text color for readability */
  line-height: 1.5; /* Improved line spacing */
}

.dark-select option:hover {
  background: #3d4147; /* Slightly lighter background on hover */
}

.custom-dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown-button {
  width: 100%;
  padding: 16px 20px;
  background: #2c2e33;
  border: 1px solid #3d4147;
  border-radius: 8px;
  color: #fff;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #2c2e33;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #3d4147;
  border-radius: 8px;
  z-index: 1000;
  max-height: 200px; /* Optional: Limit height for long lists */
  overflow-y: auto; /* Optional: Add scrollbar if necessary */
}

.dropdown-menu li {
  padding: 8px 16px;
  color: #fff;
  cursor: pointer;
  font-size: 0.875rem;
}

.dropdown-menu li:hover {
  background: #3d4147;
}

.custom-dropdown:hover .dropdown-menu {
  display: block;
}

/* Hover and Focus States */
.dark-select:hover,
.mock-search-input:hover {
  border-color: #4c5058;
}

.dark-select:focus,
.mock-search-input:focus {
  outline: none;
  border-color: #7c79ed;
  box-shadow: 0 0 0 2px rgba(124, 121, 237, 0.2);
}

/* Select Dropdown List */
.dark-select::-ms-expand {
  display: block;
}

.dark-select option:hover,
.dark-select option:focus,
.dark-select option:active {
  background: #7c79ed;
  color: #fff;
}

/* Dropdown list styles */
select.dark-select:not([size]):not([multiple]) {
  padding-right: 40px;
}

/* Firefox specific styles */
@-moz-document url-prefix() {
  .dark-select {
    text-indent: 0.01px;
    text-overflow: "";
    padding-right: 40px;
  }
}

/* Webkit specific styles for the dropdown */
.dark-select::-webkit-scrollbar {
  width: 8px;
}

.dark-select::-webkit-scrollbar-track {
  background: #2c2e33;
}

.dark-select::-webkit-scrollbar-thumb {
  background: #4c5058;
  border-radius: 4px;
}

.dark-select::-webkit-scrollbar-thumb:hover {
  background: #5c616a;
}

/* Option hover state */
.dark-select option:hover,
.dark-select option:focus,
.dark-select option:active,
.dark-select option:checked {
  background: #7c79ed linear-gradient(0deg, #7c79ed 0%, #7c79ed 100%);
  color: #fff;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dark-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #d1d5db;
}

.dark-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  background: #2c2e33;
  border: 1px solid #3d4147;
  border-radius: 4px;
  cursor: pointer;
}

.dark-checkbox input[type="checkbox"]:checked {
  background: #4a90e2;
  border-color: #4a90e2;
}

.dark-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dark-checkbox input[type="checkbox"]:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.dark-checkbox span {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Modal Container */
.modal {
  display: none; /* Initially hidden */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

/* Modal Content */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  border-radius: 8px;
  position: relative;
  max-width: 400px;
}

.modal.active .modal-content {
  transform: translateY(0);
}

/* Close Button */
.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  color: #4a5568;
  transition: all 0.2s ease;
}

.close:hover {
  background: #c78426;
  transform: rotate(90deg);
}

/* Modal Header */
.modal-content h2 {
  color: #1a1a1a;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.modal-content p {
  color: #4a5568;
  margin-bottom: 2rem;
}

.booking-options .option-button {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  background-color: #007bff;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.booking-options .option-button:hover {
  background-color: #0056b3;
}

.option-button {
  padding: 1rem;
  border: 2px solid #4A90E2;
  border-radius: 0.75rem;
  background: transparent;
  color: #4A90E2;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.option-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #4A90E2, #357ABD);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.option-button:hover {
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.option-button:hover::before {
  opacity: 1;
}

/* Selected Venue */
#selectedVenue {
  color: #4A90E2;
  font-weight: 600;
}

/* Animation Keyframes */
@keyframes modalFadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 640px) {
  .modal-content {
      padding: 2rem;
  }

  .booking-options {
      grid-template-columns: 1fr;
  }
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
  font-family: Arial, sans-serif;
  flex-wrap: wrap;
}

pagination-controls a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background-color 0.3s, color 0.3s;
}

.pagination-controls a:hover,
.pagination-controls a.active {
  background-color: #4CAF50;
  color: white;
}

@media screen and (max-width: 480px) {
  .pagination-controls {
    gap: 5px;
  }
  
  .pagination-controls a {
    min-width: 35px;
    height: 35px;
    font-size: 12px;
  }
}

.page-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  background-color: #007bff;
  border: 1px solid #007bff;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-button:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-button.active {
  background-color: #28a745;
  border-color: #28a745;
  color: #fff;
  pointer-events: none;
}

.page-button.disabled {
  background-color: #d6d6d6;
  border-color: #d6d6d6;
  color: #888;
  pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    color: white;
  }

  .features-grid {
    /* display: none; */
    grid-template-columns: 1fr;
  }

  .schools-grid {
    grid-template-columns: 1fr; /* Switch to a single column for smaller screens */
  }

  .schools-title {
    font-size: 2rem;
  }

  .schools-list {
    columns: 1; /* Switch to a single column for smaller screens */
  }

  .action-buttons {
    flex-direction: column;
  }

  .booking-table {
    display: block;
    overflow-x: auto;
  }

  .features-title {
    font-size: 2rem;
  }

  .exam-badges {
    flex-direction: column;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .booking-table-container {
    margin: 0 -1rem;
  }

  .booking-table {
    font-size: 0.875rem;
  }

  .booking-table th,
  .booking-table td {
    padding: 0.75rem;
  }

  .mock-test-sidebar {
    padding: 16px;
    max-width: 100%;
  }

  .dark-select,
  .mock-search-input {
    font-size: 0.875rem;
    padding: 14px 16px;
  }

  .filter-heading {
    font-size: 18px;
  }

  .filter-subheading {
    font-size: 15px;
  }

  .filter-group {
    padding-bottom: 0.75rem;
  }

  /* .dark-select option {
    font-size: 16px;
    padding: 14px;
  } */

  .booking-layout {
    display: block;
    /* position: fixed; */
  }

  .page-button {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .dark-select {
    padding: 16px;
  }
}

/* Responsive Design */
@media (max-width: 968px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-image {
    display: none;
  }

  .content-title {
    font-size: 2rem;
    text-align: center;
  }

  .content-text {
    text-align: left;
  }

  .action-buttons-container {
    flex-direction: column;
  }

  /* .btn {
      width: 100%;
    }
   */
  .trustpilot-container {
    text-align: center;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .features-mascot {
    order: -1;
  }

  .exam-badges {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .booking-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .mock-test-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 2rem;
  }
}

