/* Basic Resets & Global Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Edu SA Hand", cursive;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden; /* Clear floats */
}
.container-hero {
    width: 95%;
    max-width: 1200px;
    margin: auto;
    background-color: #FF6B6B;
    overflow: hidden; /* Clear floats */
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.button {
    display: inline-block;
    padding: 20px 20px;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    margin: 10px;
}
.button-pri{
    background-color: #FF6B6B;
    color: #fff;
}
.button-pri:hover {
    background-color: #FF4C4C;
}
.button-sec {
    background-color: #FFD700;
    color: #fff;
}
.button-sec:hover {
    background-color: #FFC700;
}

.main-header{
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px #0000;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.main-header.container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo{
    font-size: 1.8em;
    font-weight: bold;
    color: #FF6B6B;
}
.nav-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-nav ul{
    display: flex;
}
.main-nav ul li {
    margin-left: 25px;
}
.main-nav a{
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}
.main-nav a:hover {
    color: #FF6B6B;
}
.main-nav.active {
    display: block;
}

.badges img{
    max-width: 70%;
    height: width*(9/16);
}

.menu-toggle{
    display: none;
    background: none;
    border: none;
    font-size: 1.8em;
    cursor: pointer;
    color: #333;
}

.hero{
    color: #fff;
    text-align: center;
    padding: 20px 0;
}
.hero-text-image{
    display: flex;
}
.hero h1{
    font-size: 2.8em;
    margin-bottom: 20px;
}
.hero p{
    font-size: 1.2em;
    margin-bottom: 20px;
}
.hero .phone{
    max-width: 30%;
    height: width*(16/9);
}

.how-it-works-section{
    padding: 20px 0;
    background-color: #fff;
    text-align: center;
}
.how-it-works-section h2{
    font-size: 2em;
    margin-bottom: 20px;
}
.steps-grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.step-item{
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 20px;
    background-color: #E9ECEF;
    border-radius: 10px;
    box-shadow: 0 2px 5px #0000;
}
.icon-placeholder{
    font-size: 3em;
    margin-bottom: 15px;
}
.step-item h3{
    font-size: 1.5em;
    margin-bottom: 10px;
}

.features-section{
    padding: 20px 0;
    text-align: center;
}
.features-section h2{
    font-size: 2em;
    margin-bottom: 20px;
}
.features-list{
    display: inline-block;
    text-align: left;
    font-size: 1.2em;
}
.features-list li{
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}
.features-list li::before{
    content: "✔";
    position: absolute;
    left: 0;
    color: #FF6B6B;
    font-weight: bold;
}

.download-section{
    padding: 20px 0;
    text-align: center;
}
.download-section h2{
    font-size: 2em;
    margin-bottom: 20px;
}
.download-section p{
    font-size: 1.2em;
    margin-bottom: 20px;
}
.download-buttons .button{
    margin: 10px;
    padding: 10px;
}

.footer{
    padding: 20px 0;
    text-align: center;
    font-size: 0.8em;
}
.footer .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer p{
    margin: 10px 0;
}
.social-links img{
    width: 30px;
    height: 30px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}
.footer-nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}
.footer-nav li{
    margin: 0 15px 10px
}
.footer-nav a{
    transition: color 0.3s ease;
}
.footer-nav a:hover {
    color: #FF6B6B;
}

.policies-section h1{
    margin-bottom: 15px;
}
.policies-section h2{
    font-size: 1.2em;
    margin-bottom: 15px;
}
.policies-section h3{
    font-size: 1.0em;
}
.policies-section p{
    font-size: 1em;
    margin-bottom: 15px;
}
.policies-section li{
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px;
}
.policies-section li::before{
    content: "✔";
    position: absolute;
    left: 10px;
    color: #FF6B6B;
    font-weight: bold;
}

@media (max-width: 768px){
    .main-header.container{
        flex-direction: row;
        justify-content: space-between;
    }
    .main-nav{
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 20px;
        left: 0;
        background-color: #fff;
        box-shadow: 0 2px 5px #0000;
        padding: 10px 0;
        z-index: 999;
    }
    .main-nav ul{
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .main-nav ul li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    .main-nav ul li:last-child {
        margin-top: 15px; /* Space for the button */
    }
    .menu-toggle {
        display: block; /* Show hamburger icon */
    }
    .hero h1 {
        font-size: 2em;
    }
    .hero p {
        font-size: 1em;
    }
    .how-it-works-section h2,
    .features-section h2,
    .download-section h2 {
        font-size: 1.8em;
    }
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    .step-item{
        width: 90%;
        max-width: 400px;
    }
    .features-list{
        padding: 0 15px;
        font-size: 1em;
    }
    .hero-buttons, .download-buttons{
        flex-direction: column;
        display: flex;
        align-items: center;
    }
    .badges img{
    max-width: 70%;
    height: width*(9/16);
    }
    .main-footer .container{
        padding: 0 20px;
    }
    .footer-nav{
        margin-bottom: 10px;
    }
}

.form-group{
    margin-top: 15px;
}
label{
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="text"],
input[type="email"],
input[type="password"],
textarea{
    width:calc(100% - 20px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}
textarea{
    resize: vertical;
}
button[type="submit"]{
    background-color: #FF6B6B;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    width: 70%;
    transition: background-color 0.3s ease;
}
button[type="submit"]:hover{
    background-color: #FF4C4C;
}
.g-recaptcha{
    margin-top: 15px;
    margin-bottom: 15px;
}
.resetP{
    padding: 20px;
    text-align: end;
    font-size: 0.8em;
    color: #FF6B6B;
}
button[class="togglePassword"]{
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    margin: 10px;
    cursor: pointer;
}
.confirmTerms{
    width: 20px;
    height: 20px;
    margin: 10px;
}
button[id="signin-button"]{
    background-color: #FF6B6B;
    color: #fff;
    padding: 12px 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    width: 70%;
    transition: background-color 0.3s ease;
}
button[id="signin-button"]:hover{
    background-color: #FF4C4C;
}
button[id="signup-button"]{
    background-color: #FFD700;
    color: #FF6B6B;
    padding: 12px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    width: 70%;
    transition: background-color 0.3s ease;
}
button[id="signup-button"]:hover{
    background-color: #FFC700;
}
button[class="banner-btn"]{
    background-color: #FF6B6B;
    color: #fff;
    padding: 12px 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    width: 40%;
    transition: background-color 0.3s ease;
}
button[class="banner-btn"]:hover{
    background-color: #FF4C4C;
}
button[id="slide-back"], [id="slide-next"]{
    background-color: #FFD700;
    position: absolute;
    color: #FF6B6B;
    padding: 16px;
    margin-top: -22px;
    margin-left: 10px;
    border: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    opacity: 0.5;
    top: 50%;
    width: auto;
    transition: background-color 0.3s ease;
    z-index: 30;
}
button[id="slide-back"]:hover, [id="slide-next"]:hover{
    background-color: #c99e01;

}
button[id="slide-next"] {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.accBtns{
    cursor: pointer;
    align-content: center;
    margin-bottom: 5px;
}
.profile-picture{
    width: 100px;
    height: 100px;
    border-radius: 50px;
    object-fit: cover;
    margin-bottom: 15px;
    margin-top: 15px;
}
.profile-picture2{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    object-fit: cover;
    margin: 10px;
    background-color: #fefefe;
}
.profile-grid{
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    margin-top: 5px;
}
.karibu-grid{
    display: flex;
    justify-content: left;
    align-items: center;
    margin: 5px;
}
.collapsible{
    padding: 15px;
    text-align: left;
    font-size: 1.2em;
    font-family: "Edu SA Hand", cursive;
    border: none;
    background-color: #fff;
    width: 100%;
    cursor: pointer;
}
.active, .collapsible:hover{
    background-color: #FF6B6B;
    color: #fff;
}
.pContent{
    padding: 10px;
    overflow: hidden;
}
.home-banner{
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 20px;
    border: 2px solid #FF6B6B;
    border-radius: 10px;
    display: none;
    box-shadow: 5px 5px 5px #d65a5a;
    background-color: #fefefe;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #fed8d8;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover {
  background-color: #FF6B6B;
}
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
.bottom-modal{
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #0000;
    background-color: rgba(0,0,0,0.4);
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
}
.modal-content {
    position: fixed;
    display: flex;
    flex-direction: column;
    bottom: 0;
    background-color: #fefefe;
    width: 95%;
    max-height: 85vh;
    border: 1px solid #FF6B6B;
    border-radius: 15px 15px 0 0;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
}
.modal-acc-content{
    position: fixed;
    display: flex;
    flex-direction: column;
    bottom: 25vh;
    left: 25vh;
    width: 50vh;
    height: 50vh;
    background-color: #fefefe;
    border: 1px solid #FF6B6B;
    border-radius: 15px 15px 0 0;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    padding: 2px 16px;
    background-color: #FF6B6B;
    color: white;
    border-radius: 15px 15px 0 0;
    justify-content: space-around;
    flex-shrink: 0;
}
.modal-body {
    padding: 2px 16px;
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
}
.modal-footer {
    padding: 2px 16px;
    flex-shrink: 0;
}
@-webkit-keyframes slideIn {
    from {bottom: -300px; opacity: 0} 
    to {bottom: 0; opacity: 1}
}
@keyframes slideIn {
    from {bottom: -300px; opacity: 0}
    to {bottom: 0; opacity: 1}
}
@-webkit-keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}
@keyframes fadeIn {
    from {opacity: 0} 
    to {opacity: 1}
}
.album-header{
    display: block;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fefefe;
    border-radius: 15px;
    margin-top: 20px;
    border: 2px solid #FF6B6B;
    box-shadow: 5px 5px 5px #d65a5a;
}
.albumImg{
    width: 90%;
    height: width*0.1;
    margin-top: 20px;
    align-self: center;
    justify-content: center;
}
.album-icons{
    justify-content: space-evenly;
    align-items: center;
    display: flex;
    margin: 10px;
}
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    cursor: pointer;
}
.image-card{
    border-radius: 15px; 
    border: 2px solid #FF6B6B; 
    display: block; 
    padding: 15px; 
    margin-top: 20px;
    align-items: center;
    justify-content: center;
    background-color: #fefefe; 
    box-shadow: 5px 5px 5px #d65a5a;
}
.fab-add{
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    background-color: #fefefe; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    box-shadow: 5px 5px 5px #d65a5a;
    border: 2px solid #FF6B6B;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
input[type="file"]{
    display: none;
}
.snap-media{
    align-items: center;
    justify-content: center;
    display: flex;
    max-height: 500px;
    width: 100%;
}
.actual-media{
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
#digitalAlbum{
    perspective: 800px;
    width: 100%;
    height: 141vw;
    position: relative;
    margin-bottom: 10px;
}
.slide{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: transform 1.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    backface-visibility: hidden;
    z-index: 1;
    visibility: hidden;
}
.slide.active{
    z-index: 10;
    visibility: visible;
    transform: rotateY(0deg);
}
.slide.leaving{
    z-index: 5;
    visibility: visible;
    transform: rotateY(180deg);
}
.all-imagesA{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(3, 2fr);
    gap: 10px;
    width: 100%;
    height: 100%;
    background-color: #fefefe;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.all-imagesB{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    height: 100%;
    background-color: #fefefe;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.media-item-wrapper {
    overflow: hidden;
    border-radius: 10px;
}
.media-item-wrapper .actual-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.img-commentA{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    height: 100%;
    background-color: #fefefe;
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
}
.span-two-rows {
    grid-row-end: span 2; 
}