/* ===========================
   1. General Styles
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Style+Script&display=swap');
*{
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    margin: 0;
    padding: 0;
    list-style: none;
}
/*global variables*/
:root {
    --midnight-color: #081f5c;
    --dawn-color: #d0e3ff;
    --porcelean-color: #edf1f6;
    --royal-color: #334eac;
    --china-color: #7096d1;
    --jicama-color: #fff9f0;
    --asian-pear-color: #f2f0de;
    --moon-color: #f7f2eb; 
    --sky-color: #bad6eb; 
}

body {
    background-color:  var(--moon-color);
    color: var(--midnight-color);
    background-image: url('images/your-image.jpg');
}

/* ===========================
   2. Header
   =========================== */
   

header {
    position: fixed;

    background-color: var(--porcelean-color);
    color: var(--midnight-color);

    width: 100%;
    background-size: 100%;

    top: 0;
    right: 0;
    left: 0;

    height: 8%;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

}

.logo {
    display: flex;

    font-size: 0.90rem;
    font-weight: 700;

    color: var(--midnight-color);

    column-gap: 0.3rem;

}

header nav {
    display: flex;
    align-items: center;


}

header nav ul {
    display: flex;
    align-items: center;
    gap: 1px; /* Space between navigation items */
}

header nav li {
    display: inline-block;
    margin: 10px;
}

header nav a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--royal-color);
    text-decoration: none;
}
header nav a:hover{
    background-color: var(--dawn-color);
    border-radius: 1rem;
    color: var(--midnight-color);
    transition: background 0.5s;
}
header nav a.active {
   /* Change background color for active link */
    border-bottom: 2px solid var(--royal-color); /* Add underline effect */
    color: var(--midnight-color); /* Optional: Change text color for better contrast */
}

/* ===========================
   2. Main
   =========================== */

section {
    background-color: var(--moon-color);
    background-size: 100%;

  
    display: flex; /* Enables Flexbox layout */
    flex-direction: row; /* Stacks children vertically */
    height: 100vh; /* Set height to 100% of the viewport height (adjust as needed) */
    justify-content: space-between; /* Adds space between the two divs */
    
}

.container {
    position: relative;
    width: 100%;
    min-height: 640px;
    display: flex;
    align-items: center;
}

.home-text {
    padding-top: 100px;
    padding-left: 50px;
}

.home-text h1 {
    padding-bottom: 50px;
    font-weight: 700;
}


.home-text h2 {
    padding-bottom: 20px;
}

section a.btn {
    background-color: #dce8eb;
    border-radius: 1rem;
    color: midnightblue;
    padding: 10px;
} 

section button {
    background-color: #dce8eb;
    border-radius: 1rem;
    color: midnightblue;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(2, 48, 97, 0.5); /* Adds a custom focus outline */
    
}

section button:hover {
    background-color: #b5bec0 ;
    color: rgb(8, 8, 81);
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.btn:focus {
    outline: none;             /* Removes default focus outline */
    
}


section a:hover {
    background-color: #b5bec0 ;
    color: rgb(8, 8, 81);
    transition: background 0.5s;
}

section div {
    width: 50%; /* Each div takes up half the section */
    padding: 20px; /* Optional: Adds internal padding for spacing */
    box-sizing: border-box; /* Ensures padding is included in the width calculation */
}
section h1 {
    color: var(--midnight-color);
    font-size: 50px;
}
section h2 {
    color: var(--royal-color);
    margin-top: 10px; /* Optional: adds space between h1 and h2 */
}

section div.swiper-button-next {
    color: var(--midnight-color);
}
section div.swiper-button-prev {
    color: var(--midnight-color);
}
section div img {
    background-size: 100%;
    height: 400px;
    width: 400px;
    align-items: center;
}



button {
    background: rgb(236, 240, 251);
    border: none;
    color: black;
    border-radius: 8px;
}



section.section1 div {
    background: rgb(193, 219, 228);
    width: auto;
    border-radius: 6px;
}


section.section1 div p {
    width: 500px;
}
section.section2 div {
    background: rgb(113, 173, 201);
    width: auto;
    margin: auto;
    border-radius: 2px;
}

section.student div {
    background: rgb(113, 173, 201);
    width: auto;
    margin: auto;
    border-radius: 2px;
}


/* ===========================
   3. Footer
   =========================== */

footer {
    background: black;
    color: white;
    padding: 20px;
}

footer h5 {
    font-size: large;
    font-weight: 600;
    margin-bottom: 10px;
}