/* Global Styles */
body {
    font-family: var(--body-font);
    text-align: center;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);    
}

p {
    line-height: 1.6;
    font-size: 1.3rem; /* Improves readability with larger text */
}



/* Header styles with Height Adjustment */
header {
    background-color: var(--color-white);
    padding: var(--padding-large);
    height: 150px;
    box-sizing: border-box;
}

/* Logo Container Styles */
.logo-container {
    position: relative;
    display: flex;
    align-items: stretch; /* Ensures consistent height */
    justify-content: space-around;
    max-width: 1400px;
    margin: 0 auto;
    gap: var(--padding-medium);
}

.logo-container > div {
    position: relative;
    padding: 10px;
    flex: 1; /* Ensures consistent spacing */
}

.school-logo {
    max-width: 280px;
}

.sv-logo-container {
    text-align: center;
}

.sv-logo-container h3 {
    margin: 0;
    font-size: 1rem;
}

.sv-logo {
    max-width: 100px;
}

/* Navigation Styles */
nav {
    flex-grow: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

nav a {
    text-decoration: none;
    color: var(--color-primary);
    font-weight: bold;
    font-size: 1.2rem;
    padding: 0 15px;
}

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

/* Divider Height Adjustment */
.logo-container > div:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 16.66%; /* Adjusted to reduce divider height by one-third */
    bottom: 16.66%;
    width: 2px;
    background-color: var(--color-accent);
    overflow: hidden;
}

/* Hero Section Styles */
.hero {
    background-image: linear-gradient(135deg, white, var(--color-accent)); /* 135deg creates diagonal from top-left to bottom-right */
    background-size: cover;
    background-position: center;
    padding: 30px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.heading-container {
    flex: 1;
    position: relative;
    padding-right: 20px;
}

.year-badge {
    display: inline-block;
    background-color: var(--color-button-bg); /* You can change this color */
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin: 0;
}

.highlight-image {
    max-width: 60%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

/* Feature Container Styles */
.feature-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    width: 45%;
    margin-bottom: 30px;
}

.feature img {
    float: left;
    max-width: 100px;
    margin-right: 20px;
}

/* Instructions Container */
.setup_instructions {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    padding: 20px;
    margin: 0 auto;
    max-width: 600px;
    text-align: left; /* Ensures text aligns left within container */
    box-sizing: border-box;
}

/* List Styles */
ul, ol {
    list-style-position: inside;
    padding-left: 20px; 
    margin-left: 0;
    width: 100%; /* Stretch to container width */
}

li {
    padding: 5px 0;
    font-size: 1.2rem;
    text-align: left; /* Ensure list items align left */
}

/* Optional: Style list markers */
ul li::marker,
ol li::marker {
    color: var(--color-accent);
    font-weight: bold;
}

/* Centering Image */
.image {
    width: 100%;
    height: auto;
    max-width: 500px;
    margin: 20px auto;
    display: block;
}

.feature-image {
    width: 25%;
}

.iphone-image {
    width: 15%;
}

/* Hide by default */
.hidden {
    display: none;
}

.button-container {
    margin-bottom: 20px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    margin: 5px;
    background-color: var(--color-button-bg);
    color: var(--color-white);
    border: none;
    cursor: pointer;
}

/* FAQ Container Styling */
#faq {
    width: 80%;
    margin: 40px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

#faq h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.faq-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    margin-bottom: 15px;
}

.question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-light-gray);
    padding: 15px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
}

.icon {
    font-size: 1.5rem;
    margin-left: 10px;
    transition: transform 0.3s, content 0.3s;
}

/* The answer section */
.answer {
    padding: 15px;
    background-color: var(--color-lighter-gray);
    border-radius: 5px;
    margin-top: 5px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: left; /* Ensures left alignment */
}


/* Show the answer when active */
.faq-item.active .answer {
    opacity: 1;
    max-height: 200px; /* Adjust this value based on your content height */
}

/* Change the icon to minus when active */
.faq-item.active .icon {
    transform: rotate(45deg);
}

/* Footer Styling */
#footer {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 20px 10px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 5px;
}

.footer-section a {
    color: var(--color-white);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

input[type="email"] {
    padding: 5px;
    margin-right: 5px;
}

button {
    padding: 5px 10px;
    background-color: #06205c;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: var(--color-button-hover);
}
.material-icons {
    vertical-align: middle;
    font-size: 18px;
    margin-right: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    header {
        padding: 10px;
    }
    .main {
        padding-top: 5px;
    }

    .logo-container {
        flex-direction: row;
        align-items: center;
    }

    .heading-container {
        margin-bottom: 20px;
        padding-right: 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: center; /* changed from text-align  */
    }

    .hero-content h1 {
        margin-bottom: 20px;
    }

    .highlight-image {
        max-width: 90%;
    }

    .feature-container {
        flex-direction: column;
        padding: 0 10px;
    }

    .feature {
        width: 90%;
        margin-bottom: 20px;
    }

    .feature img {
        max-width: 80px;
        margin-right: 15px;
    }

    .image,
    .feature-image,
    .iphone-image {
        width: 90%;
        margin: 0 auto;
        display: block;
    }

    .feature-image,
    .iphone-image {
        width: 60%;
        margin: 10px auto;
    }

    .logo-container > *:not(:last-child)::after {
        display: none;
    }

    .hero {
        background-image: linear-gradient(145deg, white, var(--color-accent));
        padding: 20px;
    }
    nav {
      height: auto; /* Remove or adjust height */
      align-items: flex-start; /* Align nav content to the top */
    }
    nav a {
      align-items: flex-start;
    }

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