/* Style the entire page background and default text font */
body {
    background-color: #FAF0E6;
    font-family: Verdana, Geneva, sans-serif;
}

  /* 2. Global smooth scrolling behavior */
        html {
            scroll-behavior: smooth;
        }

/* Style the main title heading */
h1 {
    color: #0056b3;
    text-align: center;
}

h2 {
    color: #0056b3;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
}

h3 {
    color: #0056b3;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
}


/* Style the paragraph text */

p.bio {
    background-color: lightyellow;
    color: darkgreen;
}

.standText {
    margin: 10px;
    font-size: 18px;
    line-height: 1.6;
    background-color: lightyellow;
    color: darkgreen;
    font-family: Verdana, Geneva, Tahoma, sans-serif;

}

/* Target the list markers specifically */
.text-list li::marker {
  /* Combine your text string with the automatic list item counter */
  content: "Part " counter(list-item) ": ";
  /* You can also style the text and number together */
  color: #2b6cb0;
  font-weight: bold;
}

ul.content {
    font-size: 18px;
    line-height: 1.6;
    background-color: lightyellow;
    color: darkgreen;
    margin: 5px;
}

ul.cont1 {
    font-size: 18px;
    line-height: 1.6;
    margin: 5px;
}

ul.cont2 {
    font-size: 18px;
    line-height: 1.6;
    margin: 20px;
}

ol.cont3 {
    font-size: 18px;
    line-height: 1.6;
    margin: 40px;
}

ol {
    font-size: 18px;
    line-height: 1.6;
    margin: 5px;
}

/* Apply border to table, header cells, and data cells */
table, th, td {
  border: 1px solid blue; /* 1px width, solid style, black color */
}

.newspaper {
    /* Create 3 columns */
    column-count: 3;
    column-gap: 30px; /* Space between columns */
    column-rule: 3px solid #ccc; /* Vertical line between columns */
    
    /* Optional: make it responsive */
    @media (max-width: 900px) {
      column-count: 2;
    }
    @media (max-width: 600px) {
      column-count: 1;
    }
  }

/* Style the button */
button {
    background-color: #0056b3;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}

/* Change button appearance when hovering over it */
button:hover {
    background-color: #003d82;
}

.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* Optional: prevent the image from overflowing its container */
  max-width: 100%; 
  height: auto;
  border: none;
}

 .empList{
  font-weight: 900;
}

.gray-text-box {
      width: 99%;
      padding: 5px;
      border-radius: 8px;
      border: 3px solid black; /* Gray border */
      background-color: #CBCBCB; /* Light gray background */
      margin: 2px auto;
      font-family: Verdana, sans-serif, sans-serif;
      font-size: 16px;
      font-style:italic;
      line-height: 1.6;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

ol.verse {
  background-color: lightyellow;
  color: darkgreen;
  margin-left: 100px;
  margin-right: 100px;
}

/* Style the Horizontal Menu */

ul.menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #333333;
  display: flex;
}

ul.menu li a {
  display: block;
  color: white;
  padding: 14px 16px;
  text-decoration: none;
}

ul.menu li a:hover {
  background-color: #111111;
}

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: white;
  color: Red;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}

* {
   box-sizing: border-box;
}
row {
   display: grid;
   grid-template-columns: 33.33% 33.33% 33.33%;
   justify-content: center;
   text-align: center;
   font-size: 25px;
   height: 300px;
}

@media screen and (max-width: 600px) {
   .column {
       width: 100%;
   }
}

 /* 3 Column Layout */



/* 1. Global Resets */
* {
    box-sizing: border-box; /* Ensures padding doesn't break column widths */
    margin: 0;
    padding: 0;
}

/* 2. Header & Footer Layout */
.newsletter-header, .newsletter-footer {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto 30px auto;
    padding: 20px;
    background-color:antiquewhite;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.newsletter-footer {
    margin-top: 30px;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

.newsletter-footer a {
    color: #ff4757;
}

/* 3. The 3-Column Flexbox Container */
.newsletter-grid {
    display: flex;
    flex-direction: row;        /* Side-by-side alignment for desktop */
    gap: 5px;                  /* Generates modern, clean spacing between columns */
    max-width: 100%;          /* Centers layout on ultra-wide screens */
    margin: 0 auto;
}

/* 4. Column Sizing and Styling */
.newsletter-col {
    flex: 1;                    /* Forces all 3 columns to scale to equal widths */
    background-color: #FAF9F6;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes the "Read More" link to the bottom */
}

/* Highlight style for the center column to mimic real newsletters */
.feature-col {
    border-top: 4px solid #1e90ff;
}

.newsletter-col h2 {
    color: #111;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.newsletter-col p {
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 1.6;
    background-color: lightyellow;
    color: darkgreen;
}

.read-more {
    color: #1e90ff;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* 5. Responsive Media Query for Mobile and Tablets */
@media screen and (max-width: 768px) {
    .newsletter-grid {
        flex-direction: column; /* Stacks the columns vertically on small screens */
    }
    
    .newsletter-col {
        width: 100%;            /* Forces full width stretch on mobile viewports */
    }
}

/* .................................Navigation Styles..................... */
    /* Main Navigation Bar */
    .navbar {
      list-style: none;
      padding: 0;
      margin: 0;
      background-color: #333;
      display: flex;
    }

    /* All list items */
    .navbar li {
      position: relative; /* Anchor point for absolute dropdowns */
    }

    /* All links */
    .navbar a {
      color: #fff;
      display: block;
      padding: 15px 25px;
      text-decoration: none;
      white-space: nowrap;
    }

    /* Hover effect on links */
    .navbar a:hover {
      background-color: #228B22;
    }

    /* --- DROPDOWN MENUS --- */
    
    /* Hide all submenus by default */
    .navbar ul {
      display: none;
      position: absolute;
      list-style: none;
      padding: 0;
      margin: 0;
      background-color: #555;
      min-width: 180px;
      box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    }

    /* First-level dropdown positioning (drops down) */
    .navbar li:hover > ul {
      display: block;
      top: 100%;
      left: 0;
    }

    /* --- NESTED SUBMENUS (Second level and deeper) --- */
    
    /* Second-level dropdown positioning (flies out to the right) */
    .navbar ul li:hover > ul {
      display: block;
      top: 0;
      left: 100%;
    }

    /* Subtle background variance for nested items */
    .navbar ul a {
      padding: 12px 20px;
      font-size: 14px;
    }
    .navbar ul ul background-color {
      background-color: #555;
    }