/* Reset and Global Styles */
* {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

body {
  background: linear-gradient(to bottom right, #0e6681, #1fb8c4);
  color: white;
}

/* Headings */
h1 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  margin: 15px 0;
  background: linear-gradient(to right, #ffdf6b, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h2.subtitle {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #fff;
}

p.description {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #ddd;
}

/* Divider */
.image-divider {
  width: 100%;
  background-image: url('../aii.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position-x: center;
}

/* Divider Slices */
.divider-top {
  height: 60px;
  background-position-y: 0%;
  box-shadow: inset 0 -10px 10px -10px rgba(0, 0, 0, 0.9);
  margin-top: 75px;
  position: relative;
  z-index: 10;
}

.divider-middle {
  height: 120px;
  background-position-y: 50%;
  box-shadow: 
    inset 0 10px 10px -10px rgba(0, 0, 0, 0.9),
    inset 0 -10px 10px -10px rgba(0, 0, 0, 0.9);
}

.divider-bottom {
  height: 100px;
  background-position-y: 100%;
  box-shadow: inset 0 10px 10px -10px rgba(0, 0, 0, 0.9);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 40px;
}

@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* Desktop Layout */
@media (min-width: 768px) {
  .pricing-grid > .card:nth-child(1) {
    grid-column: 1 / span 2;
  }

  .pricing-grid > .card:nth-child(2) {
    grid-column: 3 / span 2;
  }

  .pricing-grid > .card:nth-child(3) {
    grid-column: 5 / span 2;
  }

  .pricing-grid > .card:nth-child(4) {
    grid-column: 2 / span 2;
    margin-top: 40px;
  }

  .pricing-grid > .card:nth-child(5) {
    grid-column: 4 / span 2;
    margin-top: 40px;
  }
}

/* Card Styles */
.card {
  background: white;
  color: #333;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 250%;
  height: 250%;
  background: radial-gradient(circle at top right, rgba(31,184,196,0.15), transparent);
  transform: rotate(45deg);
  z-index: 0;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.card.best {
  border: 8px solid #ffdf6b;
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 223, 107, 0.4);
  z-index: 10;
}

.card h2 {
  color: #0e6681;
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  z-index: 1;
  position: relative;
}

.card .price {
  color: #1fb8c4;
  font-weight: bold;
  font-size: 1.15rem;
  margin-bottom: 18px;
  z-index: 1;
  position: relative;
}

ul.features {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  z-index: 1;
  position: relative;
  text-align: left;
}

ul.features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

ul.features li::before {
  content: "✔️";
  margin-right: 8px;
  color: green;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.button {
  background: linear-gradient(to right, #0e6681, #1fb8c4);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  width: 100%;
  z-index: 1;
  position: relative;
}

.button:hover {
  background: linear-gradient(to right, #09596e, #19a5b5);
  transform: scale(1.03);
}

/* Form Styles */
form {
  max-width: 700px;
  margin: 40px auto;
  background: #ffffffdd;
  padding: 40px;
  border-radius: 16px;
  color: #333;
}

form h3 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: #0e6681;
  text-align: center;
}

form .form-group {
  margin-bottom: 15px;
}

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

form input, form select {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

form button {
  margin-top: 10px;
  width: 100%;
  background: #0e6681;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}

/* Modal Overlay */
#confirmationModal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Show Modal */
#confirmationModal.modal-show {
  opacity: 1;
  pointer-events: auto;
}

/* Modal Box */
.modal-content {
  background: white;
  color: #0e6681;
  padding: 30px 15px;
  border-radius: 12px;
  width: 90%;
  max-width: 460px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(14, 102, 129, 0.3);
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

#modalMessage.success {
  color: #1a7f37;
}

#modalMessage.error {
  color: #b32400;
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 1.6rem;
  color: #0e6681;
  cursor: pointer;
  font-weight: bold;
  user-select: none;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #1fb8c4;
}

/* Responsive Styles for Mobile and Tablet */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2.2rem; /* Smaller text size */
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;

    padding: 15px;
    max-width: 90%;
  }

  .card {
    padding: 20px;
  }

  .button {
    font-size: 0.9rem;
    padding: 10px 14px;
  }

  form {
    padding: 25px;
    max-width: 90%;
  }

  form h3 {
    font-size: 1.2rem;
  }

  /* Modal content */
  .modal-content {
    width: 85%;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8rem;
  }

  p.description {
    font-size: 1rem;
    max-width: 80%;
  }

  .divider-top {
    margin-top: 50px;
    height: 80px;
  }
}





#footer {
  color: #fff;
  font-size: 14px;
  background: #111111;
/*	position: relative;*/
}

#footer .logo {
  font-size: 30px;
  margin: 45px;
  padding: 0;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}
#footer .logo a {
  color: #111111;
}
#footer .logo a span {
  color: #5baee0;
}
#footer .logo img {
  max-height: 60px;
    float: left;
}

@media (max-width: 768px) {
#footer .logo {
  margin: 0;
	float: none;
  }
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #1b1b1b;
}
#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}
#footer .footer-top .footer-contact h3 {
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
}
#footer .footer-top .footer-contact h3 span {
  color: #5baee0;
}
#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
}
#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}
#footer .footer-top h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: #4584a8;
  bottom: 0;
  left: 0;
}
#footer .footer-top .footer-links {
  margin-bottom: 30px;
}
#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: white;
  font-size: 18px;
  line-height: 1;
}
#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}
#footer .footer-top .footer-links ul a {
  color: #aaaaaa;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}
#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #fff;
}
#footer .footer-newsletter {
  font-size: 15px;
}
#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}
#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 5px 10px;
  position: relative;
  border-radius: 4px;
  text-align: left;
}
#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}
#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #4584a8;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}
#footer .footer-newsletter form input[type=submit]:hover {
  background: #5baee0;
}
#footer .credits {
  padding-top: 5px;
  font-size: 13px;
}
#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #2b2b2b;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}
#footer .social-links a:hover {
  background: #4584a8;
  color: #fff;
  text-decoration: none;
}

.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #4584a8;
  line-height: 0;
}
.back-to-top:hover {
  background: #5baee0;
}
.back-to-top:hover i {
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}