@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

:root {
    --primary-red: #E16560;
    --secondary-red: #c4342f;
    --dark-red: #6F1815;
    --darker-red: #801C18;
    --light-red: #ffebeb;
    --background: #ffffff;
}


/*#E16560, #c4342f, #6F1815, #801C18, #E4CCCC*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    background-color: var(--light-red);
    font-family: "DM Sans", sans-serif;
    color: #000;
    background-color: var(--background);
    /* Changed from min-height to height to prevent overflow */
    /* Add these to remove default margins/padding that might cause scrollbars */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

b {
    color: var(--secondary-red);
}

nav {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: var(--background);
    padding: 1rem;
    z-index: 100;
}


#nav_logo {
    height: 30px;  /* Adjust this value to match your desired logo size */
    width: auto;
    margin-right: 10px;
}

#navbar {
    margin-left: auto; 
    color: #000;
}

#navbar a {
    color: #000;
    text-decoration: none;
    padding: 0 10px;  /* Reduced horizontal padding between nav items */
}

#hero {
    /* Change from min-height to just height */
    min-height: calc(100vh - 72px); /* Subtracting nav height (approx) */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Remove the margin that causes overflow */
    margin: 0 auto;
    padding: 0 2%;
}

#heroCopy {
    max-width: 600px;
    /* Add some breathing room between heading and copy */
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

#learnMoreBtn {
    background-color: var(--dark-red);
    color: white;
    border: none;
    padding: 6px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: background-color 0.3s ease;
}

.learn-more-btn {
    background-color: var(--dark-red);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 2rem;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.learn-more-btn:hover {
    background-color: var(--darker-red);
}



.award-badge {
    display: inline-flex;
    align-items: center;
    background-color: #000;
    color: white;
    padding: 4px 12px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.trophy-icon {
    margin-right: 8px;
    font-size: 16px;
}

.badge-text {
    letter-spacing: 0.5px;
}

.badge-text a {
    color: white;
    text-decoration: underline;
    background-size: 200% 100%;
    background-position: -100% 0;
    border-radius: 3px;
    animation: gradientMove 3s ease-in-out infinite;
}


.badge-text a:hover {
    color: #f0f0f0;
}

.container {
    text-align: center;
    border-radius: 10px;
    padding: 1em;
    margin: 10px;
    border: 5px solid #C4342F;
}

h1 {
    margin-bottom: 1rem;
}

#solution_contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    margin: 20px;
}

#solution {
    padding: 15px;
    margin: 10px;
    text-align: left;
}

#contact {
    text-align: right;
    padding: 15px;
    margin: 10px;
}

#solution_list {
    margin-left: 1rem;
    padding: .25rem;
}

.contact_image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    margin-left: 15px;
}
.contact_individual {
    text-align: right;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}
@media screen and (max-width: 480px) {
    /* Navigation adjustments */
    nav {
        padding: 0.5rem;
        background-color: var(--background);
    }
    
    #nav_logo {
        height: 25px;
    }
    
    #navbar a {
        padding: 0 8px;
        font-size: 14px;
    }
    
    /* Award badge adjustments */
    .award-badge {
        padding: 5px 12px;
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .trophy-icon {
        font-size: 13px;
        margin-right: 5px;
    }
    
    /* Hero section adjustments */
    #hero {
        height: auto;
        padding: 0 4%;
        justify-content: flex-start;
        padding-top: 25px;
    }
    
    #hero h1 {
        font-size: 23px;
        line-height: 1.25;
        margin-bottom: 0.4rem;
    }
    
    #heroCopy {
        max-width: 100%;
        margin-top: 0.4rem;
    }
    
    #heroCopy p {
        font-size: 15px;
        line-height: 1.35;
    }
    
    /* Button adjustments */
    #learnMoreBtn {
        /* padding: 9px 20px;
        font-size: 14px;
        margin-bottom: 1rem;    
        margin-top: 0.4rem; */
        display: none;
    }
    
    .learn-more-btn {
        padding: 9px 20px;
        font-size: 14px;
        margin-top: 0.8rem;
    }
    
    /* Goal and contact section adjustments */
    #goalncontact {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        margin: 15px;
    }
    
    #solution_contact {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
        padding-left: 0px;
        text-align: left;
    }
    
    #solution_contact > div {
        text-align: left;
    }
    
    #goal, #contact {
        padding: 10px;  
        margin: 5px;
    }
    
    #contact {
        text-align: left;
    }

    .contact_individual {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        text-align: left;
        justify-content: flex-end;
        margin-right: 10px;
        gap: 15px;
        margin-left: -15px;
    }

    #goal h2, #contact h2 {
        font-size: 20px;
        margin-bottom: 0.5rem;
    }
    
    #goal p, #contact p {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* Technology page styling */
body h1 {
    margin: 1rem auto;
    padding: 0 1rem;
    max-width: 1800px;
}

/* Scroll Animation Styles */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for different elements */
.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

.animate-on-scroll.delay-5 {
    transition-delay: 0.5s;
}