@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #30659a;
    color: white;
    padding: 0.75rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-holder {
    display: flex;
    align-items: center;
    /* flex-shrink: 0; */
    margin-left: 65px;
    column-gap: 20px;
}

.site-title {
    color: #ffffff;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.max-480 {
    display: none;
}

.logo-holder a {
    display: block;
    line-height: 0;
}

.logo {
    width: 90px;
    height: auto;
    transform: rotate(-11deg);
    border: 1px solid white;
    border-radius: 4px;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 0.25rem;
    padding: 0;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: background-color 0.3s;
    font-size: 0.95rem;
}

nav a:hover {
    background-color: #34495e;
}

nav a.active {
    background-color: #3498db;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

main {
    flex: 1;
    padding: 2rem;
}

.content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.content-area h1 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.content-area p {
    margin-bottom: 1rem;
    color: #555;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2rem 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3498db;
    margin-bottom: 0;
}

.headline {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.2;
    margin: 0;
}

.subheadline {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.app-store-badge {
    width: 150px;
    height: auto;
    margin-top: 1rem;
    transition: transform 0.3s;
}
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    align-self: flex-start;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.hero-image {
    width: 100%;
    height: 100%;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
    object-fit: cover;
}

/* why this app section */
.whyapp {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
}
.whyapp-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.whyapp-image {
    display: flex;
    max-width: 380px;
    /* height: 100%; */
}
.whyapp-image img {
    object-fit: cover;
    width: 100%;
}

/* Outcomes Section */
.outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 0;
    /* margin-top: 2rem; */
}

.outcome-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.outcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.outcome-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.outcome-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Problems Section */
.problems {
    padding: 3rem 0;
    /* margin-top: 2rem; */
}

.problems h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.problems ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.problems li {
    color: #555;
    font-size: 1.125rem;
    line-height: 1.8;
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #e0e0e0;
}

.problems li:last-child {
    border-bottom: none;
}

.problems li::before {
    content: "•";
    color: #e74c3c;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.9rem;
}

/* Solution Section */
.solution {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
    margin-top: 2rem;
}

.solution-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-align: left;
}

.solution-subheading {
    color: #555;
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
}

.solution-content p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.solution-image {
    width: 100%;
    height: 100%;
}

.solution-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* About Page Styles */
.about-intro {
    margin-bottom: 3rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #2c3e50;
    line-height: 1.8;
    margin-bottom: 0;
}

.about-purpose,
.about-features,
.about-benefit {
    margin-bottom: 3rem;
}

.about-purpose h2,
.about-features h2,
.about-benefit h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.about-purpose p,
.about-benefit p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.feature-item h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.about-history {
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.contact-info {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #ededed;
    border-radius: 6px;
    padding: 2rem;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.contact-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.contact-info h2 {
    margin-bottom: 1rem;
}
.small-font {
    font-size: 0.875rem;
    color: white;
}

.contact-button {
    display: inline-block;
    padding: 0.5rem 2rem;
    background-color: #30659a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    align-self: flex-start;
}

.contact-button:hover {
    background-color: #656667;
    transform: translateY(-1px);
}
footer {
    background-color: #30659a;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
}

.policy-links {
    margin: 1rem 0 0.5rem 0;
}

.social-links {
    margin: 0.75rem 0 0.25rem 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.social-link:hover .social-icon {
    transform: translateY(-1px);
}

a.policy-link {
    color: rgb(189, 189, 189);
    text-decoration: none;
}

/* Transition area for header */
@media (min-width: 100px) and (max-width: 1100px) {
  .logo-holder {
    margin-left: 10px;
    /* flex-shrink: 1; */
  }
  .site-title {
    font-size: 1.1rem;
  }
}

@media (max-width: 980px) {
    .hamburger {
        display: flex;
    }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #30659a;
        box-shadow: 0 4px 6px rgba(0,0,0,0.15);
        z-index: 1000;
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.75rem 0;
        text-align: center;
    }

    nav a {
        display: block;
        padding: 0.9rem 2rem;
        border-radius: 0;
        font-size: 1.15rem;
        text-align: center;
    }

    header {
        position: relative;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .logo-holder {
        margin-left: 30px;
        /* flex-shrink: 1; */
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #30659a;
        box-shadow: 0 4px 6px rgba(0,0,0,0.15);
        z-index: 1000;
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.75rem 0;
        text-align: center;
    }

    nav a {
        display: block;
        padding: 0.9rem 2rem;
        border-radius: 0;
        font-size: 1.15rem;
        text-align: center;
    }

    header {
        position: relative;
    }
    
    .content-area {
        padding: 1rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .headline {
        font-size: 2rem;
    }
    
    .subheadline {
        font-size: 1.125rem;
    }
    
    .outcomes {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 0;
    }
    
    .outcome-card {
        padding: 1.5rem;
    }
    
    .outcome-card h3 {
        font-size: 1.25rem;
    }
    
    .problems {
        padding: 2rem 0;
    }
    
    .problems h2 {
        font-size: 1.5rem;
    }
    
    .problems li {
        font-size: 1rem;
        padding-left: 1.5rem;
    }
    
    .solution {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .solution-image {
        order: 1;
    }
    
    .solution h2 {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .solution-subheading {
        font-size: 1.125rem;
        text-align: center;
    }
    
    .solution-content p {
        text-align: center;
    }
    
    .about-purpose h2,
    .about-features h2,
    .about-benefit h2 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1.125rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-item h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .logo-holder {
        margin-left: 40px;
        /* flex-shrink: 1; */
    }
    .max-480 {
        display: block;
        text-align: center;
        font-size: 1.25rem;
        font-weight: 600;
        color: #30659a;
        letter-spacing: 0.1em;
        margin: 0;
        padding: 0;
    }

    .site-title {
        display: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    /* why this app section */
    .whyapp {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        padding: 0.5rem 0.5rem;
        margin-bottom: 2rem;
    }
    .whyapp-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .whyapp-image {
        display: flex;
        /* max-width: 380px; */
        height: 100%;
    }

}
