

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lexend', sans-serif;
    font-size: 15px;
    color: #3a3a3a;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px; /* Offset for sticky menu */
}

#header {
    top: 0;
    position: sticky;
}

header {
    height: 90px;
    font-weight: 400;
    background-color:#fcfcfc;;
    /* background-color: rgba(250, 250, 250, 0.85); */
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-width: 80%;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

nav ul li {
    position: relative; /* Required for dropdown positioning */
    margin: 0 10px;
}

nav ul li a {
    display: flex;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #0092f6;
}

.link-btn {
    background-color: #0a4fa3;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 15px;
    text-decoration: none;
}

.link-btn:hover {
    background-color: #0a4fa3;
}

/* Dropdown Menu */
nav ul li ul.dropdown {
    display: none; /* Hide dropdown initially */
    position: absolute;
    top: 100%; /* Position below parent <li> */
    left: 0;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    z-index: 1000;
}

nav ul li ul.dropdown li {
    width: 150px; /* Set a fixed width for dropdown items */
}

nav ul li ul.dropdown li a {
    padding: 10px 15px;
    display: block;
    text-align: left;
}

nav ul li ul.dropdown li a:hover {
    background-color: #f2f2f2;
}

/* Show Dropdown on Hover */
nav ul li:hover>ul.dropdown {
    display: block; /* Show dropdown when hovering over parent <li> */
}

footer {
    height: 40px;
    background: #3a3a3a;
    font-weight: 400;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

footer a, footer p  {
    color: #eee;
    font-size: 12px;
    text-align: center;
}

.news {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    line-height: 25px;

    /* Scroll */
    flex: 1;
    overflow-y: auto;
}

.news li {
    margin: 10px 0px;
    text-decoration: none;
}

.news a,
.text-page a {
    color: #f97c00;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: calc(100vh - 90px - 40px); /* Subtracts header and footer heights */
}

.cover { 
    
     display: flex; 
     height: calc(100vh - 90px); /* subtract menu height */ 
     align-items: center; 
     justify-content: right; 
     padding-left: 25px; 
     background-image: url("images/Canada_2.jpg"); 
     background-position: center; 
     background-size: center; 
     width: 100%;
     }

.cover-content {
    max-width: 50%;
    padding: 22px 22px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 5px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.content-text p {
    
}

.sponsors {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: auto;
    padding: 45px 0px;
}

.sponsors div {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 60%;
}

.sponsors h3 {
    font-size: 35px;
    padding: 20px 0px;
}

.sponsors img {
    width: 70%;
    max-height: 100px;
    max-width: 200px;
    margin: 25px 20px;
}

main h1 {
    font-size: 48px;
    color: #f97c00;
}

main h2 {
    font-size: 26px;
    color: #142a3a;
    font-weight: 800;
    margin: 8px 0px;
}

main h3 {
    font-size: 20px;
    color: #1d3d55;
    font-weight: 600;
    margin: 8px 0px;
}

main h4 {
    font-size: 18px;
    font-weight: 500;
    margin: 3px 0;
}

main p {
    line-height: 25px;
    margin: 8px 0;
}

p {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
    margin-bottom: 15px;
}

.action-btn a {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

.action-btn:hover {
    background-color: #0073c0;

}

.action-btn {
    padding: 10px 15px;
    margin-top: 20px;
    margin-bottom: 8px;
    background: #0092f6;
    color: #fff;
    outline: none;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
} */

.text-page {
    width: 80%;
    margin: 40px 0px;
}

.text-page ul {
    margin-left: 30px;
}

.text-page li {
    padding: 5px 0px;
}

.text-page p {
    font-weight: 400;
    line-height: 25px;
    margin: 15px 0;
}

.text-page h1 {
    margin: 25px 0px;
    font-size: 32px;
}

.text-page h2 {
    font-size: 26px;
    margin: 25px 0px;
}

.text-page h3 {
    margin: 25px 0px;
}

.content-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0px 20px 20px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin: 15px 0px;
}

.table th {
    display: flex;
    justify-content: left;
}
.table tr{
    line-height: 30px;
}

.content-group {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.content-box-small {
    display: flex;
    width:40%;
    flex-direction: column;
    padding: 0px 20px 20px 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    margin: 15px 0px;
}

.content-group img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 10px;
    height: 46vh;
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}

.bx-menu {
    font-size: 30px;
}

.box-icon {
    display: none;
}

/* ==============================
   GLOBAL
   ============================== */
body {
  margin: 0;
  background-color: #fcfcfc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
/* ==============================
   HERO SECTION
   ============================== */
.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0 15px;
}

.hero-logo-svg {
  height: 90px;
  width: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 91, 187, 0.25));
}

/* ==============================
   OUTER RING ANIMATION
   ============================== */
.hero-logo-svg .outer-ring {
  transform-origin: center;
  animation: ringPulse 5s ease-in-out infinite;
}

@keyframes ringPulse {
  0% {
    stroke-width: 6;
  }
  50% {
    stroke-width: 9;
  }
  100% {
    stroke-width: 6;
  }
}

/* ==============================
   TEXT ROTATION (SUBTLE)
   ============================== */
.hero-logo-svg .ring-text {
  transform-origin: center;
  animation: textRotate 28s linear infinite;
}

@keyframes textRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==============================
   IDEA-ARCH 2026 YEAR ANIMATION
   ============================== */
.hero-logo-svg .year-2026 {
  animation: yearGlow 3.5s ease-in-out infinite;
}

@keyframes yearGlow {
  0% {
    fill: #0b4f6c;
    opacity: 0.7;
  }
  50% {
    fill: #007bff;
    opacity: 1;
  }
  100% {
    fill: #0b4f6c;
    opacity: 0.7;
  }
}

/* ==============================
   HOVER (HERO ONLY)
   ============================== */
.hero-logo-svg:hover {
  transform: scale(1.06);
  transition: transform 0.4s ease;
}

@media only screen and (max-width: 1024px) {

    header {
        position: fixed;
    }

    nav {
        width: 100%;
    }

    .box-icon {
        display: flex;
        position: fixed;
        top: 22px;
        right: 20px;
        z-index: 11000;
        cursor: pointer;
    }

    nav ul {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: #ffffff;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 10px 0;
        overflow-y: auto;

        box-shadow: 0 10px 25px rgba(0,0,0,.2);
        z-index: 10000;
    }

    nav ul.showmenu {
        display: flex;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        padding: 14px 22px;
        font-size: 16px;
        width: 100%;
    }

    nav ul li a.link-btn {
        margin: 12px 20px;
        text-align: center;
    }

    /* MOBILE DROPDOWN */
    nav ul li ul.dropdown {
        position: static;
        display: none;
        width: 100%;
        background: #f6f7fb;
        box-shadow: none;
    }

    nav ul li.open ul.dropdown {
        display: block;
    }
}


