/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', Times, serif;
}

body {
  background-color: black;
  color: white;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar Styles */
nav {
  background-color: transparent;
  padding: 0.5rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.4);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #434343;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: url("./Img/f2.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  background-color: #434343;
  color: white;
  padding: 0.8rem 1.8rem;
  border: 1px solid white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #6a6a68;
  cursor: pointer;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: white;
}

/* About Section */
.about-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.about-img {
  flex: 1;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-img img {
  width: 80%;
  height: 550px;
  display: block;
  padding: 50px;
  margin-left: 70px;
  border-radius: 70px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
}
.about-text p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Contact Section */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #434343;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

/* Breeding & Fish Keeping Sections */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.info-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  color: black;
  margin-bottom: 1rem;
}
.info-card p {
  color: #555;
  line-height: 1.6;
}
/* Diseases Section */
.disease-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.disease-item {
  background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent black background */
  border: 2px solid #64ffda; /* Green border */
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px); /* Optional: adds blur effect to background */
  margin-bottom: 0; /* Remove margin-bottom for grid layout */
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.disease-item h3 {
  color: #64ffda; /* Green text for headings */
  margin-bottom: 0.5rem;
}

.disease-item p {
  color: #ffffff; /* White text for better readability */
}

/* Responsive for smaller screens */
@media (max-width: 992px) {
  .disease-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .disease-list {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background-color: #434343;
  color: white;
  text-align: center;
  padding: 1rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #aad8ff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content {
    flex-direction: column;
  }
}

/* Image Card Styles */
.image-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(2, 12, 27, 0.5);
  transition: transform 0.3s ease;
  height:300px;
}

.image-card:hover {
  transform: translateY(-10px);
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.image-container img {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.image-card:hover .image-container img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 47, 0.9);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-card:hover .image-overlay {
  opacity: 1;
}

.image-overlay h3 {
  color: #64ffda;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.image-overlay p {
  color: #ccd6f6;
  text-align: center;
  line-height: 1.6;
}

/* Adjust grid for image cards */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

/* Show More Functionality */
.hidden {
  display: none;
}

.visible {
  display: block;
}

.show-more-container {
  text-align: center;
  margin-top: 30px;
}

#showMoreBtn {
  background-color: #434343;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 5px;
}

#showMoreBtn:hover {
  background-color: #6a6a68;
}

/* Contact Section Styles */
#contact {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
              url('./Img/fish-bg.jpg') center/cover no-repeat;
  color: white;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: #64ffda;
}

.contact-container {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-methods {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: rgba(67, 67, 67, 0.7);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #64ffda;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(100, 255, 218, 0.2);
}

.contact-icon {
  font-size: 2.5rem;
  color: #64ffda;
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
  color: white;
}

.contact-card a {
  color: white;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  transition: color 0.3s;
}

.contact-card a:hover {
  color: #64ffda;
}

.contact-card p {
  font-size: 0.9rem;
  color: #ccc;
}

.contact-form-container {
  flex: 1;
  background: rgba(67, 67, 67, 0.7);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 10px;
  border: 1px solid #64ffda;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border: 1px solid #444;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: #434343;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
}

.location-section {
  margin-top: 3rem;
  text-align: center;
}

.location-section h3 {
  margin-bottom: 1rem;
  color: white;
}

.map-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
}

.address {
  font-size: 1.1rem;
  color: #64ffda;
}

.address i {
  margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
  
  .contact-methods {
    grid-template-columns: 1fr;
  }
}