/* SOICT-inspired styles for CITA 2026 */

/* Import Lato font from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
@import url(font-awesome.min.css);

*,
*:before,
*:after {
  box-sizing: border-box;
}
/* ===========================================
   CSS Reset & Base Styles
   =========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: Lato, sans-serif;
  line-height: 1.6;
  color: #333;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

label,
.main-content p {
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  box-sizing: border-box;
}

#banner img {
  width: 100%;
  height: auto;
}

/* ===========================================
   Two Column Layout
   =========================================== */
.two-column-layout {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 40px;
  margin-top: 0;
  padding: 0 20px;
}

.two-column-layout .section-title {
  text-transform: uppercase;
  text-align: left;
  margin-bottom: 30px;
  padding-bottom: 15px;
  background: none;
}

.two-column-layout .section-content {
  max-width: 100%;
  margin: 0;
}

.two-column-layout .section-text {
  text-align: justify;
}

.main-content-column {
}

.sidebar-column {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-box {
  background: #fff;
  border-top: 3px solid #3051a2;
  border-radius: 0px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.sidebar-title {
  padding: 15px 20px;
  font-size: 26px;
  font-weight: 900;
  margin: 0;
}

.sidebar-content {
  padding: 0px 20px 20px;
}

.date-item-sidebar {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.date-item-sidebar:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.date-icon {
  background: #c42a2a;
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  margin-right: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.social-button,
.social-icons .button.fa:hover,
.social-icons .button.fa:not(.is-outline) {
  background-color: currentColor !important;
  border-color: currentColor !important;
}

.social-button,
.social-icons .button.fa:hover,
.social-icons .button.fa:not(.is-outline) .fa {
  color: #fff !important;
}

.social-icons.follow-icons a {
  margin: 5px 10px;
  border-radius: 50%;
}

.social-icons.follow-icons a.facebook {
  background-color: #3a589d !important;
  border-color: #3a589d !important;
  width: 43px;
  height: 43px;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons.follow-icons a.twitter {
  background-color: rgb(36, 120, 186) !important;
  border-color: rgb(36, 120, 186) !important;
  width: 43px;
  height: 43px;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icons.follow-icons a.email {
  background-color: rgb(17, 17, 17) !important;
  border-color: rgb(17, 17, 17) !important;
  width: 43px;
  height: 43px;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.circle,
.circle img {
  border-radius: 999px !important;
  -o-object-fit: cover;
  object-fit: cover;
}
.button.twitter:hover,
.button.twitter:not(.is-outline) {
  color: #2478ba !important;
}
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0;
  box-sizing: border-box;
  color: currentColor;
  cursor: pointer;
  display: inline-block;
  font-size: 0.97em;
  font-weight: bolder;
  letter-spacing: 0.03em;
  line-height: 2.4em;
  margin-right: 1em;
  margin-top: 0;
  max-width: 100%;
  min-height: 2.5em;
  padding: 0 1.2em;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-rendering: optimizeLegibility;
  text-shadow: none;
  text-transform: uppercase;
  transition: transform 0.3s, border 0.3s, background 0.3s, box-shadow 0.3s,
    opacity 0.3s, color 0.3s;
  vertical-align: middle;
}
.button.fa {
  min-width: 2.5em;
}

.button.facebook:hover,
.button.facebook:not(.is-outline) {
  color: #3a589d !important;
}

.date-content {
  flex: 1;
}

.date-label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  margin-bottom: 3px;
}

.date-value {
  color: #666;
  font-size: 16px;
  font-weight: 500;
}

.social-links-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0px 20px 20px 10px;
}

.row2col {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  padding: 10px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  text-decoration: none;
  color: #495057;
  font-size: 14px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #e9ecef;
  border-color: #1d4a93;
  color: #1d4a93;
}

.subsection-title {
  color: #1d4a93;
  font-size: 20px;
  font-weight: 600;
  margin: 30px 0 15px 0;
  border-bottom: 2px solid #efb419;
  padding-bottom: 5px;
}

/* Mobile responsive for two column layout */
@media (max-width: 768px) {
  .two-column-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  ul#navMenu {
    padding-left: 0px;
  }

  .main-content-column {
    padding-right: 0;
  }

  .sidebar-column {
    position: static;
    order: 2;
  }

  .sidebar-box {
    margin-bottom: 15px;
    box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.16),
      0 3px 6px rgba(0, 0, 0, 0.23);
  }
}

/* ===========================================
   Header Styles
   =========================================== */
.header {
  background-color: #1d4a93;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 6px 0;
  transition: all 0.3s ease;
  border-top: 5px solid #efb419;
}

.header.stuck {
  animation: stuckMoveDown 0.6s;
  position: fixed;
}

h2 {
  font-family: "Lato", sans-serif;
  font-size: 26px;
}

@keyframes stuckMoveDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.louis-container {
  max-width: 1410px;
  margin: auto;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #2c5aa0;
  text-decoration: none;
}

.nav-menu {
  width: 100%;
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
  position: relative;
  margin-bottom: 0px;
}

.nav-menu li.has-dropdown > a:focus {
  color: #fff;
}

.nav-menu a {
  text-decoration: none;
  color: hsla(0, 0%, 100%, 0.8);
  font-weight: bold;
  font-size: 16px;
  transition: color 0.3s ease;
  padding: 10px 0;
  display: block;
}

.nav-menu a:hover {
  color: hsla(100, 100%, 100%, 1);
}

/* Dropdown Styles */
.nav-menu .has-dropdown {
  position: relative;
}

.nav-menu .has-dropdown > a {
  white-space: nowrap;
}

/* Icon for dropdown using FontAwesome standard classes */
.nav-menu .has-dropdown > a .fa-angle-down {
  font-size: 16px;
  margin-left: 5px;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.nav-menu .has-dropdown:hover > a .fa-angle-down {
  transform: rotate(180deg);
}

/* Fallback for custom icon-angle-down class */
.nav-menu .has-dropdown > a .icon-angle-down {
  font-family: "FontAwesome", sans-serif;
  font-size: 16px;
  margin-left: 5px;
  font-weight: normal;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.nav-menu .has-dropdown > a .icon-angle-down::before {
  content: "\f107"; /* fa-angle-down */
}

.nav-menu .has-dropdown:hover > a .icon-angle-down {
  transform: rotate(180deg);
}

body .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: max-content;
  width: auto;
  list-style: none;
  padding: 0;
  margin: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  white-space: nowrap;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  display: block;
}

.dropdown li {
  border-bottom: 1px solid #eee;
}

.dropdown li:last-child {
  border-bottom: none;
}

.dropdown a {
  padding: 12px 20px;
  color: #666;
  display: block;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 150px;
}

.dropdown a:hover {
  background: #f8f9fa;
  color: #2c5aa0;
  padding-left: 25px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

/* Active dropdown item styles */
.dropdown li.active a {
  background: #2c5aa0;
  color: white;
}

.dropdown li.active a:hover {
  background: #1e3f70;
  color: white;
}
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ===========================================
   Main Content Area
   =========================================== */
.main-content {
  min-height: calc(100vh - 80px);
}

/* ===========================================
   Hero Section
   =========================================== */
.hero-section {
  background: linear-gradient(135deg, #2c5aa0 0%, #1e3a8a 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #2c5aa0;
  color: #fff;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #2c5aa0;
}

/* ===========================================
   Important Dates Section
   =========================================== */
.dates-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.section-title {
  font-size: 26px;
  text-align: center;
  margin-bottom: 50px;
  color: #000;
  font-weight: 700;
}

.section-center .section-title.fade-in:after {
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  top: 40px;
}

.section-title:after {
  content: "";
  width: 60px;
  height: 6px;
  display: inline-block;
  background-color: #bf1e2e;
  clear: both;
  position: absolute;
  left: 0px;
  bottom: 0px;
  transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -webkit-transition: all 0.3s linear;
}

.section-title:hover:after {
  width: 150px;
  height: 6px;
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.date-item {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.date-item:hover {
  transform: translateY(-5px);
}

.date-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c5aa0;
  margin-bottom: 10px;
}

.date-value {
  font-size: 16px;
  font-weight: 700;
  color: #333;
}

/* ===========================================
   Content Sections
   =========================================== */
.content-section {
  padding: 50px 0;
}

.content-section:nth-child(even) {
  background: #f8f9fa;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* ===========================================
   Footer
   =========================================== */
.footer {
  background: #3057ba;
  color: #fff;
  padding: 15px 10px 5px 10px;
  text-align: center;
}

.footer p {
  margin-bottom: 10px;
  color: #fff;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #2c5aa0;
}

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

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

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

.footer-section ul li a:hover {
  color: #2c5aa0;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #2c5aa0;
  color: white;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: #1e3a8a;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 20px;
  text-align: center;
  color: #999;
}

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .two-column-layout {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  #banner img {
    width: 100%;
    height: auto;
  }

  .container {
    padding: 0 15px;
    max-width: 100%;
  }

  .louis-container {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .mobile-menu-toggle {
    display: block;
    color: white;
    padding: 0px;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* padding: 20px 15px; */
    z-index: 999;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-menu li.has-dropdown a:focus {
    color: #000;
  }
  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid #eee;
    width: 100%;
    padding: 6px 12px;
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    padding: 15px 0;
    width: 100%;
    font-size: 16px;
    color: #000;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .nav-menu a:hover {
    color: #2c5aa0;
  }

  /* Mobile dropdown */
  .nav-menu .dropdown {
    position: static;
    box-shadow: none;
    background: #f8f9fa;
    margin-left: 15px;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    width: calc(100% - 15px);
    box-sizing: border-box;
  }

  .nav-menu .has-dropdown .dropdown {
    display: none;
  }

  .nav-menu .has-dropdown.active {
    background-color: #eee;
  }

  .nav-menu .has-dropdown.active li {
    background-color: #eee;
  }

  .nav-menu .has-dropdown.active .dropdown {
    display: block;
  }

  .nav-menu .has-dropdown.active > a {
    color: #000;
  }

  .nav-menu .has-dropdown > a .fa-angle-down,
  .nav-menu .has-dropdown > a .icon-angle-down {
    font-size: 16px;
    float: right;
    transition: transform 0.3s ease;
  }

  /* Icon states for mobile dropdown */
  .nav-menu .has-dropdown > a .fa-angle-down,
  .nav-menu .has-dropdown > a .icon-angle-down {
    transform: rotate(0deg) !important;
    transition: transform 0.3s ease;
  }

  /* Rotate icon when dropdown is active on mobile */
  .nav-menu .has-dropdown.active > a .fa-angle-down,
  .nav-menu .has-dropdown.active > a .icon-angle-down {
    transform: rotate(180deg) !important;
  }

  .dropdown a {
    padding: 10px 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 10px;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 10px;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    padding: 0 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Content Sections Mobile */
  .content-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 30px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 15px;
  }

  .section-text {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Dates Grid Mobile */
  .dates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .date-item {
    padding: 20px 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Footer Mobile */
  .footer {
    padding: 50px 0 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .footer-section {
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 15px;
  }

  /* Main Content Mobile */
  .main-content {
    margin-top: 0px;
    width: 100%;
    overflow-x: hidden;
  }
}
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .hero-section {
    padding: 50px 0;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
    padding: 0 5px;
  }

  .hero-subtitle {
    font-size: 1rem;
    padding: 0 5px;
  }

  .hero-description {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .content-section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 1.6rem;
    padding: 0 10px;
  }

  .section-text {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .dates-grid {
    padding: 0 10px;
    gap: 15px;
  }

  .date-item {
    padding: 15px 10px;
  }

  .date-label {
    font-size: 1rem;
  }

  .date-value {
    font-size: 14px;
  }

  .btn {
    max-width: 260px;
    padding: 12px 20px;
  }

  .footer-section {
    padding: 0 10px;
  }
}

/* ===========================================
   Organizers Section
   =========================================== */
.organizers-section {
  padding: 60px 0;
}

.organizers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.organizer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  min-height: 140px;
}

.organizer:hover {
  transform: translateY(-5px);
}

.organizer-logo {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .organizers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .organizer {
    min-height: 120px;
    padding: 15px;
  }

  .organizer-logo {
    max-height: 80px;
  }
}

/* ===========================================
   Sponsors Section
   =========================================== */
.sponsors-section {
  padding: 60px 0;
}

.sponsors-section.white-bg {
  background-color: white;
}

.sponsors-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-items: center;
  max-width: fit-content;
  margin: 0 auto;
}

.sponsor {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  min-height: 140px;
  width: 100%;
  max-width: 300px;
}

.sponsor:hover {
  transform: translateY(-5px);
}

.sponsor-logo {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .sponsor {
    min-height: 120px;
    padding: 15px;
    max-width: none;
  }

  .sponsor-logo {
    max-height: 80px;
  }
}

/* ===========================================
   Utility Classes
   =========================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
