/* Base Styles */
/* Global reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #ffffff;
  line-height: 1.6;
}

/* Links */
a {
  text-decoration: none;
  color: #008080;
}

a:hover {
  text-decoration: underline;
}

/* Header & Navigation */
/* Resize and align the logo image */
.logo img {
  height: 50px;   /* Adjust size as needed */
  width: auto;
  object-fit: contain;
}

/* Make sure header uses flex to align logo and nav properly */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 2rem;
  background-color: #008080;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: white;
  font-weight: 500;
}

nav ul li a:hover {
  color: #f0f0f0;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  #nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #008080;
    padding: 1rem 2rem;
  }

  #nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}


/* Hero Section */
/* Make sure html and body have no margin or padding */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Hero section fully fills the screen */
.hero {
  position: relative;
  width: 100%;
  min-height: 70vh;
  background-image: url('images/hero.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.hero-overlay {
  width: 100%;
  min-height: 70vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}


.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .btn {
  background-color: #008080;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
  transition: background-color 0.3s;
}

.hero .btn:hover {
  text-decoration: none;
  background-color: #006666;
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
}

/* section */
section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: auto;
}

.page-title h1 {
  font-size: 2rem;
  color: #008080;
  text-align: center;
}

.about {
  text-align: center;
  font-size: 1.1rem;
}
.about h1{
  color: #008080;
  font-size: 2rem;
}
.highlights h1, h2, h3 {
  color: #008080;
}
/* Highlights (inline mission/vision/about) */
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.highlight {
  flex: 1 1 300px;
  background-color: #f9f9f9;
  border-left: 4px solid #008080;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 4px;
}

.highlight h2 {
  color: #008080;
  margin-bottom: 1rem;
}


/* Content Sections (About, Services) */
.content ul {
  list-style: disc inside;
  padding-left: 1rem;
}

.content p, .content li {
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

/* Contact Form */
form {
  margin-top: 2rem;
  max-width: 600px;
}

form input, form textarea, form button {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background-color: #008080;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #006666;
}

/* Footer */
footer {
  background-color:#006666;
  color: #e8e8e8;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.card-list .card-item{
  list-style: none;
}
.card-list .card-item .card-link{
  -webkit-user-select: none; /* ✅ Safari, iOS Safari */
  -moz-user-select: none;    /* ✅ Firefox */
  -ms-user-select: none;     /* ✅ Internet Explorer/Edge Legacy */
  user-select: none;  
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f5f5f5;
  padding: 18px;
  border-radius: 12px;
  text-decoration: none;
  height:450px;
  width:auto;
  border: 2px solid transparent;
  box-shadow: 0 10px 10px rgba(0,0,0,0.05);
}
.card-list .card-item .card-link:hover{
  border-color:#006666;
}
.card-list .card-link .card-image{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}
.card-list .card-link .badge{
  color: #006666;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  margin: 16px 0 18px;
  background: #c7f8f8;  
  width: fit-content;
  border-radius: 50px;
}

.card-list .card-link .card-title{
  font-size: 1.19rem;
  color: #000;
  font-weight: 600;
}
.card-list .card-link .card-button{
  height: 35px;
  width: 35px;
  color: #006666;
  border-radius: 50%;
  margin: 30px 0 5px;
  background: none;
  cursor:pointer;
  border: 2px solid #006666;
}
/* Mobile-friendly card sizing */
.card-list .card-item {
  flex: 0 0 auto;
  width: 100%; /* Full width on mobile */
  max-width: 400px;
  margin: auto;
}

/* Mobile-friendly card sizing */
.card-list .card-item {
  flex: 0 0 auto;
  width: 100%; /* Full width on mobile */
  max-width: 400px;
  margin: auto;
}

/* Adjust swiper container on small screens */
@media (max-width: 768px) {

  .card-list .card-item .card-link {
    padding: 16px;
  }
}



/* Highlights Selector Section */
.selector-container {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  margin: 40px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.selector-container .sidebar {
  width: 220px;
  background-color: #008080;
  color: #ffffff;
  padding: 20px;
}

.selector-container .nav-list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.selector-container .nav-list li {
  padding: 10px 0;
  cursor: pointer;
  font-size: 16px;
  color: #f0f0f0;
  transition: font-size 0.2s ease;
}

.selector-container .nav-list li:hover {
  color: #ffffff;
}

.selector-container .nav-list li.active {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
}

.selector-container .content {
  flex: 1;
  padding: 25px;
  background: #ffffff;
  color: #333;
  min-height: 200px;
  border-left: 1px solid #ccc;
}
.swiper-button-next,
.swiper-button-prev {
  color: #008080; 
  font-size: 1.5rem;
}

.swiper-pagination-bullet {
  background: #94a3b8; 
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #008080;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}
.swiper-button-prev i,
.swiper-button-next i {
  font-size: 35px;
  color: #008080;
  transition: transform 0.3s ease;
}

.swiper-button-prev:hover i,
.swiper-button-next:hover i {
  transform: scale(1.2);
  color: #006666; /* optional gold hover */
}

@media (max-width: 768px) {
  .selector-container {
    flex-direction: column;
  }

  .selector-container .sidebar {
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding: 10px;
    background-color: #008080;
  }

  .selector-container .nav-list {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .selector-container .nav-list li {
    font-size: 14px;
    padding: 10px;
    flex: 1;
    text-align: center;
    border-right: 1px solid #ccc;
    border-bottom: none;
  }

  .selector-container .nav-list li:last-child {
    border-right: none;
  }

  .selector-container .nav-list li.active {
    font-size: 16px;
    font-weight: bold;
    background-color: #006666; /* darker teal for active item */
    color: #ffffff;
  }

  .selector-container .content {
    padding: 20px;
  }
}

/* Contact Section */
#contact {
  background-color: #ffffff;
  padding: 4rem 2rem;
}

.contact-container {
  max-width: 1000px;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.colcontact-left,
.colcontact-right {
  flex: 1 1 400px;
}

.colcontact-left h1 {
  color: #008080;
  margin-bottom: 1rem;
}

.colcontact-left p {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

form {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

form button {
  background-color: #008080;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover {
  background-color: #006666;
}

/* Publications */
.publications {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.publication {
  width: 100%;
  max-width: 350px;
  height: 400px;
  background-color: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.publication-image-wrapper {
  height: 180px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.publication-image {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.publication-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.publication-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #008080;
  margin-bottom: 0.5rem;
}

.publication-content p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  flex-grow: 1;
}

.publication-content .btn {
  align-self: flex-start;
  background-color: #008080;
  color: white;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.publication-content .btn:hover {
  background-color: #006666;
}

/* Responsive */
@media (max-width: 768px) {
  .publication {
    max-width: 100%;
    height: auto;
  }

  .publication-image-wrapper {
    height: auto;
  }
}
