@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #000957;
  --secondary-color: #344CB7;
  --accent-color: #FFEB00;
  --light-color: #577BC1;
  --dark-color: #00063d;
  --gradient-primary: linear-gradient(135deg, #344CB7 0%, #000957 100%);
  --hover-color: #1a2a85;
  --background-color: #F8FAFC;
  --text-color: #334155;
  --border-color: rgba(52, 76, 183, 0.2);
  --divider-color: rgba(0, 9, 87, 0.1);
  --shadow-color: rgba(0, 9, 87, 0.15);
  --highlight-color: #FFC145;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}

.nav-link {
    position: relative;
    text-decoration: none;
    padding-bottom: 5px;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu logic (Pure CSS) */
#mobile-menu-toggle:checked ~ nav {
    display: flex !important;
}

/* Details/Summary animation */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}
details[open] summary ~ * {
    animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
    0%    {opacity: 0;}
    100%  {opacity: 1;}
}