@import url('https://fonts.googleapis.com/css?family=Roboto+Mono');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(to right, #f0f4f8, #d9e7ff, #b0e0e6);
    font-family: Arial, sans-serif;
    color: #333;
}

.navbar {
    /* background: linear-gradient(to right, var(--bs-cyan), #121212); */
    background-image: linear-gradient(to right, #283048 0%, #444546 100%);
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 60px 20px;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero__spline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero__spline iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.hero__text {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 20px;
    border-radius: 10px;
}

.hero__title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero__description {
    font-size: 1.25rem;
    margin-bottom: 30px;
}

.explore {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    right: 25px;
    background-color: #0072ff;
    color: #fff;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.explore:hover {
    background-color: #005bbb;
    color: #fff;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #fff;
    color: #0072ff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #0072ff;
    color: #fff;
}

.video-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 20px;
    background-color: #f9f9f9;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.video-section.appear {
    opacity: 1;
    transform: translateY(0);
}

.content-icon {
    float: left;
    margin-right: 20px;
    width: 200px;
}

.video-content {
    flex: 1;
    text-align: center;
    padding-right: 20px;
    color: #333;
    animation: fadeIn 1s ease-out 0.3s both;
}

.video-content h2 {
    font-size: 1.8rem;
    color: #0066cc;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.video-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    animation: slideIn 1.2s ease-out 0.5s both;
}

.video-content h2:hover {
    color: #004999;
}

.video-player {
    flex: 1;
    max-width: 600px;
    animation: fadeIn 1.5s ease-out 0.7s both;
}

.video-player video {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.video-player video:hover {
    transform: scale(1.02);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


/* .content {
    align-items: center;
    padding: 20px 20px;
}

.point {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
    background-image: url('https://images.unsplash.com/photo-1508615070457-7baeba4003ab?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-size: contain;
    background-size: 100% 100%;
    border-radius: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.point:hover {
    transform: translateY(-10px);
}

.point__text {
    flex: 1;
    padding: 40px;
    text-align: center;
}

.point__title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0072ff;
}

.point__description {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
}

.point__image {
    flex: 1;
    max-width: 40%;
}

.point__img {
    width: 100%;
    height: 400px;
    display: block;
}  */

.content {
    font-family: 'Roboto Mono';
    padding: 5px;
    background-image: url("https://images.unsplash.com/photo-1728243342275-f84ce4a022bd?q=80&w=1887&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D");
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    padding: 20px;
    gap: 20px;
}

.flip {
    position: relative;
    >.front,
    >.back {
        display: block;
        transition-timing-function: cubic-bezier(.175, .885, .32, 1.275);
        transition-duration: .5s;
        transition-property: transform, opacity;
    }
    >.front {
        transform: rotateY(0deg);
    }
    >.back {
        position: absolute;
        opacity: 0;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 100%;
        transform: rotateY(-180deg);
    }
    &:hover {
        >.front {
            transform: rotateY(180deg);
        }
        >.back {
            opacity: 1;
            transform: rotateY(0deg);
        }
    }
    &.flip-vertical {
        >.back {
            transform: rotateX(-180deg);
        }
        &:hover {
            >.front {
                transform: rotateX(180deg);
            }
            >.back {
                transform: rotateX(0deg);
            }
        }
    }
}

.flip {
    position: relative;
    display: inline-block;
    margin-right: 2px;
    width: 390px;
    >.front,
    >.back {
      display: block;
      color: white;
      width: inherit;
      background-size: cover!important;
      background-position: center!important;
      height: 320px;
      padding: 1em;
      background: linear-gradient(45deg, rgba(209, 0, 42, 0.6) 0%, #0E5DC4 100%);
      border-radius: 10px;
      h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
      }
      p {
        font-size: 0.9rem;
        line-height: 160%;
        color: #fff;
      }
    }
}

.text-shadow {
    font-size: 2.5rem;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.04), 2px 2px rgba(0, 0, 0, 0.04), 3px 3px rgba(0, 0, 0, 0.04), 4px 4px rgba(0, 0, 0, 0.04), 0.125rem 0.125rem rgba(0, 0, 0, 0.04), 6px 6px rgba(0, 0, 0, 0.04), 7px 7px rgba(0, 0, 0, 0.04), 8px 8px rgba(0, 0, 0, 0.04), 9px 9px rgba(0, 0, 0, 0.04), 0.3125rem 0.3125rem rgba(0, 0, 0, 0.04), 11px 11px rgba(0, 0, 0, 0.04), 12px 12px rgba(0, 0, 0, 0.04), 13px 13px rgba(0, 0, 0, 0.04), 14px 14px rgba(0, 0, 0, 0.04), 0.625rem 0.625rem rgba(0, 0, 0, 0.04), 16px 16px rgba(0, 0, 0, 0.04), 17px 17px rgba(0, 0, 0, 0.04), 18px 18px rgba(0, 0, 0, 0.04), 19px 19px rgba(0, 0, 0, 0.04), 1.25rem 1.25rem rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .hero__title {
        font-size: 2.5rem;
    }

    .hero__description {
        font-size: 1rem;
    }

    .video-section {
        flex-direction: column;
        text-align: center;
    }

    .video-content {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .video-player {
        width: 100%;
    }

    /* .point {
        flex-direction: column;
        text-align: center;
    }

    .point__text,
    .point__image {
        max-width: 100%;
        padding: 20px;
    } */
    .content {
        flex-direction: column;
        align-items: center;
    }

    .content-icon {
        width: 25px;
    }

    .flip {
        margin-bottom: 20px;
        width: 90%;
    }

    .text-shadow {
        font-size: 1.2rem;
    }
}


.query-form-section {
    padding: 2rem;
    background-color: #f5f5f5;
    margin: 2rem 0;
    border-radius: 12px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.query-form-section h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.query-form label {
    font-weight: 500;
}

.query-form input,
.query-form textarea {
    width: 100%;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.query-form button {
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.query-form button:hover {
    background-color: #0056b3;
}
#success-animation {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.user-count {
    font-size: 1.2rem;
    margin-top: 10px;
    color: #333;
    text-align: center;
}

.query-form-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  border-top: 2px solid #e0e0e0;
}

.query-form-section h2 {
  font-weight: 600;
}

.query-form-section .btn-primary {
  background-color: #007bff;
  border: none;
  transition: background-color 0.3s ease;
}

.query-form-section .btn-primary:hover {
  background-color: #0056b3;
}

.registered-users-section {
  background: linear-gradient(to right, #959697, #aaafab);
}

.stats-card {
  background-color: #ffffff;
  border-radius: 16px;
  max-width: 500px;
  border: 1px solid #e0e0e0;
}

.stats-icon {
  font-size: 3rem;
  line-height: 1;
}

.stats-heading {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
}

.user-count-number {
  font-size: 2.2rem;
  font-weight: bold;
  color: #007bff;
}

.btn-primary {
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
