@font-face {
    font-family: 'DM_Sans';
    src: url('/assets/fonts/DM_Sans/DMSans-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-style: normal;
    font-weight: 100 900; /* This covers the full range of weights */
}

.checklist {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 0;
  text-align: left;
}

.checklist li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: -0.2rem;
  width: 2rem;
  height: 2rem;
  background-image: url('/assets/images/check_icon.svg');
  background-size: cover;
}


:root {
    --primary-color: #EF35C1;
    --primary-hover: #D44CA5;
    --secondary-color: #FFFFFF;
    --primary-background: #FFFFFF;
    --secondary-background: #E2E8FB;
    --secondary-background-rgb: 226, 232, 251;
    --footer-background: #00001E;
    --text-color: #21212A;
    --header-text-color: #212128;
    --header-height: 10vh;
}

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

body {
    font-family: 'DM_Sans', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--secondary-color);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--header-color);
    font-weight: 450;
}

h2 {
    font-size: 3rem;
}

a {
    color: var(--primary-color);
}
/* ----------------------------------- */
/* HEADER NAV */
/* ----------------------------------- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: transparent;
    min-height: var(--header-height);
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 50px;
    width: auto;
    z-index: 1001;
}

.logo img {
    height: 100%;
    width: auto;
}

nav {
    display: flex;
    gap: 4rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-color);
}

.no-scroll {
    overflow: hidden;
}

.mobile-nav {
    display: none;
    position: fixed;
    padding-top: var(--header-height); 
    padding-left: 1rem;
    padding-right: 1rem;
    top: 0;

    height: 100%;
    right: 0;
    background-color: white;
    width: 100%;
    z-index: 999;
    flex-direction: column;
    gap: 2px;
}

.mobile-nav a {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    color: var(--text-color);
    text-decoration: none;
    font-size: 2rem;
}


.mobile-nav.active {
    display: flex;
    animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

/* ----------------------------------- */
/* BUTTONS */
/* ----------------------------------- */

button, .button {
    display: inline-block;
    text-align: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--footer-background);
    color: #fff;
    font-weight: bold;
    min-width: 150px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}


.secondary-btn {
    background-color: rgba(239, 53, 193, 0.05); /* Primary color with 5% opacity */
    color: var(--primary-color); /* Text color as primary color */
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.portal-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    height: 44px;
    width: 160px;
}

.portal-btn:hover {
    background-color: var(--primary-hover);
    color: white;
}

.signup-btn {
    background-color: var(--footer-background);
    color: white;
    border: none;
}

.signup-btn:hover {
    background-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    width: 40px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    align-items: center;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 4px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
    transform-origin: 1px;
}

.mobile-menu-btn.active .bar:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-btn.active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-btn.active .bar:nth-child(3) {
    transform: rotate(-45deg);
}

.btn-signup {
  text-align: center;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0077cc;
  color: #fff;
  /* border-radius: 4px; */
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-signup:hover {
  background-color: #005fa3;
}

/* ----------------------------------- */
/* FOOTER */
/* ----------------------------------- */
footer {
    background-color: var(--footer-background);
    color: white;
    padding: 3rem 5%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 4rem 0;
}

.footer-logo {
    width: 50%;
}

.footer-logo h1 {
    font-size: 3rem;
    line-height: 3rem;
}

.footer-button {
     background-color: transparent;
     color: var(--primary-color);
     text-decoration: none;
     border: 2px solid var(--primary-color);
     font-weight: bold;
     text-align: center;
     padding: 1rem 2rem;
     margin-top: 3rem;
 }


.footer-links {
    display: flex;
    flex: 2;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #555;
}



/* ----------------------------------- */
/* COMMON (TODO consider separate file) */
/* ----------------------------------- */
.info-section-1 {
  display: flex;              /* Lay out text and image side by side */
  background-color: rgba(var(--secondary-background-rgb), 0.3);
  align-items: center;        /* Vertically center them in the row */
  justify-content: space-between;
  padding: 0;
  margin: 0 auto;
}

.text-container, .image-container {
  flex: 1; 
  width: 50%; 
  box-sizing: border-box; 
}

@media (max-width: 980px) {
    .info-section-1 {
        flex-direction: column; 
        padding: 0; 
        padding-top: 2rem;
    }
    .info-section-1-reverse-mobile {
        flex-direction: column-reverse;
    }
    .text-container {
        padding-bottom: 2rem;
    }

    .image-container img {
        width: 100%; 
        border-radius: 0;
    }
}

.text-container {
    padding: 2rem 0;
}
.text-container ul {
    margin-left: 6rem;
}
.text-container h2 {
    /*font-size: 3rem;*/
    max-width: 520px;
    margin-left: 6rem;
    margin-right: 6rem;
    margin-bottom: 1rem;
    line-height: 3rem;
}

.text-container p {
    margin-bottom: 1rem;
    line-height: 1.5;
    margin-left: 6rem;
    margin-right: 6rem;
}

.text-container a {
    margin-left: 6rem;
    margin-right: 6rem;
    margin-bottom: 1.5rem;
    display: inline-block; 
}

/* Image container styling */
.image-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image-container img {
  width: 100%;           /* Ensure image scales down on smaller screens */
  height: auto;              /* Keep the correct aspect ratio */
}



.column-info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    justify-content: center;
    background-color: rgba(var(--secondary-background-rgb), 0.3);
    padding: 10rem 2rem;
    text-align: center;
}

.column-info-section h2 {
    max-width: 600px;
}

.column-info-section p {
    max-width: 700px;
    font-size: 1.5rem;
    line-height: 2rem;
}
/* Responsive Design */
@media (max-width: 1360px) {
    .footer-logo {
        width: 40%;
    }
}

@media(max-width: 1020px){
    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .portal-btn {
        display: none;
    }

    .text-container {
        margin-right: 0;       
        margin-top: 1rem;
    }
    .text-container, .image-container {
        width: 100%;
    }
    .text-container h2 {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .text-container p {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .text-container a {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .text-container .checklist li {
        padding-left: 0rem;
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

    .text-container .checklist li::before {
        content: '';
        position: absolute;
        left: -3rem;
        top: -0.2rem;
        width: 2rem;
        height: 2rem;
        background-image: url('/assets/images/check_icon.svg');
        background-size: cover;
    }


}
@media (max-width: 768px) {

    nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-container {
        flex-direction: column;      
        align-items: center;         
        text-align: center;          
    }

    .footer-logo {
        margin: 0 auto 1.5rem;
        width: 100%;
    }

    .footer-links {
        flex-direction: column;      
        align-items: center;
    }

    .footer-column {
        min-width: 0;                
        margin-bottom: 1.5rem;
    }

    .footer-button {
        margin-top: 2rem;
    }
    .hide-on-mobile {
        display: none;
    }

}

@media (max-width: 480px) {
    header {
        padding: 1rem 3%;
    }
}
