/* styles.css */
body {
    font-family: Serif, sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('/includes/bg.jpg'); /* Replace with the actual path to your image */
    background-size: cover; /* Ensures the image covers the entire background */
    background-position: center; /* Centers the image */
    background-repeat: no-repeat; /* Prevents tiling */
    opacity: 0.9; /* Makes the image lightly visible */
    z-index: -1; 
    
}
header {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-align: center;
}
header img {
    max-width: 100px;
}
.nav-links {
    background-color: #000;
    padding: 10px;
    text-align: center;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.2em;
}
nav a:hover {
    text-decoration: underline;
}
main {
    padding: 20px;
    max-width: 1000px;
    margin: auto;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
footer {
    text-align: center;
    padding: 10px;
    background-color: #00274d;
    color: white;
    margin-top: 20px;
}
/* Google Form Style */
form {
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
    color: #444;
    font-size: 1em;
}
form input, form select, form button, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s;
}
form input:focus, form textarea:focus {
    border-color: #4285f4;
    outline: none;
    box-shadow: 0 0 5px rgba(66, 133, 244, 0.5);
}
form button {
    background-color: #4285f4;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}
form button:hover {
    background-color: #3367d6;
}
.certificate {
    border: 2px solid #004080;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
    background: #e6f2ff;
    border-radius: 10px;
}
.id-card {
    border: 2px solid #004080;
    padding: 15px;
    width: 300px;
    margin: 20px auto;
    text-align: center;
    background-color: #e6f2ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.id-card img {
    width: 100px;
    margin-bottom: 10px;
}
.id-card h3 {
    margin: 10px 0;
    color: #004080;
}
.id-card p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #555;
}
.delivery-option {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 20px auto;
}

.option {
    
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s, border-color 0.3s;
}

.option:hover {
    background-color: #f0f8ff;
    border-color: #0078d7;
}

.option input[type="radio"] {
    display: none;
}

.option input[type="radio"]:checked + label {
    background-color: #dff0d8;
    border: 2px solid #0078d7;
    border-radius: 3px;
    padding: 15px;
}

.option label {
    flex: 1;
    margin-left: 10px;
    cursor: pointer;
}
.cta-button {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 15px;
    font-size: 18px;
    color: #ffffff;
    background: #4CAF50;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease;
    width: auto;
    height:70px;
}

.cta-button:hover {
    background: #45a049;
}

ul {
    margin: 20px 0;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

footer {
    text-align: center;
    margin-top: 20px;
    color: #777;
}

footer a {
    color: #4CAF50;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
.id-card {
    width: 350px;
    height: 200px;
    border: 2px solid #333;
    border-radius: 8px;
    background: white;
    margin: 2rem auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
    position: relative;
    overflow: hidden;
}
.id-card::before {
    content: "SAMPLE";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(200, 200, 200, 0.3);
    z-index: 0;
    pointer-events: none;
}
.id-card-header {
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #4CAF50;
    z-index: 1;
}
.id-card-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}
.id-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #555;
}
.id-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.id-info {
    flex: 1;
    margin-left: 1rem;
    font-size: 0.9rem;
}
.id-info p {
    margin: 0.3rem 0;
}
.id-footer {
    text-align: center;
    font-size: 0.8rem;
    color: #777;
    z-index: 1;
}
 /* Navigation Bar Container */
 .navbar {

    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Logo */
.navbar .logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
}

/* Navigation Links */
.navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar .nav-links li {
    display: inline;
}

.navbar .nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.navbar .nav-links a:hover {
    background-color: #0078d7;
    color: #fff;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}


/* Variables */
* {
    box-sizing: border-box;
  }
  
  
  .hidden {
    display: none;
  }
  
  #payment-message {
    color: rgb(105, 115, 134);
    font-size: 16px;
    line-height: 20px;
    padding-top: 12px;
    text-align: center;
  }
  
  #payment-element {
    margin-bottom: 24px;
  }
  
  /* Buttons and links */
  button {
    background: #0055DE;
    font-family: Arial, sans-serif;
    color: #ffffff;
    border-radius: 4px;
    border: 0;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
  }
  button:hover {
    filter: contrast(115%);
  }
  button:disabled {
    opacity: 0.5;
    cursor: default;
  }
  
  /* spinner/processing state, errors */
  .spinner,
  .spinner:before,
  .spinner:after {
    border-radius: 50%;
  }
  .spinner {
    color: #ffffff;
    font-size: 22px;
    text-indent: -99999px;
    margin: 0px auto;
    position: relative;
    width: 20px;
    height: 20px;
    box-shadow: inset 0 0 0 2px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
  }
  .spinner:before,
  .spinner:after {
    position: absolute;
    content: "";
  }
  .spinner:before {
    width: 10.4px;
    height: 20.4px;
    background: #0055DE;
    border-radius: 20.4px 0 0 20.4px;
    top: -0.2px;
    left: -0.2px;
    -webkit-transform-origin: 10.4px 10.2px;
    transform-origin: 10.4px 10.2px;
    -webkit-animation: loading 2s infinite ease 1.5s;
    animation: loading 2s infinite ease 1.5s;
  }
  .spinner:after {
    width: 10.4px;
    height: 10.2px;
    background: #0055DE;
    border-radius: 0 10.2px 10.2px 0;
    top: -0.1px;
    left: 10.2px;
    -webkit-transform-origin: 0px 10.2px;
    transform-origin: 0px 10.2px;
    -webkit-animation: loading 2s infinite ease;
    animation: loading 2s infinite ease;
  }
  
  /* Payment status page */
  #payment-status {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;
    width: 30vw;
    min-width: 500px;
    min-height: 380px;
    align-self: center;
    box-shadow: 0px 0px 0px 0.5px rgba(50, 50, 93, 0.1),
      0px 2px 5px 0px rgba(50, 50, 93, 0.1), 0px 1px 1.5px 0px rgba(0, 0, 0, 0.07);
    border-radius: 7px;
    padding: 40px;
    opacity: 0;
    animation: fadeInAnimation 1s ease forwards;
  }
  
  #status-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
  }
  
  h2 {
    margin: 0;
    color: #30313D;
    text-align: center;
  }
  
  a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: Arial, sans-serif;
    display: block;
  }
  a:hover {
    filter: contrast(120%);
  }
  
  #details-table {
    overflow-x: auto;
    width: 100%;
  }
  
  table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
  }
  table tbody tr:first-child td {
    border-top: 1px solid #E6E6E6; /* Top border */
    padding-top: 10px;
  }
  table tbody tr:last-child td {
    border-bottom: 1px solid #E6E6E6; /* Bottom border */
  }
  td {
    padding-bottom: 10px;
  }
  
  .TableContent {
    text-align: right;
    color: #6D6E78;
  }
  
  .TableLabel {
    font-weight: 600;
    color: #30313D;
  }
  
  #view-details {
    color: #0055DE;
  }
  
  #retry-button {
    text-align: center;
    background: #0055DE;
    color: #ffffff;
    border-radius: 4px;
    border: 0;
    padding: 12px 16px;
    transition: all 0.2s ease;
    box-shadow: 0px 4px 5.5px 0px rgba(0, 0, 0, 0.07);
    width: 100%;
  }
  
  @-webkit-keyframes loading {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes loading {
    0% {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes fadeInAnimation {
    to {
        opacity: 1;
    }
  }
  
  @media only screen and (max-width: 600px) {
    form, #payment-status{
      width: 80vw;
      min-width: initial;
    }
  }

  .email-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.email-container input[type="email"] {
    width: 100%;
    max-width: 500px;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
}

.email-container button {
    background-color: green;
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.email-container button:hover {
    background-color: darkgreen;
}

.testimonial {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}
.testimonial h3 {
    margin-top: 0;
}
.testimonial p {
    margin: 5px 0 0;
}
.phoneapp-container {
  display: flex;
  width: 100%;
}
.left-pane, .right-pane {
  flex: 1;
  padding: 20px;
  box-sizing: border-box;
}
.left-pane {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f4f4f4;
}
.left-pane img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.right-pane {
  background-color: #fff;
  color: #333;
}
.right-pane h2 {
  margin-top: 0;
  color: #007BFF;
}
.benefits-list {
  list-style-type: none;
  padding: 0;
}
.benefits-list li {
  margin: 10px 0;
  display: flex;
  align-items: center;
}
.benefits-list li::before {
  content: '\2713';
  color: green;
  margin-right: 10px;
}