/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: #333;
}

.trust-header {
  background-color: #0071bc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  color: white;
  flex-wrap: wrap;
}

.trust-logo-container {
  flex: 0 0 auto;
}

.trust-name-container {
  flex: 1;
  text-align: left;
  padding-left: 20px;
}

.trust-name-container h1 {
  font-size: 2rem;
  margin: 0;
}

/* Logo size */
.trust-logo {
  height: 100px;
  width: auto;
}
/* Navigation Bar */
header {
  background-color: #f26522; /* Orange */
}

.nav-bar {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.nav-links a:hover {
  color: #ffd699;
}
/* Hero Section with Background Slider */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay for readability */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.5rem;
}


/* Sections */
.section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.section h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 20px;
}

.section p {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  background-color: #003366;
  color: #fff;
  padding: 10px;
  border: none;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #003366;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #003366;
  color: white;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1100px;
  margin: auto;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #ccc;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
  border-color: orange;
}
/* About Section */
.about-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1 1 55%;
  text-align: justify;
  color: #333;
}

.about-text h2 {
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.7;
}

/* Gallery Section Headings */
.gallery-section {
  padding: 40px 20px;
  background-color: #f9f9f9;
}

.gallery-section h2 {
  text-align: center;
  color: #003366;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .trust-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .trust-name-container h1 {
    font-size: 1.8rem;
  }

  .trust-logo {
    height: 100px;
  }
}
