/* styles.css */

/* Reset default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body styles */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #FFFFFF;
  color: #333333;
}

/* Container for centering content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header styles */
header {
  background-color: #193a65;
  color: #FFFFFF;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo img {
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
}

/* Banner Section */
.banner {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background-image: url('banner.jpg');
  background-size: cover;
  background-position: center;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
  text-align: center;
}

.banner-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  margin-bottom: 10px;
}

.banner-text p {
  font-size: 18px;
}

/* Section styles with fade-in animation */
.our-story, .our-team, .our-values, .blog {
  padding: 50px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.our-story.visible, .our-team.visible, .our-values.visible, .blog.visible {
  opacity: 1;
  transform: translateY(0);
}

.our-story h2, .our-team h2, .our-values h2, .blog h2 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  margin-bottom: 40px;
  font-size: 36px;
}

/* Our Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}

.team-card {
  position: relative;
  text-align: center;
  padding: 20px;
}

.team-card img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  border-radius: 50%;
}

.team-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  margin: 10px 0;
}

.team-card p {
  font-size: 16px;
}

.team-card .bio {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: #FFFFFF;
  padding: 10px;
}

.team-card:hover .bio {
  display: block;
}

/* Our Values Section */
.our-values ul {
  list-style: none;
  text-align: center;
}

.our-values li {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Blog Section */
.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-post {
  background-color: #F0F0F0;
  padding: 20px;
  border-radius: 10px;
}

.blog-post h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  margin-bottom: 10px;
}

.blog-post .date {
  font-size: 14px;
  color: #666666;
  margin-bottom: 15px;
}

.blog-post p {
  font-size: 16px;
  line-height: 1.5;
}

.blog-post .full-content {
  display: none; /* Moved from inline style */
}

.read-more, .read-less {
  color: #336699;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover, .read-less:hover {
  text-decoration: underline;
}

/* Footer styles */
footer {
  background-color: #193a65;
  color: #FFFFFF;
  padding: 20px;
  text-align: center;
}

footer p {
  margin-bottom: 10px;
}

.social-links {
  list-style: none;
  display: flex;
  justify-content: center;
}

.social-links li {
  margin: 0 10px;
}

.social-links a {
  color: #FFFFFF;
  font-size: 24px;
}

/* Responsive design */
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .banner-text h1 {
    font-size: 32px;
  }

  .banner-text p {
    font-size: 16px;
  }
}