@import url('https://fonts.googleapis.com/css2?family=Roboto:300,400,500,700,800,900&display=swap');

*{
	font-family: 'Roboto';
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.post-image {
    width: 100%;
    max-height: 350px;
    object-fit: cover;   /* crops instead of stretching */
    border-radius: 10px;
}

.header { 
	position: fixed;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #150ed5;
	padding: 0 10px;
	transition: 0.3s;
	top: 0;
}
.logo-container a{
	display: block;
}
.logo-container a img{
	display: block;
	width: 100%;
}

.navigation{
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.menu{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: row;
	z-index: 1;
	transition: 0.5s;
}
.menu li{
	list-style-type: none;
}
.menu li a{
  text-decoration: none;
  color: white;
  display: block;
  font-size: 18px;
  line-height: 1;
  /* REDUCED PADDING */
  padding: 20px 25px; /* Changed from 40px to 20px for better fit */
  transition: 0.3s;
}
.menu li a:hover{
  box-shadow: 0px -5px 0px #fff,
  500px 0 0 rgba(255, 255, 255, 0.03)inset;
  /* ADJUSTED PADDING */
  padding: 15px 25px 25px 25px; /* Adjusted to match new desktop padding */
}
.hamburger{
	position: relative;
	width: 30px;
	height: 4px;
	background-color: white;
	border-radius: 10px;
	cursor: pointer;
	z-index: 2;
	transition: 0.3s;
}
.hamburger:before,
.hamburger:after{
	content: '';
	position: absolute;
	right: 0;
	height: 4px;
	background-color: white;
	border-radius: 10px;
	transition: 0.3s;
}
.hamburger:before{
	width: 20px;
	top: -10px;
}
.hamburger:after{
	width: 25px;
	bottom: -10px;
}
.toggle-menu{
	position: absolute;
	width: 30px;
	height: 100%;
	cursor: pointer;
	z-index: 3;
	opacity: 0;

}

.hamburger,
.toggle-menu {
	display: none;
}
.navigation input:checked ~ .hamburger{
	background: transparent;
	
}
.navigation input:checked ~ .hamburger:before{
	transform: rotate(-45deg);
	width: 30px;
	top: 0;
}
.navigation input:checked ~ .hamburger:after{
	transform: rotate(45deg);
	width: 30px;
	top: 0;
}
.navigation input:checked ~ .menu{
	right: 0;
	/*box-shadow: -20px 0 40px rgba(0, 0, 0, 0.3);*/
}

@media screen and (max-width: 768px){
	.hamburger,
	.toggle-menu {
		display: block;
    margin-left: 20px;
	}
	.header{
		padding: 10px 20px;
	}
  .navigation{
    display: flex;
    align-items: center;
  }

  /*-- Adjust menu for mobile== menu slide out setup ---*/
	.menu{
		position: fixed;
		top: 0;
		right: -300px;
		width: 300px;
		height: 100%;
		background-color: #150ed5;
		flex-direction: column;
		justify-content: start;
		align-items: center;
		padding-top: 65px;
    transition: right 0.3s; /* slide animation */
	}
	.menu li a{
		width: 100%;
    padding: 20px 25px;
	}
	.menu li a:hover{
		padding: 20px 25px;
		font-size: 18px;
		box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1)inset;
	}
  #nav-toggle:checked ~ .menu {
        right: 0; /* Slide the menu in */
    }
    /* 4. Hamburger Animation (X icon when open) */
    #nav-toggle:checked ~ .hamburger{
        background: transparent;
    }
    #nav-toggle:checked ~ .hamburger::before{
        transform: rotate(-45deg);
        width: 30px;
        top: 0;
    }
    #nav-toggle:checked ~ .hamburger::after{
        transform: rotate(45deg);
        width: 30px;
        top: 0;
    }

    /* 5. Footer Stacking on Mobile */
    .social-container {
        flex-direction: column;
        align-items: center;
    }
}
header img {
    height: 80px;
	width: 100%;
    margin-left: 0;
	border-radius: 12px;
}

/*----------------end of navigation bar material------------------------------ */



.navbar {
    background-color: #fff;
    padding: 15px 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
	width: 100%;
}

.content {
  padding: 20px;
	margin-top: 100px;
  text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
/*-------------------------------index page styles------------------------------- */
.countdown {
    font-size: 2.0rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: red; /* or whatever matches your palette */
    text-align: center;
    padding: 10px;
    
}

.button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
}
.logo {
  display: block;
  margin: 20px auto;
  width: 40%;         /* scales relative to screen width */
  max-width: 180px;   /* keeps it from getting too large */
  height: auto;       /* preserves aspect ratio */
  border-radius: 12px;
}
.home-title {
	font-size: 36px;
	color: #5daeff;
	/*text-align: center;*/
}

.tagline {
	font-size: 24px;
	color: white;
	/*text-align: center;*/
}
p {
	color: white;
	font-size: 18px;
	line-height: 1.6;
}
/*
h1, h2, h3, h4, h5, h6 {
	color: white;
	display: block;
  	margin: 20px auto;
  	width: 40%;         
 	max-width: 180px;   
  	height: auto;       
  	border-radius: 12px;
	white-space: nowrap;
	text-align: center;
}
*/
body {
    height: 100%;
    background-image: url('Solid-Black-Website-Background.jpg');
    background-size: cover;
    font-family: sans-serif;
    margin-top: 0;
    padding: 0;
}

main {
    color: white;
}
/*
header {
    background-color: rgb(58, 58, 153);
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 25px 0 rgb(220, 221, 226);
}

header * {
    display: inline;
}

header li {
    margin: 20px;
}

header li a {
    color: black;
    text-decoration: none;
}*/
/*------------------survey page button styles----------------------- */
/* relevant portion */
button {
	--border-radius: 24px;
	--border-width: 8px;

	appearance: none;
	position: relative;
	padding: 1em 2em;
	border: 0;
	background-color: transparent;
	font-family: "Montserrat", sans-serif;
	font-size: 2em;
	font-weight: 600;
	color: #fff;
}

button::after {
	--m-i: linear-gradient(#000, #000);
	--m-o: content-box, padding-box;

	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	padding: var(--border-width);
	border-radius: var(--border-radius);
	background-image: conic-gradient(
		#488cfb,
		#29dbbc,
		#ddf505,
		#ff9f0e,
		#e440bb,
		#655adc,
		#488cfb
	);

	mask-image: var(--m-i), var(--m-i);
	mask-origin: var(--m-o);
	mask-clip: var(--m-o);
	mask-composite: exclude;
	-webkit-mask-composite: destination-out;

	filter: hue-rotate(0);
	animation: hue linear 500ms infinite;
	animation-play-state: paused;
}

button:hover::after {
	animation-play-state: running;
}

@keyframes hue {
	to {
		filter: hue-rotate(1turn);
	}
}

/* to have things in good shape */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html,
body {
	height: 100%;
}

body {
	background-color: #161724;
	display: grid;
	place-items: center;
}
/*------------------end of survey page button styles----------------------- */
/*------------------about page styles----------------------- */
/* ---- ABOUT PAGE STYLES ---- */
.about {
  max-width: 800px;
  margin: 60px auto;
  text-align: left;
  line-height: 1.8;
  color: #f5f5f5; /* light text for dark bg */
  background: rgba(0, 0, 0, 0.4); /* subtle transparent box */
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.about h1 {
  text-align: center;
  margin-bottom: 20px;
  padding:0;
  font-size: 2.4em;
  color: #5daeff;
  text-shadow: 0 0 10px rgba(185, 184, 203, 0.3);
}

.about h2 {
	padding:0;
  margin-top: 25px;
  font-size: 1.6em;
  color: #5daeff;
}

.about p, 
.about ul {
  margin-bottom: 15px;
  color: #e0e0e0;
  font-size: 1.05em;
}

.about ul li {
  margin: 8px 0;
}

/* Custom button for the About page only */
.about-btn {
  display: inline-block;
  
  padding: 12px 28px;
  background-color: #150ed5;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
}

.about-btn:hover {
  background-color: #007bff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
  transform: translateY(-2px);
}
/* ----------------------------------Projects Section--------------------------------------- */
.projects-section {
  padding: 60px 20px;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.projects-section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #00c8ff;
  white-space: nowrap;
  text-align: center;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #ccc;
  font-size: 1.1em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.project-card {
  background-color: #111;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.2);
  max-width: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
}

.project-card h3 {
  color: #00c8ff;
  margin-bottom: 10px;
}

.project-card p {
  color: #bbb;
  font-size: 0.95em;
  line-height: 1.5em;
}

/*------------------end of about page styles----------------------- */
/* ================================
   RENTERN SURVEY PAGE STYLES
   ================================ */
.survey-page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 40px 15px;
  background-color: none;
  color: #f1f1f1;
}

.survey-form-container {
  width: 100%;
  max-width: 750px;
  background-color: #1a1a1a;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 128, 0.9);
  padding: 35px 45px;
}

.survey-form-container h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: #00ff88;
  margin-bottom: 30px;
}

.survey-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 25px;
}

.survey-form label {
  display: block;
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 5px;
}

.survey-form input,
.survey-form select {
  width: 100%;
  padding: 10px 12px;
  background-color: #222;
  border: 1px solid #333;
  border-radius: 8px;
  color: #f1f1f1;
  transition: all 0.25s ease;
}

/* Green glow focus effect */
.survey-form input:focus,
.survey-form select:focus {
  outline: none;
  border-color: #00ff88;
  box-shadow: 0 0 6px #00ff88;
  background-color: #262626;
}

.survey-form button {
  grid-column: span 2;
  margin-top: 20px;
  padding: 14px;
  background-color: #00ff88;
  border: none;
  color: #000;
  font-weight: 700;
  border-radius:25px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.survey-form button:hover {
  background-color: #00cc6a;
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .survey-form {
    grid-template-columns: 1fr;
  }
}
 /* === Unique survey styles === */
    .student-survey-container {
      max-width: 600px;
      margin: 80px auto;
      background-color: #1a1a1a;.post-image {
    max-width: 300px;      /* ⬅ adjust size as you want */
    max-height: 300px;
    width: auto;
    height: auto;
    border-radius: 10px;   /* optional */
    display: block;
    margin: 10px 0;
}

      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 0 15px rgba(0, 255, 150, 0.9);
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #f1f1f1;
    }

    .student-survey-container h2 {
      text-align: center;
      color: #00ffaa;
      margin-bottom: 25px;
      font-size: 1.8em;
      text-shadow: 0 0 8px rgba(0, 255, 150, 0.5);
    }

    .student-survey-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 10px;
    }

    .student-survey-table td {
      padding: 6px 0;
    }

    .student-survey-table label {
      font-weight: 500;
      display: block;
      margin-bottom: 5px;
      color: #e2e2e2;
    }

    .student-survey-table input,
    .student-survey-table select {
      width: 100%;
      padding: 10px;
      border: none;
      border-radius: 6px;
      background-color: #2b2b2b;
      color: #fff;
      font-size: 1em;
      transition: all 0.3s ease;
    }

    .student-survey-table input:focus,
    .student-survey-table select:focus {
      outline: none;
      box-shadow: 0 0 8px #00ffaa;
    }

    .student-survey-submit {
      display: block;
      width: 100%;
      padding: 12px;
      margin-top: 15px;
      background-color: #00ffaa;
      border: none;
      color: #111;
      font-size: 1.1em;
      font-weight: 600;
      border-radius:25px;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .student-survey-submit:hover {
      background-color: #00cc88;
    }
   /* --- news feed corrections --- */
    /* --- LIKE BUTTON FIXES --- */
.post-actions {
    margin: 10px 0;
}

.like-btn {
    /* Fixes the "Too Big" issue */
    padding: 5px 12px;       /* Smaller internal spacing */
    font-size: 0.9rem;       /* Slightly smaller text */
    cursor: pointer;         /* Hand icon on hover */
    border-radius: 20px;     /* Rounded pill shape looks more modern */
    border: none;            /* Removes default heavy border */
    background-color: none; /* Example: Blue background */
    color: white;
    transition: background 0.2s;
}

.like-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* --- COMMENT SECTION FIXES --- */
.comments {
    background-color: rgba(255, 255, 255, 0.1); /* Subtle container background */
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.comment {
    background-color: #333; /* Distinct background for individual comments */
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: white;
}

/* --- COMMENT FORM INPUTS --- */
.comment-form {
    display: flex;          /* Makes inputs stack nicely */
    flex-direction: column;
    gap: 8px;               /* Space between input, textarea, and button */
    margin-top: 15px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;            /* Forces full width */
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-family: inherit;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

.comment-form textarea {
    resize: vertical;       /* Allows user to drag height only */
    min-height: 60px;       /* Sets a reasonable starting height */
}

.comment-form button {
    align-self: flex-end;   /* Aligns button to the right */
    padding: 6px 15px;
    background-color: #04f94a4d; /* Green submit button */
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
}
/* Container to center the buttons */
.social-container {
    display: flex;
    justify-content: center; /* Centers buttons horizontally */
    gap: 15px;               /* Space between the two buttons */
    margin-top: 15px;
}

/* General Button Styling */
.social-btn {
    display: inline-flex;    /* Keeps icon and text side-by-side */
    align-items: center;     /* Centers text vertically with icon */
    text-decoration: none;   /* Removes the underline */
    padding: 10px 20px;      /* Makes the button "fat" and clickable */
    border-radius: 50px;     /* Makes the edges completely round (Pill shape) */
    font-size: 1rem;         /* Readable text size */
    font-weight: bold;
    color: white;            /* White text looks best on colored buttons */
    transition: transform 0.2s ease, opacity 0.2s;
}

/* Add a small gap between the icon and the word */
.social-btn i {
    margin-right: 8px;
    font-size: 1.2rem;       /* Make the icon slightly larger than text */
}

/* Hover Effect: Slight lift */
.social-btn:hover {
    transform: translateY(-2px); /* Moves button up slightly */
    opacity: 0.9;
}

/* --- Brand Specific Colors --- */

/* Facebook Blue */
.facebook {
    background-color: #1877F2; 
}

/* Instagram Gradient */
.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
/* ================================
   ADMIN LOGIN STYLES
   ================================ */

/* Main container (centered on the page) */
.login-container {
    width: 90%;
    max-width: 400px;
    margin: 50px auto;
    padding: 30px;
    
    /* High-contrast background */
    background-color: #1a1a1a; 
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(93, 174, 255, 0.4); /* Subtle blue glow */
    text-align: center;
}

/* Fixes "Admin Login" text visibility */
.login-header {
    color: #5daeff; /* Your main blue color */
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 2.0rem;
    text-shadow: 0 0 5px rgba(93, 174, 255, 0.5);
}

/* Input box styling (fixes "too plain" issue) */
.login-form div {
    margin-bottom: 15px;
}

.login-input {
    width: 100%;
    padding: 12px 15px;
    background-color: #333; /* Darker input background */
    border: 1px solid #555;
    border-radius: 8px;
    color: #f1f1f1; /* White text for visibility */
    font-size: 1.0rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for padding/width */
}

/* Focus effect for better usability */
.login-input:focus {
    outline: none;
    border-color: #5daeff;
    box-shadow: 0 0 10px rgba(93, 174, 255, 0.7);
    background-color: #222;
}

/* Button styling */
.login-button {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background-color: #150ed5; /* Your main button color */
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.login-button:hover {
    background-color: #007bff;
    transform: translateY(-2px);
}