:root {
  color-scheme: light;
  --bg-page: #f3f7ff;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --surface-strong: #d9e5ff;
  --text-primary: #1d2b4d;
  --text-secondary: #5f718f;
  --accent: #2f4463;
  --accent-soft: #aac6ff;
  --border: none;
  --nav-bg: rgba(14, 40, 94, 0.95);
  --sidebar-bg: #abcae8;
  --shadow: none;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100vh;
}

body {
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* footer.footer {
  margin-top: auto;
} */
 /* Header banner */ 
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, #e5efff, #f9fbff);
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(31, 65, 121, 0.06);
  position: relative;
  z-index: 999;
}

.header-center {
  text-align: center;
}

.header-left img,
.header-right img {
  width: 64px;
}

.site-header h1 {
  margin: 0;
  font-size: clamp(1.9rem, 2.7vw, 3rem);
  font-weight: 800;
  color: var(--accent);
}

.site-header p {
  margin: 8px 0 0;
  font-size: 0.98rem;
  color: var(--text-secondary);
}
 /* Nav bar css */ 
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  width: 100%;
  background: #e58fe8
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-list li a {
  color: #eae758;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-list li a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.rightnav {
  display: flex;
  align-items: center;
  gap: 10px;
}

#search {
  width: 150px;
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 799px;
  padding: 8px 12px;
  color: #ea7272;
}

#search::placeholder {
  color: rgba(236, 114, 114, 0.75);
}
html {
  scroll-behavior: smooth;
}

.logo{
   display: flex;
   justify-content: center;
   align-items: center;
   margin-right: auto;
}
.logo img{
   border: 2px solid black;
   border-radius: 60px;
}
.background {
  background: linear-gradient(135deg, rgba(31, 65, 121, 0.92), rgba(60, 111, 209, 0.92)), url(../img/logo2.jpg);
  background-size: cover;
  background-position: center;
  background-blend-mode: overlay;
}
 /* Nav list for submenu */
.nav-list li {
  position: relative;
  width: auto;
  overflow: visible;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%; /* appears below Publications */
  left: 0;
  background: #c0dbe8;
  list-style: none;
  padding: 10px;
  border: none;
  border-radius: 5px;
  min-width: 180px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3 ease;
  overflow: visible;
  white-space: nowrap;
  box-sizing: border-box;
}

.submenu li a {
  color: rgb(21, 16, 16);
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  white-space: nowrap;
  text-align: left;
  border-bottom: none !important; 
  box-shadow: none !important;
  transition: all 0.3 ease;
}

.submenu li a:hover {
  background: #e6e1aa;
  color: rgb(205, 224, 177);
  box-shadow: 0 0 8px rgba(170, 240, 173, 0.7);
  transform: translateX(5px);
}

.nav-list li:hover .submenu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
/* ===== Sidebar ===== */
.page-layout {
  display: flex;
  align-items: flex-start;
}

.sidebar {
  width: 240px;
  position: sticky;
  top: 130px;
  flex-shrink: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 24px;
  padding: 24px 22px;
  margin-right: 20px;
}

/* Sidebar Heading */
.sidebar-title {
  text-align: center;
  margin-bottom: 25px;
  font-size: 28px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
/* This targets the "About Us" text specifically */
.sidebar h3, 
.sidebar-title,
#about-us-header { 
    font-size: 20px !important;
    font-weight: bold !important;
    color: #003366 !important; /* The same blue as your buttons */
    margin-top: 20px !important;
    margin-bottom: 10px !important;
    padding-left: 0 !important;
    background: none !important; /* Ensures it doesn't have a background box */
    border: none !important;
}
/* Sidebar Links */
.sidebar a {
    display: block;
    color: #333 !important; /* Dark text for readability */
    text-decoration: none;
    padding: 12px 18px;
    font-size: 16px;
    margin: 8px 0;
    transition: all 0.3s ease;

    /* REMOVE the pink/pill look */
    background-color: #d5edf0 !important; 
    border-radius: 6px !important; /* Squarer corners to match the content box */
    border: 1px solid #d1d9e6 !important;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.05) !important;
    border-radius: 4px !important; /* This makes them rectangular/sharp */
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important; /* Ensures they align perfectly on the left */
}
.sidebar-title {
    font-size: 20px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 15px;
    padding-left: 5px;
    border-left: 4px solid #f9bc35; /* Optional: matches your yellow navbar text */
}
/* Hover effect to match your navbar blue */
.sidebar a:hover {
    background-color: #f0f4f8 !important;
    color: #003366 !important;
    border-left: 5px solid #f9bc35 !important; /* Adds the yellow accent from your navbar */
    transform: translateX(5px);
}
/* This highlights the link that was clicked */
.sidebar a.active-nav {
    background-color: #003366 !important; /* Your current Dark Blue */
    color: #ffffff !important;
    border-color: #003366 !important;
    font-weight: bold;
}
/* Sidebar Container */

/* Ensure the group has no gap at the bottom */
.sb-trigger-text {
    display: block;
    width: 100%;
    padding: 12px 18px;
    margin: 8px 0;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    background-color: #d5edf0;
    border: 1px solid #d1d9e6;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.sb-trigger-text:hover {
    background-color: #f0f4f8;
    border-left: 5px solid #f9bc35;
}
#unique-sidebar .sb-group {
    position: relative;
}
/* 1. Hide by default */
/* FORCE HIDE the submenu by default */
#unique-sidebar .sb-submenu {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none; /* Prevents clicking while hidden */
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 2. Show ONLY when hovered */
#unique-sidebar .sb-group:hover .sb-submenu {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
#unique-sidebar .sb-trigger {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font-size: 18px;
    cursor: pointer;
    text-align: left;
    width: 100%;
    display: block;
    font-family: inherit;
    color: #333;
}
/* 3. Style the regular sidebar links */
#unique-sidebar .sb-link {
    display: block;
    width: 100%;
    color: #333 !important;
    text-decoration: none;
    padding: 12px 18px;
    margin: 8px 0;
    background-color: #d5edf0 !important;
    border: 1px solid #d1d9e6 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease;
    text-align: left;
}
/* 4. Style the About Us submenu links with a distinct look */
#unique-sidebar .sb-submenu li a {
    display: block;
    width: calc(100% - 16px);
    color: #1f3348 !important;
    text-decoration: none;
    padding: 12px 18px;
    margin: 8px 0 8px 16px;
    background-color: #b9e2f4 !important;
    border: 1px solid #c7e3ee !important;
    border-radius: 4px !important;
    transition: all 0.3s ease;
    text-align: left;
}
/* Hover effect for the submenu links and regular links */
#unique-sidebar .sb-submenu li a:hover,
#unique-sidebar .sb-link:hover {
    background-color: #f0f4f8 !important;
    color: #003366 !important;
    border-left: 5px solid #f9bc35 !important;
}
/* ===== Main Content Shift ===== */

.main-content {
  flex: 1;
  padding: 20px;
  background: var(--surface);
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-left: 0;

}
/* 1. Hide every section by default */
.content-page {
    display: none !important;
}
/* 2. ONLY show the one that the JavaScript marks as 'active' */
.content-page.active {
    display: block !important;
}
.content, .main-content section {
  color: black;
  background: rgb(224, 241, 241);
}
/*.main-content .content-page {
    display: block !important; 
    margin-bottom: 40px; 
*/
/* 1. HIDE all sections by default */
.about-section {
    display: none; 
    animation: fadeIn 0.5s; /* Optional: adds a smooth fade-in effect */
}

/* 2. ONLY show the section that has the 'active' class */
.about-section.active {
    display: block !important;
    visibility: visible !important;
}
/* 1. HIDE RULE: Very specific to ensure other parts of the site don't interfere */
#unique-sidebar ~ .main-content .about-section,
.about-section {
    display: none !important;
    visibility: hidden;
}

/* 2. SHOW RULE: Must be just as specific to "break through" the hide rule */
#unique-sidebar ~ .main-content .about-section.active,
.about-section.active {
    display: block !important;
    visibility: visible !important;
}
/* Optional: Smooth transition animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.text-big {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  max-width: 860px;
}

.text-small {
  font-size: 1.12rem;
  line-height: 1.9;
  margin-bottom: 32px;
  color: var(--text-secondary);
  max-width: 820px;
}
.btn {
  padding: 12px 22px;
  margin: 7px 3px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  font-size: 10px;
  cursor: pointer;
  background: var(--accent);
  color: #ffffff;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  background: #183f82;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 10px 18px;
  vertical-align: middle;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  font-size: 20px;
  background: rgb(234, 234, 176);
  color: rgb(231, 115, 115);
  cursor: pointer;
}

/* code for self-confidence */

.self-confidence {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.self-confidence h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
  text-transform: uppercase;
}

.self-confidence p {
  font-size: 16px;
  color: #555;
}

.self-confidence .read-more {
  display: inline-block;
  margin-top: 10px;
  color: #0066cc;
  text-decoration: none;
  font-weight: bold;
}

.self-confidence .read-more:hover {
  text-decoration: underline;
}

.self-confidence-cards {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* allows stacking on smaller screens */
}

.card {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-direction: column; /* ensures side-by-side layout */
}
.card img {
  max-width: 600px; 
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  
}

.card h3 {
  font-size: 18px;
  margin: 0;
  color: #333;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

