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

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #EDE6F4;
    color: #121212;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    max-width: 100vw;
}

main {
    margin-top: 6.25rem;
    width: 100%;
    flex: 1;
}

section {
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

/* TEXT STYLING */

p {
    font-size: 1rem;
    line-height: 1.6rem;
    color: #4A2B70;
    text-align: center;
}

h1 {
    text-align: center;
    color: #6A3FA0;
    font-size: 2.5rem;
    margin-bottom: 40px;
    padding-top: 7.5rem;
    margin-top: -7.5rem;
}

h2 {
    font-size: 1.8rem;
    text-align: left;
}

.special-text {
    color: #C04AA0;
    font-weight: bolder;
}

.link-text {
    color: #C04AA0 !important;
    font-weight: 600;
    text-decoration: underline;
}



/* TEXT LAYOUT */

.text-section {
    max-width: 62rem;
}

.text-section p {
    font-size: 1.15rem;
    margin: 1.5rem auto 1.5rem auto;
    line-height: 1.8rem;
}

.divider-line {
    width: 200px;
    height: 2px;
    background-color: #C04AA0;
    border: none;
}

.highlight-box {
    background-color: #F5F0FA;
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #C04AA0;
    text-align: left;
    margin: 40px auto 40px auto;
}

.highlight-main {
    font-size: 1.5rem;
    color: #6A3FA0;
    font-weight: bold;
}



/* NAVIGATION */

nav {
    position: fixed;
    width: 100%;
    background-color: #6A3FA0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6.25rem;
    padding: 0 24px;
    box-sizing: border-box;
    z-index: 999;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 100;
}

a.nav-left {
    text-decoration: none;
}

.logo {
    height: 5rem;
    width: auto;
    border-radius: 12px;
    object-fit: contain;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #F5F0FA;
    letter-spacing: 0.03rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
    z-index: 100;
}

.menu-toggle span {
    width: 2rem;
    height: 0.2rem;
    background-color: #F5F0FA;
    border-radius: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-right a {
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 500;
    color: #F5F0FA;
    transition: opacity 0.2s ease;
}

.nav-right a:hover {
    opacity: 0.75;
}

.nav-right a.active {
    font-weight: bolder;
    opacity: 1;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #6A3FA0;
    min-width: 12.5rem;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 20;
    border-radius: 0 0 8px 8px;
    top: 100%;
    left: 0;
}

.nav-right .dropdown:last-child .dropdown-content {
    left: auto;
    right: 0;
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    font-size: 1rem;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.arrow {
    font-size: 0.8rem;
    margin-left: 0.3125rem;
    vertical-align: middle;
}



/* CAROUSEL */

.carousel-container {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    margin-top: 40px;
    justify-content: space-around;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-overlay {
    position: relative;
    max-width: 1100px;
    margin: 80px;
    z-index: 5;
    background-color: rgba(255,255,255,0.75);
    border-radius: 12px;
    padding: 30px 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.carousel-text {
    color: #C04AA0;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 0.0625rem;
    margin: 0;
    padding: 0;
}

.carousel-subtext {
    color: #4A2B70;
    font-size: 1rem;
    line-height: 1.6rem;
    margin: 0;
}

.carousel-top-line, .carousel-bottom-line {
    position: absolute;
    height: 4px;
    background-color: #C04AA0;
    z-index: 10;
}

.carousel-top-line {
    top: 0;
    width: 0;
    align-self: start;
}

.carousel-bottom-line {
    bottom: 0;
    width: 100%;
}



/* BUTTONS */

.purple-button {
    background-color: #6A3FA0;
    color: #F5F0FA;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.purple-button:hover {
    background-color: #5a3589;
    transform: translateY(-2px);
    opacity: 1;
}

.pink-button {
    display: inline-block;
    background-color: #C04AA0;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
    align-self: flex-start;
}

.pink-button:hover {
    background-color: #6A3FA0;
}



/* FOOTER */

footer {
    width: 100%;
    background-color: rgba(106, 63, 160, 0.9);
    color: #F5F0FA;
    box-sizing: border-box;
}

footer span {
    text-align: left;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: stretch;
    padding: 40px;
    margin-top: auto;
}

.footer-left, .footer-right, .footer-middle {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-left {
    justify-content: space-between;
    /*gap: 1.8rem;*/
}

.footer-right {
    justify-content: space-between;
    padding-top: 1.4rem;
}

.footer-middle {
    /*justify-content: space-between;*/
    gap: 20px;
    padding-top: 1.4rem;
}

.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 15px;
}

.footer-logo {
    height: 4rem;
    width: auto;
}

.footer-brand-name {
    font-size: 1.4rem;
    font-weight: bold;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: inherit;
    gap: 0;
}

.footer-description {
    max-width: 400px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: inherit;
    gap: 0.8rem;
}

.footer-link {
    height: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: left;
    gap: 10px;
    text-decoration: none;
}

footer a:hover {
    opacity: 0.9;
}

.footer-link img {
    width: 1rem;
}

.footer-link span {
    color: #F5F0FA;
    font-size: 1rem;
    text-decoration: none;
}

.footer-link-section {
    display: flex;
    flex-direction: column;
    align-items: inherit;
    gap: 5px;
}

.footer-heading {
    color: #F5F0FA;
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 0 0;
} 



/* RESPONSIVE DESIGN */

@media (max-width: 992px) {
    
    /* NAVIGATION */
    
    .menu-toggle {
        display: flex;
    }

    .nav-right {
        position: absolute;
        top: 6.25rem;
        left: 0;
        width: 100%;
        background-color: #6A3FA0;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 50;
    }

    .nav-right.show {
        max-height: 800px;
    }

    .nav-right a, .dropdown {
        width: 100%;
        padding: 20px;
        text-align: center;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown a {
        border-top: none;
    }
    
    .dropdown:hover {
        padding: 20px 20px 0 20px;
    }

    .dropdown-content {
        margin-top: 20px;
        position: static;
        width: 100%;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.1);
    }
    
    .dropdown-content a {
        text-align: center;
        margin: 0;
        padding: 16px 0;
    }
    
    
    /* FOOTER */
    
    .footer-content {
        max-width: 25rem;
        margin: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }
    
    .footer-left, .footer-middle, .footer-right {
        gap: 15px;
    }
}