/* General styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins';
}

body {
    color: #333;
    background: #d8bfd8;
    background: -webkit-linear-gradient(80deg, #d8bfd8 0%, #00a1ce 50%, #b3efff 100%);
    background: linear-gradient(80deg, #d8bfd8 0%, #00a1ce 50%, #b3efff 100%);
}

/* Header styles */
header{
    backdrop-filter: blur(6px);
    top: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.0); /* Semi-transparent black background color */
    color: #fff;
    padding: 1.5em 0;
    position: fixed; /* Make it sticky */
    z-index: 1000; /* Ensure it stays above other content */
    transition: background-color 5s ease; /* Smooth transition */
}

.logo{
    color: #fff;
    text-decoration: none;
    font-size: 2.0em;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 0.5em;
    margin-left: 3em;
}


.group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}


header ul {
    list-style: none;
    display: flex;
    margin-right: 3em;
    font-size: 1.1em;
    position: relative;
    gap: 40px;
    margin-top: 1em;
}

header ul li {
    list-style: none;
}

header ul li a {
    color: #fff;
    text-decoration: none;
    position: relative; /* Make the parent element relative */
    transition: font-size 0.2s ease; /* Apply transition effect to font size */
}

header ul li a:hover {
    font-size: 1.1em; /* Increase font size on hover */
}

header ul li a::after {
    content: "";
    display: none; /* Remove the line */
}


header nav ul li a.active {
    /* Additional styling for active links */
}

.scrolled .logo, 
header.scrolled ul li a {
    color: #00a1ce;
}

.menuToggle{
    position:  relative;
    display: none;
}

header.open .navigation{
    top: 80px;
    opacity: 1;
    visibility: visible;
    left: 0;
    display: flex;
    flex-direction: column;
    background: #54626F;
    width: 100%;
    height: calc(100vh - 80px);
    padding: 40px;
    border-top: 1px solid rgba(0,0,0.05);
}

header.open .navigation li a{ 
    font-size: 1.25em;
}

.install-link {
    background-color: #ff6347;
    padding: 0.5em 1em;
    border-radius: 20px;
}

.install-link.scrolled {
    background-color: #00a1ce;
    color: #fff;
}

/* Other CSS styles remain the same */

header ul li a.admin-link {
    color: #fff;
    text-decoration: none;
    background-color: #5D3FD3; /* Background color for Admin button */
    padding: 0.5em 1em; /* Adjust padding as needed */
    border-radius: 2px; /* Rounded corners */
    
}

header ul li a.admin-link:hover {
    color: #fff; /* Ensure text is visible on hover */
}

/* Adjusted styles for .install-link */
.install-link {
    background-color: #ff6347;
    padding: 0.5em 1em; /* Adjust padding as needed */
    border-radius: 20px; /* Optional: Add some rounded corners */
}


/* Hero section styles */
.hero {
    position: relative;
    height: 110vh;
    background-color: #005BBB; /* Change this to the solid color you prefer */
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    background:
    linear-gradient(40deg, rgba(0, 91, 150, 0.1) 25%, transparent 25%, transparent 60%, rgba(0, 91, 187, 0.1) 75%),
    linear-gradient(70deg, rgba(0, 91, 187, 0.1) 50%, transparent 25%, transparent 75%, rgba(0, 91, 187, 0.1) 40%);
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h2 {
    margin-bottom: 1em;
    font-size: 5em;
    margin-top: 1em;
}

.hero .qr-code {
    width: 300px;
    height: 300px;
}

.install-steps {
    text-align: left;
    margin: 1em auto;
    max-width: 800px;
    font-size: 1.2em;
    margin-bottom: 3em;
}

.install-steps p {
    margin-bottom: 0.2em; /* Add some spacing between each step */
}

.install-steps strong {
    font-weight: bold;
}

/* Features section styles */
.features {
    padding: 2em 1em;
    background: #F5F5F5;
    height: 70vh;
}

.features h2 {
    text-align: center;
    margin-bottom: 1em;
    font-size: 4em;
    color: #FF6347;
    margin-top: 1.0em;
    letter-spacing: -1px;
}

.features .container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 2em;
    flex-direction: column; /* Add this line to stack items vertically */
    align-items: center; /* Add this line to center items horizontally */
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust the space between the items as needed */
    margin-top: -1em;
    z-index: 1;
    justify-content: center;
}

.circle-frame {
    width: 100px; /* Adjust the size as needed */
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: auto;
    display: block;
}

.circle-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2em;
    max-width: 300px;
    text-align: center;
}

.feature-item .icon {
    font-size: 36px; /* Adjust the size of the icon */
}

.feature-item h3 {
    margin-bottom: 0.5em;
    margin-top: 1em;
    color: #007bff;
}

/* Admin section styles */
.admin {
    padding: 2em 1em;
    background: #f5f5f5;
    text-align: center;
    height: 20vh;
}


.powered-by {
    margin-top: -1em;
}

.powered-by p {
    font-size: 1.2em;
    margin-bottom: 0.5em;
    color: #A9A9A9;
}

.firebase-logo {
    width: 10em; /* Adjust the size as needed */
    height: auto;
}

.flutter-logo {
    width: 7em; /* Adjust the size as needed */
     height: auto;
    position: relative;
    top: -10px; /* Adjust the value to move the logo higher */
    
}




/* Footer styles */
footer {
    background: -webkit-linear-gradient(80deg, #d8bfd8 0%, #00a1ce 50%, #b3efff 100%);
    background: linear-gradient(80deg, #d8bfd8 0%, #00a1ce 50%, #b3efff 100%);
    background: 
        linear-gradient(80deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
    color: #fff;
    text-align: center;
    padding: 2em 0;
    position: relative;
}

footer p {
    margin: 0.5em 0;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1em;
}

footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
}

footer .social-icons a {
    color: #fff;
    text-decoration: none;
    font-size: 1.0em;
    display: flex;
    align-items: center;
    gap: 0.5em;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #ff6347;
}

footer .social-icons i {
    font-size: 1em;
}

/*----------------------*/

/* Media Queries */
@media screen and (max-width: 320px) {
    
    .logo {
        font-size: 1.3em;
        right: 40em;

    }
    
    .menuToggle {
        display: block;
        font-size: 5em;
        cursor: pointer;
        transform: translateX(30px);
        z-index: 10;
        margin-right:80px;
        margin-top: 10px;
        color: #000;
    }
    
    header .navigation{
        display: none;
        position: absolute;
        visibility: hidden;
        left: 100%;
        background: #808080;
    }
    
    header.open .navigation li a{ 
        font-size: 1em;  
    }
    
    .hero {
        height: 80vh;
        padding: 1em;
    }

    .hero h2 {
        font-size: 1.3em;
    }

    .hero p {
        font-size: 1em;
    }
    
    .hero .qr-code {
        width: 100px;
        height: 100px;
        margin: 1em 0;
    }
    
    
    
    footer {
        padding: 1em 0;
    }
    footer .container {
        padding: 0 0.5em;
    }
    footer .social-icons {
        flex-direction: column;
        align-items: center;
    }
    footer .social-icons a {
        font-size: 0.9em;
    }
    
    
}

@media (max-width: 600px) {
    .container {
        width: 90%;
    }

    .install-steps p, .admin p {
        font-size: 1em;
    }

    .hero h2, .features h2, .admin h2 {
        font-size: 2em;
    }
}

@media screen and (max-width: 768px) {
     
    .logo {
        font-size: 1.3em;
        right: 40em;
        
    }
    
    
    .menuToggle {
        display: block;
        color: #000;
        font-size: 1.5em;
         cursor: pointer;
        transform: translateX(30px);
        z-index: 10;
        margin-right:80px;
        margin-top: 10px;
    }

    .hero {
        height: 140vh;
        padding: 1em;
    }

    .hero h2 {
        font-size: 2.5em;
    }

    .hero p {
        font-size: 1em;
    }
    
    .hero .qr-code {
    width: 150px;
    height: 150px;
    margin: 1em 0;
    }
    
    .install-steps {
        font-size: 1.0em;
    }

    .navigation {
        display: none;
        flex-direction: column;
        background: #54626F;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        padding: 40px;
        z-index: 999;
    }

    .navigation.active {
        display: flex;
    }

    .navigation li a {
        font-size: 1.0em;
        margin: 10px 0;
    }

    .features{
        height: 80vh;
    }
    .feature-item {
        margin-left: 2.0em;
        padding: .8em;
        max-width: 350px;
        text-align: center;

    }
    
    .admin {
        height: 20vh;

    }
    
    .admin h2 {
       margin-left: 1.0em;
    }

    .admin p {
        margin-left: 2em;
        font-size: 1.0em;
    }
    
    .admin a.admin-link {
        font-size: 1.0em;
        margin-left: 2em;
    }


    .powered-by {
        margin-top: -0.7em;
    }

    .powered-by p {
        font-size: 1.0em;
        margin-bottom: 0.3em;
        color: #A9A9A9;
    }

    .firebase-logo {
        width: 8em; /* Adjust the size as needed */
        height: auto;
    }

    .flutter-logo {
        width: 5em; /* Adjust the size as needed */
        height: auto;
        position: relative;
        top: -10px; /* Adjust the value to move the logo higher */
    }
    
        footer {
        padding: 1em 0;
    }
    footer .container {
        padding: 0 0.5em;
    }
    footer .social-icons {
        flex-direction: column;
        align-items: center;
    }
    footer .social-icons a {
        font-size: 0.9em;
    }

}

@media screen and (min-width: 1500px) and (max-width: 2000px) {}

.to-top {
    background: white;
    position: fixed;
    bottom: 16px;
    right: 32px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: black;
    text-decoration: none;
    opacity: 0;
    transition: all .4s ease-in-out;
    z-index: 1;
  }
  
  .to-top.active {
    bottom: 32px;
    opacity: 1;
  }
  
  .to-top:hover {
    transform: scale(1.1);
  }

/* Add keyframes for animations */


@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/* Animate the p elements within .install-steps */
.install-steps p {
    margin-bottom: 0.2em; /* Add some spacing between each step */
    opacity: 0; /* Start with hidden */
    animation: scaleIn 1s forwards; /* Apply animation */
    animation-delay: 0.5s; /* Delay animation to create a staggered effect */
    animation-duration: 1s; /* Duration of the animation */
}

/* Add delays to create a staggered effect for each paragraph */
.install-steps p:nth-child(1) {
    animation-delay: 0.5s;
}
.install-steps p:nth-child(2) {
    animation-delay: 0.7s;
}
.install-steps p:nth-child(3) {
    animation-delay: 0.9s;
}
.install-steps p:nth-child(4) {
    animation-delay: 1.1s;
}
.install-steps p:nth-child(5) {
    animation-delay: 1.3s;
}

/* Optional: Add a transition to the QR code image for smooth effect */
.hero .qr-code {
    width: 300px;
    height: 300px;
    margin: 1.5em 0;
    transition: transform 0.5s ease;
}

.hero .qr-code:hover {
    transform: scale(1.2);
}


.feature-item {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2em;
    max-width: 300px;
    text-align: center;
    opacity: 0;  /* Start with opacity 0 */
    animation: popIn 1s ease-out forwards; /* Add pop-in animation */
    animation-delay: 0.5s; /* Delay to sync with other animations */
}

/* Keyframes for the pop-in effect */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8); /* Start smaller */
    }
    100% {
        opacity: 1;
        transform: scale(1); /* End at normal size */
    }
}

.download-btn {
    background-color: #ff6347;
    padding: 0.5em 1em;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth transition */
}

.download-btn:hover {
    transform: scale(1.05); /* Slightly scale up on hover */
    background-color: #e5533c; /* Slight color change on hover */
}
