body {
  /* Replace the flat background with a glossy gradient */
  background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
  color: #333333;
  margin-top: 5rem;
  /* Add these properties for a more polished look */
  background-attachment: fixed;
  position: relative;
}

/* Add a subtle overlay to enhance the glossy effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none; /* Makes the overlay non-interactive */
  z-index: -1;
}

/* Profile image container - controls the size and shape */
.profile-image-container {
  width: 400px;  /* Set your desired size here */
  height: 400px; /* Same as width to make it circular */
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  position: relative;
}

/* The image itself - ensures it fills the container properly */
.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This makes the image cover the area without distortion */
  position: absolute;
  top: 0;
  left: 0;
}

.card {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  /* Keep your existing card styles */
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.125);
  overflow: hidden;
}

/* Optional: Add a subtle border to content sections for better contrast */
.content-section {
  background: #ffffff;
  box-shadow: 0 2px 15px rgba(0,0,0,0.03);
  border: 1px solid #e8e8e8;
}
  
  h1, h2, h3, h4, h5, h6 {
    color: #444444;
  }
  
  .bg-steel {
    background-color: #5f788a;
  }
  
  .site-header .navbar-nav .nav-link {
    color: #cbd5db;
  }
  
  .site-header .navbar-nav .nav-link:hover {
    color: #ffffff;
  }
  
  .site-header .navbar-nav .nav-link.active {
    font-weight: 500;
  }
  
  .content-section {
    background: #f3f2f2;
    padding: 10px 20px;
    border: 1px solid #dddddd;
    border-radius: 3px;
    margin-bottom: 20px;
  }
  
  .article-title {
    color: #444444;
  }
  
  a.article-title:hover {
    color: #428bca;
    text-decoration: none;
  }
  
  .article-content {
    white-space: pre-line;
  }
  
  .article-img {
    height: 65px;
    width: 65px;
    margin-right: 16px;
  }
  
  .article-metadata {
    padding-bottom: 1px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e3e3e3
  }
  
  .article-metadata a:hover {
    color: #333;
    text-decoration: none;
  }
  
  .article-svg {
    width: 25px;
    height: 25px;
    vertical-align: middle;
  }
  
  .account-img {
    height: 125px;
    width: 125px;
    margin-right: 20px;
    margin-bottom: 16px;
  }
  
  .account-heading {
    font-size: 2.5rem;
  }

  .contact-heading {
    color: #fdfdfd;
  }

  .LEAD_image {
    width: 50%;
  }

  .RS_image {
    width: 50%;
  }

  /* Reduce container padding */
.container-fluid {
  padding-left: 0px;  /* Reduce from default 15px */
  padding-right: 0px; /* Reduce from default 15px */
}

/* For even narrower margins on larger screens */
@media (min-width: 992px) {
  .container-fluid {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Card hover effects */
.card {
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.125);
  overflow: hidden;
}

/* Scale up and add shadow on hover */
.card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.2);
}

/* Image zoom effect on hover */
.card-img-top {
  transition: transform 0.5s ease;
}

.card:hover .card-img-top {
  transform: scale(1.08);
}

/* Button color change on card hover */
.card:hover .btn-primary {
  background-color: #0069d9;
  border-color: #0062cc;
}

/* Optional: Add a subtle overlay on image hover */
.card a {
  position: relative;
  display: block;
  overflow: hidden;
}

.card a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  transition: background 0.3s ease;
}

.card:hover a::after {
  background: rgba(0,0,0,0.1);
}

/* Contact section base styling */
.bg-dark.text-white.py-5.w-100 {
  margin-left: 0;  /* Remove any negative margin */
  margin-right: -10; /* Ensure no right margin */
  width: 100vw;    /* Use viewport width instead of percentage */
  max-width: 100vw; /* Ensure it doesn't cause horizontal scrolling */
  position: relative; /* For the next property to work properly */
  left: 50%;       /* Move it to the center */
  right: 50%;      /* Move it to the center */
  margin-left: -50vw; /* Pull it back to full width */
  margin-right: -50vw; /* Pull it back to full width */
}

/* Container adjustments */
.bg-dark .container-fluid {
  padding-left: 0px;  /* Add some padding inside the container */
}

/* Row adjustments */
.contact-row {
  margin-left: 0;  /* Remove negative margin that was pushing content right */
  margin-right: 0;  /* Balance the margins */
}

/* Control the image size and position */
.contact-image-col {
  padding-right: 0;
  padding-left: 0;
  text-align: right;  /* Align image to the right side of its column */
}

.contact-image {
  max-width: 250px;  /* Control image size */
  display: block;
  margin: 0 auto 0 0;  /* Align to the left in its container */
}

/* Contact info column adjustments - FIXED */
.contact-info-col {
  padding-left: 0;
  margin-left: -250px;  /* Pull text closer to image */
  text-align: left;    /* Explicitly align text to the left */
}

/* Style the contact links - FIXED */
.contact-list {
  padding-left: 0;     /* Remove default padding */
  margin-left: 0;      /* Remove default margin */
  text-align: left;    /* Ensure list items are left-aligned */
}

.contact-list li {
  margin-bottom: 10px;
  font-size: 1.1rem;
  text-align: left;    /* Ensure each list item is left-aligned */
}

.contact-link {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  text-align: left;    /* Ensure link text is left-aligned */
}

.contact-link:hover {
  color: #17a2b8;  /* Light blue color on hover */
  text-decoration: none;
}

/* Add some space between icon and text */
.contact-link i {
  margin-right: 8px;
  width: 20px;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .bg-dark .container-fluid {
    padding-left: 15px;  /* Standard padding on mobile */
    padding-right: 15px;
  }
  
  .contact-image-col {
    text-align: center;
    padding-right: 15px;
    margin-bottom: 20px;
  }
  
  .contact-info-col {
    margin-left: 0;
    padding-left: 15px;
    text-align: center;  /* Center on mobile */
  }
  
  .contact-list {
    padding-left: 0;
    text-align: center;  /* Center list on mobile */
  }
  
  .contact-list li {
    text-align: center;  /* Center list items on mobile */
  }
  
  .contact-image {
    margin: 0 auto;  /* Center image on mobile */
  }
}