/* General Page Reset & Layout Centering */
* {
    box-sizing: border-box;
}

body {
    background-image: url('images/background-website.jpg');
    max-width: 1000px;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    color: #333333;
    background-color: #f4f4f4;
}



/* Structural Header */
header {
    background-color: #003366;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
}

/* Navigation Structure */
nav {
    background-color: #e0e0e0;
    text-align: center;
    padding: 10px 0;
    border-bottom: 2px solid #003366;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin: 0 5px;
}

/* Navigation Links (Normal / Unselected) */
nav a {
    color: #003366;
    background-color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #003366;
    border-radius: 4px;
    display: inline-block;
    font-weight: bold;
}

/* Navigation Links (Selected Page State) */
nav .selected,
nav a.selected {
    color: #ffffff;
    background-color: #666666;
    border-color: #666666;
}

/* Navigation Links (Hover State - applies to all tabs including selected) */
nav a:hover,
nav a.selected:hover {
    color: #ffffff;
    background-color: #003366;
    border-color: #003366;
}

/* Main Content Area & Two-Column Layout */
main {
    padding: 20px;
    overflow: hidden;
    max-width: 960px;
}

aside {
    width: 30%;
    float: left;
    padding: 15px;
    background-color: #f9f9f9;
    border-right: 1px solid #dddddd;
}

section {
    width: 70%;
    float: left;
    padding: 15px;
}

/* Section Headings */
h2 {
    color: #003366;
    border-bottom: 2px solid #003366;
    padding-bottom: 5px;
    margin-top: 0;
}

h3 {
    color: #222222;
    margin-bottom: 5px;
}

/* Address & Micro-formatting */
address {
    font-style: normal;
    line-height: 1.5;
    margin-bottom: 15px;
}

abbr {
    border-bottom: 1px dotted #003366;
    cursor: help;
}

/* Responsive Image Rule */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
blockquote {
  text-align: justify;
  margin: 20px 40px;
  font-style: italic;
}

blockquote:first-letter {
  font-size: 1.8em;
  font-weight: bold;
  color: #003366;
}
table {
    width: 504px;
    border: 4px solid #003399;
    border-collapse: collapse;
    margin: 20px auto;
}

th {
    background-color: #003399;
    color: #ffffff;
    text-align: center;
    padding: 10px;
    font-size: 1.1em;
    border: 1px solid #003399;
}

td {
    padding: 8px;
    border: 1px solid #003399;
}
/* Footer Styling */
footer {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 15px;
    font-size: 0.85em;
    clear: both;
}
/* Page Layout Wrapper */
#wrapper {
    background-color: #ffffff;
    border: 2px solid #003366;
    padding: 0;
}
/* Top Button Styling */
.top-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: #003366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin: 15px 0;
    transition: background-color 0.3s ease;
}

/* Top Button Hover Effect */
.top-btn:hover {
    background-color: #0055a5;
    color: #ffffff;
}
/* Custom sizing for the back-to-top image button */
.top-icon {
    width: 150px; 
    height: auto;
    display: block;
    margin: 15px auto;
    transition: transform 0.2s ease;
}

.top-icon:hover {
    transform: scale(1.08); /* Keeps hover effect subtle */
}
/* Header Logo Sizing */
.site-logo {
    width: 100px;
    max-width: 100%; 
    height: auto;
    display: block;
    margin: 0 auto 10px auto;
    border-radius: 6px;
}
/* Custom Bullet List for Professors */
ul.custom-bullet {
  list-style: none; /* Removes default/large bullets */
  padding-left: 0;
}

ul.custom-bullet li {
  background-image: url('images/bullet-arrow.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 16px 16px; /* Scales the arrow size */
  padding-left: 25px; /* Spacing between arrow and text */
  margin-bottom: 8px;
}

/* Special Character Styling */
.special-char {
  color: purple;
  font-weight: bold;
  font-size: 1.3em;
}

/* Portfolio Responsive Grid Layout */
.portfolio-container {
  text-align: center;
  margin: 20px auto;
}

.portfolio-container figure {
  display: inline-block;
  width: 100%; /* Default for mobile (1 column) */
  max-width: 480px;
  vertical-align: top;
  margin: 15px auto;
  padding: 10px;
  background-color: #f9f9f9;
  border: 2px solid #003366;
  border-radius: 6px;
  box-sizing: border-box;
  text-align: center;
}

.portfolio-container img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 0 auto 10px auto;
}

.portfolio-container figcaption {
  font-weight: bold;
  color: #003366;
  margin-top: 8px;
}

/* Media Query for Desktop / Wider Screens (720px and wider) */
@media only screen and (min-width: 720px) {
  .portfolio-container figure {
    width: 45%; /* Switches to 2 columns side-by-side */
    max-width: 480px;
  }
}
/* Footer alignment */
footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 30px;
}
/* Newsletter Custom Styles */
.newsletter-hr {
  width: 80%;
  border: 4px solid #003366;
  border-radius: 6px;
}

.infobar {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  margin: 20px 0;
}



.justified-text {
  text-align: justify;
}


.box {
  border: 2px solid #003366;
  padding: 15px;
  margin: 20px 0;
  background-color: #f9f9f9;
}
.required {
    color: red;
    font-weight: bold; 
}