:root {
  --beige: #f5f1e6;
  --light-brown: #d6cec2;
  --medium-brown: #9c8a7e;
  --dark-brown: #5c4b41;
  --accent: #8b5e3c;
  --text: #3e3e3e;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: var(--beige);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 1rem;
}

/* Header & Navigation */
header {
  background: var(--white);
  padding: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-left, .logo-right {
  flex: 1;
}

.logo-center {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.uni-logo, .society-logo {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

.uni-logo:hover, .society-logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.logo-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-brown);
  text-align: center;
}

nav {
  background: var(--dark-brown);
  padding: 0.8rem 0;
}

nav ul {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

nav ul li a {
  color: var(--beige);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

nav ul li a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--beige);
  transition: width 0.3s ease;
}

nav ul li a:hover:after {
  width: 100%;
}

nav ul li a:hover {
  color: var(--white);
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, var(--beige) 50%, var(--light-brown) 50%);
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 2rem auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

.hero-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.hero h2 {
  font-size: 2.8rem;
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text);
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 94, 60, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 94, 60, 0.4);
  background: var(--dark-brown);
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  flex: 1;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto;
  border-radius: 2px;
}

.section-title p {
  color: var(--medium-brown);
  max-width: 600px;
  margin: 0 auto;
}

/* Mission Cards */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.mission-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.mission-card h3 {
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.mission-card p {
  color: var(--text);
}

/* Work Section */
.work-graphic {
  text-align: center;
  margin-bottom: 3rem;
}

.work-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.work-image:hover {
  transform: scale(1.02);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.work-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
}

.work-img {
  height: 200px;
  overflow: hidden;
}

.work-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-img img {
  transform: scale(1.05);
}

.work-info {
  padding: 1.5rem;
}

.work-info h3 {
  color: var(--dark-brown);
  margin-bottom: 0.8rem;
}

.work-info p {
  color: var(--text);
  margin-bottom: 1.2rem;
}

.read-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: var(--dark-brown);
  transform: translateX(5px);
}

.read-more:after {
  content: '→';
  margin-left: 5px;
}

/* Work List for our-work.html */
.work-section {
  margin-top: 2rem;
}

.work-section h3 {
  color: var(--dark-brown);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.work-list {
  list-style: none;
  padding: 0;
}

.work-list li {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.work-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.work-list li i {
  color: var(--accent);
  font-size: 1.5rem;
  margin-right: 1rem;
  width: 30px;
  text-align: center;
}

/* Big Timeline for our-work.html */
.big-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.big-timeline-item {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.big-timeline-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.big-timeline-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.big-timeline-item:hover .big-timeline-img {
  transform: scale(1.05);
}

.big-timeline-content {
  padding: 2rem;
  text-align: center;
}

.big-timeline-content h2 {
  font-size: 1.8rem;
  color: var(--dark-brown);
  margin-bottom: 1rem;
  font-weight: 700;
}

.big-timeline-content h4 {
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
}

/* Mobile responsiveness for big timeline */
@media (max-width: 768px) {
  .big-timeline-item {
    max-width: 100%;
  }

  .big-timeline-content h2 {
    font-size: 1.5rem;
  }

  .big-timeline-content h4 {
    font-size: 1rem;
  }
}

/* Human Rights Decorative Graphics - Removed background SVGs */

/* Team Section */
.team-graphic {
  text-align: center;
  margin-bottom: 3rem;
}

.team-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-image:hover {
  transform: scale(1.02);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.member {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid var(--accent);
  transition: transform 0.3s ease;
  background-color: var(--light-brown);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Placeholder styling for missing images */
.member-img[src=""],
.member-img[src*="placeholder"],
.member-img[alt]:not([src]) {
  background-color: var(--light-brown);
  position: relative;
}

.member-img[src=""],
.member-img[src*="placeholder"],
.member-img[alt]:not([src])::before {
  content: attr(alt);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.member:hover .member-img {
  transform: scale(1.05);
}

.member h3 {
  margin-bottom: 1rem;
  color: var(--dark-brown);
}

.member p {
  color: var(--text);
}

/* Recruitment Section */
.recruitment-graphic {
  text-align: center;
  margin-bottom: 3rem;
}

.recruitment-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.recruitment-image:hover {
  transform: scale(1.02);
}

.recruitment-section {
  margin-top: 2rem;
}

.recruitment-section h3 {
  color: var(--dark-brown);
  margin-bottom: 1rem;
}

.recruitment-section p {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.recruitment-section form {
  max-width: 500px;
  margin: 0 auto;
}

.recruitment-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-brown);
}

.recruitment-section input,
.recruitment-section textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-brown);
  border-radius: 8px;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.recruitment-section input:focus,
.recruitment-section textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* Contact Section */
.contact-graphic {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.contact-image:hover {
  transform: scale(1.02);
}

.contact-section {
  margin-top: 2rem;
  text-align: center;
}

/* Google Form iframe styling for recruitment.html */
.recruitment-section iframe {
  width: 100%;
  max-width: 640px;
  height: 2299px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin: 0 auto;
  display: block;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.recruitment-section iframe:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transform: scale(1.02);
  border-radius: 16px;
}

/* Responsive adjustments for recruitment form */
@media (max-width: 768px) {
  .recruitment-section iframe {
    height: auto;
    min-height: 1200px;
  }
}

.contact-section p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-section i {
  color: var(--accent);
  margin-right: 0.5rem;
  width: 20px;
}

.contact-section a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-section a:hover {
  color: var(--dark-brown);
}

/* Footer */
footer {
  background: var(--dark-brown);
  color: var(--beige);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--beige);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--light-brown);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--beige);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(245, 241, 230, 0.1);
  border-radius: 50%;
  color: var(--beige);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(245, 241, 230, 0.1);
}

/* Publications Page */
.publications-graphic {
  text-align: center;
  margin-bottom: 3rem;
}

.publications-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.publications-image:hover {
  transform: scale(1.02);
}

.search-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.search-bar {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 1rem;
  border: 1px solid var(--light-brown);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
}

.search-bar:focus {
  outline: none;
  border-color: var(--accent);
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.2rem;
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.publication-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.publication-img {
  height: 200px;
  overflow: hidden;
}

.publication-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.publication-card:hover .publication-img img {
  transform: scale(1.05);
}

.publication-content {
  padding: 1.5rem;
}

.publication-content h3 {
  color: var(--dark-brown);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.publication-meta {
  font-size: 0.9rem;
  color: var(--medium-brown);
  margin-bottom: 1rem;
}

.publication-content p {
  color: var(--text);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .logo-left, .logo-right {
    display: none;
  }
  
  nav ul {
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .mission-cards, .work-grid {
    grid-template-columns: 1fr;
  }

  /* Publications Page */
  .publications-graphic {
    text-align: center;
    margin-bottom: 3rem;
  }

  .publications-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }

  .publications-image:hover {
    transform: scale(1.02);
  }

  .search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 2rem;
  }

  .search-bar {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border: 1px solid var(--light-brown);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
  }

  .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.2rem;
  }

  .publications-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .publication-card {
    display: flex;
    flex-direction: column;
  }

  .publication-img img {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}
