@font-face {
    font-family: 'EyeLevelSemiBold';
   	font-weight:600; 
	font-style:normal; 
    src: url('https://raw.githubusercontent.com/eye-level-systems/portal-announcement/main/fonts/EyeLevelSemiBold.otf') format('opentype');
}

@font-face {
    font-family: 'EyeLevelMedium';
    font-weight:500;
    font-style:normal; 
    src: url('https://raw.githubusercontent.com/eye-level-systems/portal-announcement/main/fonts/EyeLevelMedium.otf') format('opentype');
}

@font-face {
    font-family: 'EyeLevelLight';
    font-weight:400;
    font-style:normal; 
    src: url('https://raw.githubusercontent.com/eye-level-systems/portal-announcement/main/fonts/EyeLevelLight.otf') format('opentype');
}

:root {
    --primary-color: #FF9900;
    --secondary-color: #0066FF;
    --accent-color: #00CC99;
    --text-color: #333;
    --bg-color: #f4f4f4;
    --white: #ffffff;
}

body {
    font-family: 'EyeLevelLight', 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

header {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 1rem;
    text-align: center;
}

.logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

header h1 {
    color: #333; /* Adjust this color as needed for better contrast */
}

#goToTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    width: 50px;  /* Fixed width */
    height: 50px; /* Fixed height */
    border-radius: 50%;
    font-size: 18px;
    transition: background-color 0.3s;
    display: flex;           /* Use flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center;     /* Center vertically */
}

#goToTopBtn:hover {
    background-color: var(--secondary-color);
}

nav {
    background-color: var(--secondary-color);
    padding: 0.5rem 1rem;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

nav ul li {
    margin: 0.5rem;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap; /* Prevent text from wrapping */
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    font-family: 'EyeLevelSemiBold', 'Arial', sans-serif;
    color: var(--white);
}

h2 {
    font-family: 'EyeLevelMedium', 'Arial', sans-serif;
    color: var(--secondary-color);
}

ul, ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Changes section styles */
.changes-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.change-group {
    flex: 1;
    min-width: 300px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.change-group h3 {
    font-family: 'EyeLevelMedium', 'Arial', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.change-list {
    list-style-type: none;
    padding-left: 0;
}

.change-list li {
    font-family: 'EyeLevelLight', 'Arial', sans-serif;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    color: var(--text-color);
}

.change-list li i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.key-change {
    background-color: rgba(0, 102, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
}

.key-change i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.key-change p {
    font-family: 'EyeLevelMedium', 'Arial', sans-serif;
    color: var(--text-color);
    margin: 0;
    flex-grow: 1; /* Allow text to take up remaining space */
    display: inline; /* Make paragraph inline */
}

.note {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(255, 153, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.note p {
    font-family: 'EyeLevelLight', 'Arial', sans-serif;
    color: var(--text-color);
    margin: 0;
}

.note strong {
    font-family: 'EyeLevelMedium', 'Arial', sans-serif;
    color: var(--primary-color);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: var(--white);
    border: 4px solid var(--secondary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd)::after {
    right: -17px;
}

.timeline-item:nth-child(even)::after {
    left: -17px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--white);
    position: relative;
    border-radius: 6px;
}

footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Updated Video container styles */
.video-container {
    position: relative;
    width: 100%;
    max-width: 800px; /* Match the max-width of the main content */
    margin: 0 auto 2rem; /* Center the container and keep bottom margin */
}

.video-container::before {
    content: "";
    display: block;
    padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    text-align: center;
    background-color: #f9f9f9;
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0.2em;
}

.countdown-item span {
    display: inline-block;
    min-width: 1.6em;
    padding: 0.2em 0.4em;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
}

.countdown-label {
    font-size: 0.3em;
    margin-top: 0.5em;
    text-transform: uppercase;
    color: var(--text-color);
}

.countdown-separator {
    font-size: 1em;
    color: var(--text-color);
    margin: 0 0.1em;
    align-self: flex-start;
    padding-top: 0.2em;
}

/* Carousel styles */
.carousel {
    margin: 2rem 0;
}

.carousel img {
    width: 100%;
    height: auto;
}
/* Custom styles for Slick Carousel dots */
.slick-dots li button:before {
    font-family: 'slick';
    font-size: 10px;
    line-height: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    content: '•';
    text-align: center;
    opacity: .25;
    color: black;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: black;
}

@media screen and (max-width: 768px) {
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    .countdown {
        font-size: 2em;
        padding: 15px;
    }
}


@media screen and (max-width: 600px) {
    nav {
        padding: 0.5rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.25rem 0;
    }

    .changes-container {
        flex-direction: column;
    }

    .change-group {
        min-width: auto;
    }
	
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 15px;
    }

    .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .timeline-item:nth-child(odd)::after {
        left: 15px;
    }

    .timeline-item:nth-child(even)::after {
        left: 15px;
    }
	
    .countdown {
        font-size: 1.5em;
        padding: 10px;
    }
    
    .countdown-item span {
        min-width: 1.4em;
        padding: 0.1em 0.2em;
    }

    .countdown-label {
        font-size: 0.25em;
    }
}
