/* Global Styles */
:root {
  --primary-color: #0052cc;
  --primary-hover: #003d99;
  --secondary-color: #6c757d;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --body-color: #212529;
  --body-bg: #ffffff;
  --border-color: #dee2e6;
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--body-color);
  background-color: var(--body-bg);
}

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

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  color: var(--dark-color);
}

.bg-white {
  background-color: var(--body-bg);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1.125rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(5px);
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
  z-index: -1;
}

.btn:hover::after {
  width: 300%;
  height: 300%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 82, 204, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(0, 82, 204, 0.4);
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background-color: #f0f0f0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo i {
  font-size: 2rem;
  color: var(--primary-color);
}

.logo span {
  margin-left: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 8rem 0;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(rgba(0, 47, 108, 0.8), rgba(0, 47, 108, 0.8)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=2000&q=80');
  background-size: cover;
  background-position: center;
  color: white;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
  align-items: center;
  justify-content: center;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding: 0 2rem 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1 {
  font-size:2.8rem;
  line-height:4rem;
  margin-bottom:2rem;
}

.hero-form {
  flex: 1;
  min-width: 300px;
  padding: 0 1rem;
}

.hero-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-form {
  flex: 1;
  min-width: 300px;
  padding: 0 1rem;
  margin-top: 2rem;
}

.form-container {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

/* Forms */
.form-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.2rem;
}

.form-group {
  margin-bottom: 1rem;
  width: 100%;
  position: relative;
}

.form-row .form-group {
  flex: 1;
}

/* Form Labels */
.form-group label {
  position: absolute;
  left: 1rem;
  top: 43%;
  transform: translateY(-43%);
  background-color: transparent;
  padding: 0 0.25rem;
  font-size: 1rem;
  color: var(--secondary-color);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 1;
  color:#6c757d;
}

/* Form Inputs and Selects */
.form-group input,
.form-group select {
  width: 100%;
  height: 3rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  color:#6c757d;
}

/* Style for select elements */
.form-group select,
.form-group select:not([value=""]) {
  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='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

/* Focus and hover effects for better visual feedback */
.form-group input:hover,
.form-group select:hover {
  border-color: #b3d1ff;
}

.form-group input:focus,
.form-group input:not(:placeholder-shown) {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
  outline: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
  top: 0.2rem;
  left: 1rem;
  font-size: 0.75rem;
  color: var(--primary-color);
  transform: translateY(0);
  background-color: white;
}

.form-group select:focus {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
  outline: none;
}

.form-group select:focus + label,
.form-group select:not([value=""]) + label {
  top: 0.75rem;
  left: 1rem;
  font-size: 0.75rem;
  color: var(--primary-color);
  transform: translateY(0);
  background-color: white;
}

/* Error state styling */
.form-group input.error,
.form-group select.error {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-group.error label {
  color: var(--danger-color);
}

/* Regular input styles */
input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Add a subtle box shadow on focus for better visual feedback */
.floating-label input:focus,
.floating-select select:focus {
  box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.1);
}

.error-message {
  color: var(--danger-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  min-height: 0;
}

.error-message:not(:empty) {
  min-height: 1.25rem;
}

input.error, select.error, textarea.error {
  border-color: var(--danger-color);
}

.recaptcha-terms {
  font-size: 0.75rem;
  color: var(--secondary-color);
  margin-top: 1rem;
  text-align: center;
}

.recaptcha-badge {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

/* Features Section */
.features {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.feature {
  flex: 1;
  min-width: 300px;
  padding: 0 1rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  background-color: #e6f0ff;
  border-radius: 50%;
  width: 5rem;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--primary-color);
}

.feature h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature p {
  color: var(--secondary-color);
}

/* Process Section */
.process {
  position: relative;
  padding: 2rem 0;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: #cfe2ff;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  width: 2rem;
  height: 2rem;
  background-color: var(--primary-color);
  border-radius: 50%;
  border: 4px solid white;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  width: 45%;
  position: relative;
}

.timeline-content.right {
  margin-right: auto;
}

.timeline-content.left {
  margin-left: auto;
}

.timeline-number {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--secondary-color);
}

/* Testimonials Section */
.testimonials-slider {
  position: relative;
  overflow: visible;
  padding-bottom: 3rem;
  margin: 0 3rem;
}

.testimonial {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

.testimonial:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: #ffc107;
  margin-right: 0.25rem;
}

.testimonial p {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-author .author-name {
  font-weight: 600;
  color: var(--dark-color);
  font-size: 1.1rem;
}

.testimonial-author .author-position {
  color: var(--secondary-color);
}

/* Swiper Styles */
.testimonials-swiper {
  padding-bottom: 4rem;
  padding-top: 1rem;
  position: relative;
}

.swiper-slide {
  height: auto;
}

/* Custom navigation arrows - using stronger selectors to override Swiper defaults */
.testimonials-slider .swiper-button-next,
.testimonials-slider .swiper-button-prev {
  color: var(--primary-color) !important;
  background-color: white !important;
  width: 3.5rem !important;
  height: 3.5rem !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  z-index: 100 !important;
}

.testimonials-slider .swiper-button-next {
  right: -6rem !important;
}

.testimonials-slider .swiper-button-prev {
  left: -6rem !important;
}

.testimonials-slider .swiper-button-next:hover,
.testimonials-slider .swiper-button-prev:hover {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.testimonials-slider .swiper-button-next:after,
.testimonials-slider .swiper-button-prev:after {
  font-size: 1rem !important;
  font-weight: bold !important;
}

/* Custom pagination bullets */
.testimonials-slider .swiper-pagination {
  bottom: 0 !important;
  position: relative !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.testimonials-slider .swiper-pagination-bullet {
  width: 0.75rem !important;
  height: 0.75rem !important;
  background-color: #ccc !important;
  opacity: 1 !important;
  margin: 0 0.25rem !important;
}

.testimonials-slider .swiper-pagination-bullet-active {
  background-color: var(--primary-color) !important;
  transform: scale(1.2) !important;
}

/* FAQ Section */
.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background-color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: all 0.3s ease;
}


.faq-question span {
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--dark-color);
}

.faq-question i {
  font-size: 1.125rem;
  color: var(--primary-color);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.faq-item.active .faq-question {
  border-radius: 0.5rem 0.5rem 0 0;
  box-shadow: none;
}

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

.faq-answer {
  background-color: white;
  padding: 0 1.75rem;
  border-radius: 0 0 0.5rem 0.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-answer p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--secondary-color);
  padding: 0.5rem 0 1.75rem 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Contact Section */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.contact-feature {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-feature i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 1rem;
}

.contact-form-container {
  flex: 1;
  min-width: 300px;
  padding: 0 1rem;
}

.contact-form-container form {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Terms and Privacy Pages */
.terms-content, .privacy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.terms-content h2, .privacy-content h2 {
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.terms-content p, .privacy-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.privacy-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
}

.privacy-content ul li {
  margin-bottom: 0.5rem;
}

.last-updated {
  font-style: italic;
  color: var(--secondary-color);
  margin-top: 3rem;
  text-align: right;
}

/* Footer */
.footer {
  background-color: #212529;
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -1rem;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.footer-column .logo {
  margin-bottom: 1rem;
}

.footer-column p {
  color: #adb5bd;
  margin-bottom: 1rem;
}

.company-details {
  margin-top: 0.5rem;
}

.company-details p {
  color: #adb5bd;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #adb5bd;
  transition: color 0.3s ease;
  font-size: 1rem;
}

/* Ensure consistent font size in footer */
.footer-column p,
.company-details p,
.footer-column ul li,
.footer-column ul li a {
  font-size: 1rem;
}

.footer-column ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #343a40;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: #adb5bd;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 0.5rem;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 2rem;
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1rem;
}

.modal-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.modal-body p {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .testimonials-slider .swiper-button-next {
    right: -2rem !important;
  }
  .testimonials-slider .swiper-button-prev {
    left: -2rem !important;
  }
  .nav-links {
    display: none;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .timeline::before {
    left: 2rem;
  }
  
  .timeline-dot {
    left: 2rem;
  }
  
  .timeline-content {
    width: calc(100% - 4rem);
    margin-left: 4rem !important;
  }
  
  .testimonial {
    flex: 0 0 100%;
  }
}

@media (min-width: 768px) {
  .testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
  }
}
