@font-face {
    font-family: 'Elsie';
    src: url('../fonts/Elsie/Elsie-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Elsie';
    src: url('../fonts/Elsie/Elsie-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 400;
    font-style: normal;
}

:root {
    --pink: #ffd6e8;
    --periwinkle: #d6d9ff;
    --light-pink: #ffeef5;
    --light-periwinkle: #e8eaff;
    --text-dark: #2d2d2d;
    --text-light: #ffffff;
}

body {
    font-family: 'Elsie', serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    font-weight: 400;
}

/* Background Gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--pink) 25%, var(--light-periwinkle) 50%, var(--periwinkle) 75%, var(--light-pink) 100%);
    background-size: 200% 200%;
    animation: gradientShift 60s ease-in-out infinite;
    z-index: -2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Stars Container */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    animation: twinkle 3s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(45deg) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: rotate(45deg) scale(1.2);
    }
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Main Content */
main {
    padding: 3rem 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    main {
        padding: 2rem 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Sections */
section {
    margin-bottom: 4rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: 1px;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* App Suite */
.app-suite {
    text-align: center;
}

.app-logos {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.app-logo-item {
    flex: 0 0 auto;
}

.app-link {
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease;
    display: block;
}

.app-link:hover {
    transform: translateY(-5px);
}

.app-logo-placeholder {
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.app-link:hover .app-logo-placeholder {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.app-logo-img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.3);
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.app-link:hover .app-logo-img {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.5);
}

.app-logo-item p {
    font-weight: 400;
    font-size: 1.1rem;
}

/* About Section */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Profiles */
.profiles-section {
    text-align: center;
}

.profiles {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: nowrap;
    margin-top: 2rem;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    text-align: center;
    flex: 1;
    max-width: 450px;
}

.profile-image {
    flex: 0 0 auto;
}

.image-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.profile-content {
    flex: 1;
    width: 100%;
}

.profile-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.location {
    font-style: normal;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.location i {
    margin-right: 0.5rem;
    color: var(--text-dark);
}

.profile-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Non-Profits */
.nonprofits-section {
    text-align: center;
}

.nonprofits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.nonprofit-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    text-align: center;
}

.nonprofit-logo {
    max-width: 200px;
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.nonprofit-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.nonprofit-card h3 i {
    margin-right: 0.75rem;
    color: var(--text-dark);
    vertical-align: middle;
}

.nonprofit-card p {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Mission */
.mission {
    text-align: center;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 2;
    max-width: 900px;
    margin: 0 auto;
    font-style: normal;
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-footer {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

footer p {
    color: var(--text-dark);
    opacity: 0.8;
}

/* App Backstories Carousel */
.app-backstories {
    text-align: center;
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
    min-height: 450px;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.backstory-card {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    text-align: center;
    min-height: 450px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.backstory-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 400;
}

.backstory-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-nav {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    font-size: 1.5rem;
    position: relative;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.carousel-nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.dot.active {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.carousel-pause-btn {
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    color: var(--text-dark);
    font-size: 1.5rem;
}

.carousel-pause-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}


/* Responsive Design */
/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    /* Typography */
    body {
        font-size: 0.95rem;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    
    .section-intro {
        font-size: 1.1rem;
    }
    
    /* Header & Footer */
    .logo {
        max-width: 150px;
    }
    
    .logo-footer {
        max-width: 150px;
    }
    
    header {
        padding: 1.75rem 0;
    }
    
    footer {
        padding: 1.75rem 0;
    }
    
    /* Sections */
    section {
        padding: 2rem;
        margin-bottom: 3rem;
    }
    
    /* App Suite */
    .app-suite h2 {
        font-size: 1.8rem;
    }
    
    .app-logo-img {
        width: 130px;
        height: 130px;
    }
    
    /* Profiles */
    .profiles {
        flex-wrap: nowrap;
    }
    
    .profile-card {
        max-width: 100%;
        padding: 1.75rem;
    }
    
    .profile-content h3 {
        font-size: 1.75rem;
    }
    
    .profile-content p {
        font-size: 1rem;
    }
    
    /* Carousel */
    .carousel-wrapper {
        min-height: 400px;
    }
    
    .backstory-card {
        padding: 2.5rem 2rem;
        min-height: 400px;
    }
    
    .backstory-card h3 {
        font-size: 1.75rem;
    }
    
    .backstory-card p {
        font-size: 1.05rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Typography */
    body {
        font-size: 0.9rem;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .section-intro {
        font-size: 1rem;
    }
    
    /* Header & Footer */
    .logo {
        max-width: 120px;
    }
    
    .logo-footer {
        max-width: 120px;
    }
    
    header {
        padding: 1.5rem 0;
    }
    
    footer {
        padding: 1.5rem 0;
    }
    
    /* Sections */
    section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* App Suite */
    .app-suite h2 {
        font-size: 1.6rem;
    }
    
    .app-logos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        justify-items: center;
        margin-top: 1.5rem;
    }
    
    .app-logo-img {
        width: 100px;
        height: 100px;
        padding: 8px;
    }
    
    /* Profiles */
    .profiles-section .profiles {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .profile-card {
        max-width: 100%;
        flex: 1 1 100%;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .profile-image {
        flex: 0 0 150px;
    }
    
    .profile-photo,
    .image-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .profile-content h3 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .profile-content p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Carousel */
    .carousel-container {
        padding: 0 0.5rem;
    }
    
    .carousel-wrapper {
        min-height: 350px;
    }
    
    .backstory-card {
        padding: 1.5rem 1rem;
        min-height: 350px;
    }
    
    .backstory-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .backstory-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-pause-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-nav-container {
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .carousel-dots {
        gap: 0.5rem;
        margin-top: 1.5rem;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
}

