@import url("../webfonts/Horatio_D_Medium/stylesheet.css");
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body, .cotent p, h1, h2, h3, h4, h5, h6 {
    font-family: "Horatio D Medium";
    background-color: white; /* Green background */
    color: black; /* Dark text color */
    overflow-x: hidden;
    text-align: center;
}

/* Paragraph Styling */
p {
    margin: 20px 0; /* Add spacing between paragraphs */
    line-height: 1.6; /* Improve readability */
	font-size: 1.2rem;
	
}
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4, h5, h6 { font-size: 1.5rem; }


a {
	color: #4054b2;
}

/* Main Content */
.content {
    padding: 0;
    margin-top: 0; /* No margin to remove gap between header and content */
	margin-right: 20px;
	margin-left: 20px;
}

/* PDF Viewer Styling */
.pdf-viewer {
    margin: 10px, 100px, 10px, 100px;
}

/* Sticky Container */
.sticky-container {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    height: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    width: 100%;
}

/* Logo on the left */
.logo {
    height: 50px;
    width: auto;
}
/* Global rule for logo */
.logo {
    max-height: 50px;  /* Cap the height at 50px */
    width: auto;       /* Maintain aspect ratio */
}


/* Sidebar Toggle on the right */
.sidebar-toggle {
    font-size: 32px;
    color: #423f3c; /* Dark text color */
    background: none;
    border: none;
    cursor: pointer;
}

/* Sidebar Styles */
.sidebar {
    height: 100vh;  /* Full viewport height */
    width: 250px;
    position: fixed;
    top: 140px;
    right: -250px;/*to start off-screen to the right */
    background-color: #4054b2; /* Blue background */
    padding-top: 20px;
    transition: right 0.3s ease;  /* Smooth slide-in effect */
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Add shadow for depth */
	display: flex;
    flex-direction: column;
    align-items: center;  /* Center buttons horizontally */
}

.show-sidebar {
    right: 0;  /* Slide the sidebar into view */
}

/* Sidebar Links and Buttons */
.sidebar a, .sidebar .dropdown-btn {
    padding: 15px 20px;
    text-decoration: none;
    font-size: 18px;
    color: #ffff00; /* Yellow text color */
    display: block;
    background-color: #4054b2; /* Blue background */
    border-radius: 4px;  /* Rounded corners for modern look */
    margin: 10px 15px;  /* Add some spacing between buttons */
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
	align-items: center;
	border: none; /* Remove any border */
    outline: none; /* Remove any outline */
	
}

/* Button Hover and Active Effects */
.sidebar a:hover, .sidebar .dropdown-btn:hover {
    background-color: #4054b2; /* Blue background */
    transform: translateY(-2px); /* Slight lift on hover */
	border: none; /* Remove any border */
    outline: none; /* Remove any outline */
}

/* Active Button Style */
.sidebar a.active, .sidebar .dropdown-btn.active {
    background-color: #4054b2;  /* Blue active color */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
	border: none; /* Remove any border */
    outline: none; /* Remove any outline */
}

/* Dropdown Container */
.dropdown-container {
    display: none;
    background-color: #4054b2; /* Blue background */
    padding-left: 20px;
}

/* Dropdown Links */
.dropdown-container a {
    padding: 10px 15px;
    font-size: 16px;
    display: block;
    color: #ffff00;
    border-radius: 4px;
    margin: 5px 0;
    transition: background-color 0.3s ease, transform 0.2s ease;
	align-items: center;
}

.dropdown-container a:hover {
    background-color: #61ce70;  /* Green hover effect */
    transform: translateY(-2px); /* Slight lift on hover */
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    font-size: 32px;
    color: #fff;
    background-color: #06AF19;  /* Green background for contrast */
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.sidebar-toggle:hover {
    background-color: #05a017; /* Darker green on hover */
    transform: scale(1.1); /* Slight enlarge on hover */
}



/* Footer Styles */
.footer {
    background-image: url("../images/Dots.jpg");
	background-size: cover;
    background-position: center;
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}


.footer-logo img {
    max-height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-links a {
    color: black;
    margin: 0 15px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #06AF19;  /* Your primary color */
}

.footer-social {
    margin-bottom: 20px;
}

.footer-social .social-icon {
    margin: 0 10px;
}

.footer-social .social-icon img {
    width: 30px;
    height: 30px;
	border-radius: 25%;
    transition: transform 0.3s ease;
}

.footer-social .social-icon img:hover {
    transform: scale(1.2);
}

.footer-legal {
    font-size: 14px;
    color: black;
	text-decoration: bold;
}

.footer-legal p {
    margin: 5px 0;
}

/* Website Credits */
.footer-credits {
    margin-top: 20px;
    text-align: center;
}

.footer-credits p {
    margin: 10px 0;
    font-size: 14px;
    color: black;
	text-decoration: bold;
	
}

.footer-credits a {
    color: #06AF19; /* Matches other link colors */
    text-decoration: none;
}

.footer-credits a:hover {
    text-decoration: underline;
}

.footer-credits .credit-logo {
    max-height: 20px;
    vertical-align: middle;
    margin-left: 5px;
}

#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px;
  z-index: 1000;
}

#cookie-consent-banner button {
  background-color: #28a745;
  border: none;
  color: white;
  padding: 10px 20px;
  margin-left: 10px;
  cursor: pointer;
}

#cookie-consent-banner button:hover {
  background-color: #218838;
}

#reject-cookies {
  background-color: #dc3545;
}

#reject-cookies:hover {
  background-color: #c82333;
}

/* Gallery Container */
    .gallery-container-events {
      width: 90%;
	  max-height: 900px; /* Fixed height for the gallery */
      overflow-y: scroll; /* Enable vertical scrolling */
      margin: 0 auto;
      padding: 20px;
      background-color: #4054b2;  /* Slightly lighter background */
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);  /* Container shadow */
	  display: grid;
	  grid-template-columns: repeat(9, 1fr); /* 9 columns */
      grid-gap: 10px; /* Spacing between images */
    }

    .gallery-container {
      width: 90%;
      margin: 0 auto;
      padding: 20px;
      background-color: #ff8a00;  /* Slightly lighter background */
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);  /* Container shadow */
	  grid-template-columns: repeat(3, 1fr); /* 3 columns */
      grid-gap: 10px; /* Spacing between images */
    }

    /* Image Gallery */
    .gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);  /* 3 columns */
      grid-gap: 15px;  /* Spacing between images */
    }

    .gallery img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 10px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .gallery img:hover {
      transform: scale(1.05);  /* Slight zoom on hover */
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);  /* Shadow effect on hover */
    }

    .image-container {
      overflow: hidden;
      border-radius: 10px;
    }

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.image-container img:hover {
    transform: scale(1.05);  /* Slight zoom on hover */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);  /* Shadow effect on hover */
}

.fullscreen-viewer {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 10000; /* Ensure it's on top of all other elements */
}

.fullscreen-viewer img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.team-container {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(2, 1fr);  /* 2 columns */
      grid-gap: 30px;  /* Spacing between team members */
    }

    .team-member {
      background-color: white; 
      padding: 20px;
      border-radius: 15px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);  /* Box shadow */
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .team-member:hover {
      transform: scale(1.03);  /* Slight zoom on hover */
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);  /* Enhanced shadow on hover */
    }

    .team-member img {
      width: 150px;
      height: 150px;
      object-fit: cover;
      border-radius: 50%;  /* Circular image */
      margin-bottom: 20px;
      border: 4px solid #ff00ff;
	  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);  /* Enhanced shadow on hover */
    }

    .team-member h2 {
      font-size: 24px;
      margin: 10px 0 5px;
	  border-radius: 100px;
	  background-color: white;
	  color: Black;
	  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);  /* Enhanced shadow on hover */
    }

    .team-member p {
      font-size: 16px;
      margin: 5px 0;
      color: black;
    }

.team-member li {
      font-size: 16px;
      margin: 5px 0px 5px 0px;
      color: black;
	  list-style-type: none;
    }

    .bio {
      font-size: 14px;
      margin-top: 15px;
      line-height: 1.6;
      color: #bbbbbb;
    }

.job-listing {
      background-color: white;
      padding: 20px;
      margin-bottom: 30px;
      border-radius: 10px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

   .job-listing h2 {
      margin: 0 0 10px;
	  padding-bottom: 20px;
	  background-color: #4054b2;
	  color: black;
	  border-radius: 30px;
	  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);  /* Enhanced shadow on hover */
    }

   .job-listing form {
      margin-top: 20px;
    }

   .job-listing form input, form textarea {
      width: 100%;
      padding: 10px;
      margin-bottom: 10px;
      border: 5px solid #4054b2;
      border-radius: 5px;
      background-color: white;
      color: black;
	  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);  /* Enhanced shadow on hover */
    }

   .job-listing form input[type="file"] {
      background-color: white;
      color: black;
    }

   .job-listing form button {
      padding: 10px 15px;
      background-color: #4054b2;
      color: black;
      border: none;
      border-radius: 5px;
      cursor: pointer;
	  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);  /* Enhanced shadow on hover */
    }

   .job-listing form button:hover {
      background-color: #0056b3;
    }

.testimonials-container {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2 columns */
    grid-gap: 30px;  /* Spacing between testimonials */
    margin: 40px auto;  /* Center align the testimonials section */
}

.testimonial {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);  /* Box shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: scale(1.03);  /* Slight zoom on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);  /* Enhanced shadow on hover */
}

.testimonial img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;  /* Circular image */
    margin-bottom: 20px;
    border: 4px solid #ff00ff;
}

.testimonial h2 {
    font-size: 40px;
    margin: 10px 0 5px;
	border-radius: 15px;
	background-color: #4054b2;
	color: black;
}

.testimonial p {
    font-size: 16px;
    margin: 5px 0;
    color: Black;
}

.testimonial .quote {
    font-size: 28px;
    margin-top: 15px;
    line-height: 1.6;
    color: Black;
    font-style: italic;
	max-height: 900px; /* Fixed height for the gallery */
    overflow-y: scroll; /* Enable vertical scrolling */
}

.video-container {
	padding-bottom: 30px;
	padding-top: 30px;
}

.blog-container {
    display: flex;
    flex-direction: column; /* Arrange posts in a single column */
    gap: 30px; /* Space between each blog post */
    margin: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.blog-post {
    background-color: white; 
    padding: 20px;
	padding-top: 20px;
	padding-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Box shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: scale(1.03); /* Slight zoom on hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6); /* Enhanced shadow on hover */
}

.blog-post .date {
    font-size: 14px;
    color: #4054b2;
    margin-bottom: 20px;
}

.blog-post h2 {
	color: black;
	font-size: 400%;
	background-color: white;
	
}

.blog-post img {
    width: 75%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);  /* Enhanced shadow on hover */
}

iframe {
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);  /* Enhanced shadow on hover */
}
/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    background-color: white; /* Matches existing theme */
}

table th, table td {
    text-align: left;
    padding: 12px;
    border: 1px solid #ddd;
    color: black;
}

table th {
    background-color: #4054b2; /* Header background to match branding */
    color: white;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f2f2f2; /* Subtle row striping for readability */
}

table tr:hover {
    background-color: #e6f7ff; /* Light hover effect */
}

/* File Directory Styling */
.file-directory {
    padding: 20px;
    margin-top: 10px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Matches existing shadow effect */
    background-color: white;
}

.file-directory h1 {
    font-size: 24px;
    color: #4054b2; /* Matches primary branding color */
    margin-bottom: 20px;
}

.file-directory a {
    text-decoration: none;
    color: #4054b2;
    transition: color 0.3s ease;
}

.file-directory a:hover {
    color: #0056b3; /* Darker shade on hover */
    text-decoration: underline;
}

/* Email List Styling */
.email-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.email-list li {
    margin: 10px 0;
    padding: 15px;
    background-color: #ffffff; /* Matches existing white backgrounds */
    border-left: 5px solid #4054b2; /* Brand primary color */
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.email-list li:hover {
    transform: scale(1.02); /* Subtle hover effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4); /* Enhanced hover shadow */
}

.email-list li a {
    text-decoration: none;
    color: #4054b2; /* Brand primary color */
    font-weight: bold;
    transition: color 0.3s ease;
}

.email-list li a:hover {
    color: #0056b3; /* Darker shade for hover */
}

/* Email List Styles */
.email-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.email-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #ddd; /* Subtle divider */
    font-size: 13px; /* Slightly smaller text */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.email-list li:hover {
    background-color: #f9f9f9; /* Light hover effect */
}

.email-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

.email-details p {
    margin: 2px 0;
    font-size: 12px; /* Compact text size */
    color: #333;
}

.email-actions {
    font-size: 12px;
}

.email-actions a {
    color: #4054b2; /* Match branding */
    text-decoration: none;
    margin-right: 5px;
}

.email-actions a:hover {
    text-decoration: underline;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content h2 {
    font-size: 16px; /* Smaller heading */
    margin-bottom: 10px;
    text-align: center;
}

.modal-content p {
    font-size: 13px; /* Smaller text */
    color: #333;
}

.modal-content #emailAttachments a {
    display: inline-block;
    margin: 5px 0;
    font-size: 12px;
    color: #0056b3; /* Match branding */
    text-decoration: none;
}

.modal-content #emailAttachments a:hover {
    text-decoration: underline;
}

.modal-content iframe {
    width: 100%;
    height: 300px;
    border: 1px solid #ddd;
    margin-top: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.dashboard-metrics {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.metric {
    flex: 1;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.metric h2 {
    font-size: 20px;
    color: #4054b2;
    margin-bottom: 10px;
}

.dashboard-actions, .dashboard-announcements {
    margin-top: 30px;
}

.dashboard-actions ul, .dashboard-announcements ul {
    list-style: none;
    padding: 0;
}

.dashboard-actions li, .dashboard-announcements li {
    margin: 10px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 5px solid #4054b2;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto; /* Enable content scrolling */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content iframe {
    width: 100%;
    height: 70vh;
    border: none;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

/* Modal Title Styling */
.modal-content h2 {
    font-size: 18px; /* Reduced size for the file name */
    font-weight: normal; /* Adjust weight to balance readability */
    color: #333; /* Neutral text color */
    margin-bottom: 15px; /* Add some spacing below the title */
    word-wrap: break-word; /* Ensure long file names wrap properly */
    text-align: center;
    overflow: hidden; /* Avoid title overflowing the modal */
    text-overflow: ellipsis; /* Truncate with ellipsis if needed */
    white-space: nowrap; /* Keep single-line display */
}

/* Task List Styling */
.content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.content ul li {
    background-color: #f9f9f9;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.content ul li:hover {
    transform: translateY(-3px); /* Lift effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.content ul li p {
    margin: 5px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.content ul li form {
    margin-top: 10px;
}

.content ul li button {
    background-color: #4054b2; /* Matches site branding */
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.content ul li button:hover {
    background-color: #2c3e7a; /* Darker hover color */
}

/* General Form Styling */
form {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    font-family: 'Arial', sans-serif;
}

/* Form Headings */
form h2 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: #4054b2; /* Blue Theme */
}

/* Labels */
form label {
    font-weight: bold;
    display: block;
    margin: 10px 0 5px;
}

/* Input Fields */
form input[type="text"],
form input[type="email"],
form input[type="number"],
form input[type="password"],
form select,
form textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 2px solid #4054b2;
    border-radius: 5px;
    font-size: 16px;
    background: #f9f9f9;
    transition: 0.3s;
}

/* Textarea */
form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Input Focus Effect */
form input:focus,
form select:focus,
form textarea:focus {
    border-color: #06AF19;
    outline: none;
    background: #ffffff;

}

/* Checkbox Styling */
form input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

/* PayPal Integration Styling */
form p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

/* Submit Button */
form button {
    width: 100%;
    background: #4054b2;
    color: white;
    border: none;
    padding: 12px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

form button[type="submit"] {
    width: 50%;
    background: #4054b2;
    color: white;
    border: none;
    padding: 12px;
    font-size: 10px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
/* Hover Effect on Button */
form button:hover {
    background: #003d99;
    transform: scale(1.05);
}

.dashboard-announcements li {
    font-size: 25px;
}

/* General Styling */
#Training {
    text-align: center;
    padding: 20px;
}

#Training h1 {
    font-size: 2.5rem;
    color: #4054b2;
    margin-bottom: 20px;
}

/* Quiz Section */
#safeguarding-quiz {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

#safeguarding-quiz h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

/* Video Styling */
#safeguarding-quiz iframe {
    width: 100%;
    height: 315px;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Quiz Form Styling */
#quizForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Fieldset Styling */
fieldset {
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    background: #fff;
}

legend {
    font-weight: bold;
    font-size: 1.2rem;
    color: #4054b2;
}

label {
    display: block;
    font-size: 1rem;
    margin: 5px 0;
    cursor: pointer;
}

/* Submit Button */
#quizForm button {
    background: #4054b2;
    color: white;
    font-size: 1.2rem;
    padding: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

#quizForm button:hover {
    background: #333;
}

/* Impact Assessment Form Styling */
.impact-assessment-form {
    padding: 20px;
    margin: auto;
    max-width: 800px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.impact-assessment-form h1 {
    font-size: 3rem;
    color: #4054b2;
}

.impact-assessment-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.impact-assessment-form fieldset {
    width: 100%;
    border: none;
    background: #eef6ff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: left;
}

.impact-assessment-form legend {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4054b2;
}

.impact-assessment-form label {
    display: block;
    font-size: 1.2rem;
    margin: 10px 0 5px;
}

.impact-assessment-form select,
.impact-assessment-form input[type="text"],
.impact-assessment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.impact-assessment-form input[type="checkbox"],
.impact-assessment-form input[type="radio"] {
    margin-right: 10px;
}

.impact-assessment-form button {
    background: #4054b2;
    color: white;
    font-size: 1.2rem;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.impact-assessment-form button:hover {
    background: #003f7f;
}

#contact-dashboard {
    overflow-x: auto;
    margin-top: 40px;
}

#contact-dashboard table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border: 2px solid #4054b2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

#contact-dashboard th, #contact-dashboard td {
    padding: 10px;
    border: 1px solid #4054b2;
    text-align: left;
}

#contact-dashboard th {
    background-color: #4054b2;
    color: #ffff00;
    font-weight: bold;
}

#contact-dashboard input {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#contact-dashboard button {
    padding: 6px 10px;
    background-color: #4054b2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#contact-dashboard button:hover {
    background-color: #2f3b9a;
}

.add-column-controls {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-wrapper {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}
.donation-banner {
    position: sticky;
    top: 0;
    z-index: 9999;
    background-color: #ffcc00;
    color: #000;
    text-align: center;
    padding: 12px 10px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.donation-banner a {
    color: #005a00;
    text-decoration: underline;
}


/* Responsive Design - Media Queries */
@media (max-width: 767px) {
    /* Adjust logo and toggle button size */
    .logo {
        height: 40px;
    }

    .sidebar-toggle {
        font-size: 28px;
    }

    /* Ensure sticky container and sidebar adjust on smaller screens */
    .sticky-container {
        padding: 0 10px;
    }

    .sidebar {
        width: 200px;  /* Smaller sidebar for mobile */
    }

    .show-sidebar {
        right: 0;  /* Sidebar slides in fully on mobile */
    }

    /* Adjust content padding */
    /*.content {
        padding: 15px;
        margin-top: 80px;  /* Ensure content stays below the sticky container */
    /*}

    /* Footer adjustments for smaller screens */
    .footer {
        padding: 30px 15px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-links a {
        margin: 10px 0;
    }

    .footer-social .social-icon {
        margin: 5px;
    }
    
    h1, h2 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }
	.gallery {
        grid-template-columns: repeat(2, 1fr);  /* 2 columns on smaller screens */
      }
	.team-container {
        grid-template-columns: 1fr;  /* Switch to 1 column for smaller screens */
      }
	.testimonials-container {
    grid-template-columns: repeat(1, 1fr);  /* 2 columns */
    }
	.gallery-container-events { 
	  grid-template-columns: repeat(2, 1fr); /* 9 columns */
    }
    .email-list li {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-content {
        max-width: 95%;
        padding: 10px;
    }

    .modal-content iframe {
        height: 200px;
    }
    .blog-container {
        margin: 10px;
        gap: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .blog-post {
        padding: 15px;
        border-radius: 10px;
    }

    .blog-post h2 {
        font-size: 250%; /* Reduce heading size for smaller screens */
    }

    .blog-post img {
        width: 100%; /* Full width for better responsiveness */
        border-radius: 8px;
    }

    .blog-post .date {
        font-size: 12px; /* Adjust date text size */
        margin-bottom: 10px;
    }
    #safeguarding-quiz {
        padding: 15px;
    }

    #safeguarding-quiz h2 {
        font-size: 1.5rem;
    }

    #safeguarding-quiz iframe {
        height: 250px;
    }

    fieldset {
        padding: 10px;
    }

    legend {
        font-size: 1rem;
    }

    label {
        font-size: 0.9rem;
    }

    #quizForm button {
        font-size: 1rem;
        padding: 8px;
    }
    
    .impact-assessment-form {
        width: 95%;
    }

    .impact-assessment-form h1 {
        font-size: 2rem;
    }

    .impact-assessment-form legend {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .blog-container {
        gap: 15px;
    }

    .blog-post {
        padding: 10px;
        border-radius: 8px;
    }

    .blog-post h2 {
        font-size: 200%;
    }

    .blog-post img {
        width: 100%;
        border-radius: 6px;
    }
    #safeguarding-quiz {
        padding: 10px;
    }

    #safeguarding-quiz h2 {
        font-size: 1.3rem;
    }

    #safeguarding-quiz iframe {
        height: 200px;
    }

    fieldset {
        padding: 8px;
    }

    legend {
        font-size: 0.9rem;
    }

    label {
        font-size: 0.85rem;
    }

    #quizForm button {
        font-size: 0.9rem;
        padding: 6px;
    }
    form {
        width: 90%;
    }
}

/* --- TABLES --- */
table {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        display: none;
    }

    td {
        position: relative;
        padding-left: 50%;
        text-align: left;
        white-space: normal;
    }

    td::before {
        position: absolute;
        top: 12px;
        left: 10px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
        color: #4054b2;
        content: attr(data-label); /* Add this in HTML dynamically */
    }
}

/* --- FORMS --- */
form input, form select, form textarea {
    font-size: 0.95rem;
    padding: 8px;
}

@media (max-width: 768px) {
    form {
        width: 95% !important;
        margin: 10px auto;
        padding: 15px;
    }

    form input, form select, form textarea {
        font-size: 1rem;
        width: 100%;
    }

    form button {
        font-size: 1rem;
        width: 100%;
    }
}

/* --- BUTTONS --- */
button, .content ul li button {
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 6px;
}

@media (max-width: 768px) {

}

/* --- TASK & EMAIL LISTS --- */
.content ul li {
    padding: 10px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .content ul li {
        flex-direction: column;
    }

    .email-details p {
        font-size: 0.85rem;
    }

    .email-actions {
        text-align: right;
        width: 100%;
    }
}


/* --- DASHBOARD METRICS --- */
@media (max-width: 768px) {
    .dashboard-metrics {
        flex-direction: column;
    }
}

/* --- CONTACT DASHBOARD TABLE WRAP --- */
#contact-dashboard {
    overflow-x: auto;
}
	
/* Ensures label sits clearly above input */
.mobile-label {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 4px;
    color: #4054b2;
}
/* Hide labels on larger screens */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: block;
  }
}
@media (max-width: 768px) {
  #contact-dashboard table thead,
  #contact-dashboard table thead tr,
  #contact-dashboard table thead th {
    display: none !important;
  }
}

a button {
    margin-top: 10px;
    background-color: #4054b2;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

a button:hover {
    background-color: #003d99;
}


/* Global rule for logo */
.logo {
    max-height: 50px;  /* Cap the height at 50px */
    width: auto;       /* Maintain aspect ratio */
}
/* Media Queries for Responsiveness */
