/* GENERAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(160deg, #ffffff, #298dff);
    color: #1b1b1b;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
}

/* HEADER */
header {
    text-align: center;
    padding: 40px 20px 20px 20px;
    background-color: #ffffff;
    box-shadow: inset 0 -12px 5px -5px rgba(0, 0, 0, 0.5);
}

.logo-banner {
    width: 100%;
    max-height: 180px;
    object-fit:contain;
    margin-bottom: 0px;
}

header h1 {
    font-size: 2rem;
    color: #004aad;
    margin-bottom: 5px;
}

header h2 {
    font-size: 1.5rem;
    color: #004aad;
    font-weight: 400;
}

/* Hide the default checkbox */
#toggleSwitch {
  display: none;
}

/* Create a custom toggle switch */
#toggleSwitch + label {
  display: flex;
  width: 40px;
  height: 30px;
  border-radius: 4px;
  position: absolute;
  cursor: pointer;
  margin: 20px;
  justify-content: center;
  align-items: center;
  box-shadow: 4px 3px 8px rgba(0,0,0,0.8);
}

label::after {
  content: "☰";
}

/* Change background color when checked */
#toggleSwitch:checked + label {
    border-radius: 4px;
    box-shadow: 8px 6px 6px rgba(0,0,0,0.8);
}
leftSideBar {
    width: 16vw;
    float: left;
    margin: 40px 1%;
    top: 30px;
    position: sticky;
}
/* Sidebar styling */
#leftSideBar {
  padding: 10px 8px;
  container-type: inline-size;
}

@container (max-width: 160px) {
  .toggleOff {
    display: none;
  }
}
@container (max-width: 220px) {
  .sidebar-header h2 {
    visibility: hidden;
  }
}

/* 🔥 When checkbox is checked, change sidebar width */
#toggleSwitch:checked ~ #leftSideBar {
  width: 80px;
}
rightSideBar {
    width: 16vw;
    float: right;
    margin: 40px 1%;
    top: 30px;
    position: sticky;
}
#rightSideBar {
    padding: 10px 8px;
}
.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: right;
  padding: 10px 40px;
}
.rightSidebar-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;
}

.sidebar-header h2, .rightSidebar-header h2{
  font-size: 1.2rem;
  margin: 0;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.sidebar-nav li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav a {
  color: #1b1b1b;
  text-decoration: none;
  display: block;
  padding: 15px 20px;
  transition: background 0.2s;
}

.sidebar-nav a:hover {
  background: linear-gradient(20deg, #ffffff, #70b3ff);
}

#toggle-btn {
  background: none;
  border: none;
  color: #1b1b1b;
  font-size: 1.5rem;
  padding: 8px 20px;
  margin: 10px;
}

/* MAIN SECTIONS */
main {
    flex: 1;
    width: 60vw;
    max-width: 1000px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

section {
    background: #ffffffdd;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.2s ease;
    box-shadow: 8px 6px 8px rgba(0,0,0,0.8);
}

section:hover {
    box-shadow: 12px 9px 10px rgba(0,0,0,0.8);
}

h2 {
    color: #004aad;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
}

h3 {
    color: #004aad;
    margin-bottom: 10px;
}

p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

/* INDUSTRY CARDS */
.industry-card {
    background: linear-gradient(120deg, #ffffff, #5ea2fa);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 6px 4px 8px rgba(0,0,0,0.8);
}

.industry-card:hover {
    transition: all 0.2s ease;
    box-shadow: 8px 6px 10px rgba(0,0,0,0.8);
}

/* BUTTONS */
button {
    background-color: #004aad;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    margin: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 4px 3px 2px rgba(0,0,0,0.8);
}

button:hover {
    background-color: #0039aa;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* BUTTON GROUP CENTERED */
.button-group, .footer-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/* FOOTER */
footer {
    background: #f1f8ff;
    padding: 30px 20px;
    text-align: center;
    box-shadow: inset 0 12px 5px -5px rgba(0, 0, 0, 0.5);
}

footer h2 {
    color: #004aad;
    margin-bottom: 10px;
}

footer p {
    margin-top: 15px;
    color: #004aad;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media(max-width:768px){
    main {
        margin: 40px auto;
        padding: 0 10px;
        width: 75vw;
    }

    rightSideBar {
        display: none;
    }

    header h1 {
        font-size: 1.5rem;
    }

    header h2 {
        font-size: 1rem;
    }
}
