html, body {
    margin: 0;
    overflow: auto;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', sans-serif;
    margin: 0;
    font-size: 16px;
    background-color: #f8f9fa;
    width: 100%;
    overflow: hidden;
}

.app-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Google Sans', sans-serif;
    margin: 0;
    font-size: 16px;
    background: linear-gradient(135deg, #ffffff, #ffe0b2, #bbdefb, #f8bbd0);
}

h1, h2 {
    margin: 0;
}

.btn {
    vertical-align: top!important;
}

/******************************* Home **************************************/
.start-now {
    position: fixed;
    right: -200px; 
    transition: right 0.3s ease-in-out!important;
}

.no-margin-row {
    margin-right: 0!important;
    margin-left: 0!important;
}

.no-padding-col {
    padding-right: 0!important;
    padding-left: 0!important;
}

/****************** Header *****************/
.action-bar {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    color: #5e6368;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4px 6px;
}

.action-bar h1 {
    margin-left: 14px;
    font-size: clamp(26px, 2vw, 40px);
    font-weight: 700;
}

.action-bar h1 span, .login-container h1 span {
    letter-spacing: -8px;
}

.b { color: #4285F4; }  /* Blue */
.y { color: #FBBC05; } /* Yellow */
.g { color: #34A853; } /* Green */
.r { color: #EA4335; }  /* Red */

.relative {
    display: relative;
}

/******************** Notification *************************/
.action-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-right: 30px;
}

.notification-alert {
    cursor: pointer;
    position: relative;
}

.notification-alert i {
    font-size: 30px;
}

.profile-photo i {
    font-size: 33px;
}

.notification-alert .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 5px;
    font-size: 12px;
}

.notification-card {
    position: fixed;
    top: 50px;
    right: 10px;
    width: 300px;
    max-height: 300px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 200;
    transition: opacity 0.3s ease;
}

.notification-card.show {
    display: block;
    opacity: 1;
}

.notification-card.hide {
    opacity: 0;
    visibility: hidden;
}

.notification-card ul {
    list-style-type: none;
    padding: 10px;
    margin: 0;
}

.notification-card ul li {
    margin-bottom: 10px;
}

.notification-card .close-btn {
    text-align: center;
    margin-top: 10px;
}
/************************** Hero **************************************/
.container {
    max-width: 1140px; 
    margin: 0 auto;
}


.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 252, 1)),
                linear-gradient(to right, #ff6b6b, #ffb6b9, #fae3d9, #bbded6, #61c0bf);
    background-blend-mode: screen;
}

.hero-content {
    margin-bottom: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #000;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2em;
    font-weight: 500;
    color: #555; 
}

.hero-image img {
    max-width: 100%;
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-image img:hover {
    transform: scale(1.2);
    /*box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); */
}

.cta-button {
    font-size: 1.2rem;
    padding: 12px 24px;
    transition: background-color 0.3s;
    color: #fff; 
    background-color: #007bff;
    border: none;
}

.cta-button:hover {
    background-color: #0056b3;
}

/************************* How It Works section styles ************************/
.how-it-works {
    background-color: #fff;
}

.how-it-works h2 {
    margin-bottom: 40px;
}

.how-it-works .row {
    justify-content: center;
}

.how-it-works img {
    width: 100%;
    margin-bottom: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.step p {
    font-weight: 500;
}

.step {
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease-out;
    margin-bottom: 20px;
    box-shadow: 0 0px 3px rgba(0, 0, 0, 0.4);
    padding-bottom: 4px;
}

.step:hover {
    transform: scale(1.1);
}

/* Keyframe animation for clicking */
@keyframes moveAround {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-20px) rotate(-5deg);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-20px) rotate(5deg);
    }
    100% {
        transform: translateY(0);
    }
}

.clicked {
    animation: moveAround 0.5s ease-out;
}

/********************* Features section styles ***********************/

.features-section {
    padding: 60px 8px;
    background: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.feature-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    width: calc(33.333% - 20px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon img {
    width: 100%;
    margin-bottom: 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.feature-content {
    padding: 8px;
}

.feature-content h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #007BFF;
}

.feature-content p {
    font-size: 1em;
    font-weight: 500;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .feature-item {
        width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .feature-item {
        width: 100%;
    }
}

/************************** Demo section styles *****************************/
.demo {
    background-color: #fff; /* White background */
    padding: 80px 0;
}

.demo h2 {
    margin-bottom: 40px;
}

.demo img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: transform 0.3s, box-shadow 0.3s;
}

.demo img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); /* Hover effect for images */
}

/* Benefits section styles */
.benefits {
    padding: 80px 0;
}

.benefits h2 {
    margin-bottom: 40px;
}

.benefits ul {
    list-style: none;
    padding: 0;
}

.benefits ul li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333; /* Dark text color */
}

/* Testimonials section styles */
.testimonials {
    background-color: #f8f9fa; /* Light gray background */
    padding: 80px 0;
}

.testimonials blockquote {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 30px;
    color: #555; /* Medium dark text color */
}

.testimonials .blockquote-footer {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333; /* Dark text color */
}

/* FAQs section styles */
.faqs {
    padding: 80px 0;
}

.faqs h2 {
    margin-bottom: 40px;
}

.faq-item {
    margin-bottom: 30px;
}

.faq-item h3 {
    margin-bottom: 10px;
    color: #333; /* Dark text color */
}

.faq-item p {
    color: #555; /* Medium dark text color */
}

/* Contact section styles */
.contact {
    background-color: #fff; /* White background */
    padding: 80px 0;
}

.contact h2 {
    margin-bottom: 40px;
}

.contact a {
    color: #007bff; /* Primary link color */
}

.contact a:hover {
    text-decoration: none;
}

.newsletter {
    max-width: 400px;
    margin: 0 auto;
}

/* Download section styles */
.download {
    padding: 80px 0;
    text-align: center;
}

.download h2 {
    margin-bottom: 40px;
}

.download img {
    width: 100%;
    max-width: 200px; /* Adjust size of app store badges */
    margin: 0 auto;
    box-shadow: 0 0px 3px rgba(0, 0, 0, 0.4);
}

/* Footer styles */
.footer {
    background-color: #333; /* Dark background color */
    color: #fff; /* Light text color */
    padding: 20px 0;
}

.footer p {
    margin-bottom: 10px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    display: inline-block;
    margin-right: 20px;
}

.footer ul li a {
    color: #fff; /* Light text color for links */
}

.footer ul li a:hover {
    text-decoration: none;
}

/****************** Sign in *************************/
.login-container {
    background-color: rgba(255, 255, 255, 0.8)!important;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.login-container h1 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 20px
}

.login-container h2 {
    font-size: 1.8em;
    color: #333;
}

.login-container p {
    font-size: 1.3em;
}

#loginForm {
    width: 100%;
    height: 100%;
}

.sign-in {
    /*display: none;*/
    padding: 4px 8px;
    text-decoration: none;
    color: #4285F4;
    font-size: 1em;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 12px;
    text-align: center;
    
    position: fixed;
    right: -200px; /* Start off-screen */
    transition: right 0.3s ease-in-out; /* Animation for sliding in */
}


.sign-in:hover {
    background: #e7f0fd;
}

/************************* Content *********************************/
.content {
    height: 100%;
    width: 100%;
    padding-left: 12px;
}

main {
    margin-top: 40px;
    margin-bottom: 40px;
}

.container-fluid, .row {
    height: 100%;
    width: 100%;
}

section {
    margin-top: 80px;
    padding: 40px 20px;
}

.hero-container {
    max-width: 1500px;  
    width: 100%;        
    margin: 0 auto;  
    display: flex;
    flex-wrap: wrap;
}

.half-intro {
    flex: 1 1 100%; /* Flex-grow, flex-shrink, and basis */
    box-sizing: border-box;
    padding: 8px;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

.half-intro h2, .hero-content h2 {
    align-self: flex-start;
    font-size: 3.5em;
}

.hero-content p {
    font-size: 1.5em;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.half-intro img, .hero-image img {
    object-fit: fill;
    width: 100%;
    /*max-width: 400px;*/
    /*border-radius: 10px;*/
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);*/
    transition: transform 0.3s, box-shadow 0.3s;
    height: auto;
}

.align-left {
    align-self: flex-start;  
}

footer {
    box-shadow: 0 4px 6px 3px rgba(0, 0, 0, 0.2);
    font-size: 0.75em;
    font-weight: 500;
    width: 100%;
    background-color: #fefff9;
    color: #616160;
    text-align: center;
    padding: 8px;
}

footer p {
    margin: 0;
}




/**************** Responsive ************************/

@media (min-width: 576px) {
    .action-bar {
        /*padding: 4px 14px;*/
    }
    
    .half-intro h2 {
        font-size: 60px;
    }
    .half-intro p {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .cta-button {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .hero-image img,
    .demo img {
        margin-bottom: 40px;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .action-bar {
        /*padding: 6px 16px;*/
    }
    
    .half-intro {
        flex: 1 1 50%; /* Flex-grow, flex-shrink, and basis */
    }
    
    .half-intro h2 {
        font-size: 52px;
    }
    .half-intro p {
        font-size: 25px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .action-bar {
        /*padding: 6px 18px;*/
    }
    
    .half-intro h2 {
        font-size: 64px;
    }
    .half-intro p {
        font-size: 32px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    header {
        /*padding: 8px 22px;*/
    }
    
    .hero-container {
        max-width: 1800px;
    }
    .half-intro h2 {
        font-size: 54px;
    }
    
    .half-intro p {
        font-size: 34px;
    }
    
    .action-bar h1, .login-container h1 {
        font-size: 2em;
    }
    
    .login-container h2 {
        font-size: 2.2em;
    }

    .login-container p {
        font-size: 1.6em;
    }
    
    .login-container {
        padding: 14px 24px;
    }
    
    .form-control {
        font-size: 2rem!important;
    }
    
    .sign-in {
        font-size: 1.5em;
    }
}

@media (min-width: 2000px) {
    .action-bar {
        /*padding: 10px 24px;*/
    }
    
    .half-intro h2 {
        font-size: 106px;
    }
    .half-intro p {
        font-size: 40px;
    }
}
