/* ===============================
   Global Styles
=============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
}

/* ===============================
   Header
=============================== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.logo {
  display: flex;
  align-items: center;
  gap: 3px;
}

.logo-symbol {
  height: 80px;
  width: auto;
  display: block;
}

.logo-text {
  height: 70px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
}

nav ul li a {
  text-decoration: none;
  color:#333;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #2ba24c;
}

/* ===============================
   Hero Section
=============================== */
.hero{
  position: relative;
}

.hero-img{
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-overlay{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.hero-overlay h2{
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); 
}

.search-bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-radius: 30px;
  padding: 5px 10px;
  max-width: 400px;
  margin: 0 auto;
}

.search-bar input{
  flex: 1;
  border: none;
  outline: none;
  padding: 10px;
  font-size: 1rem;
  border-radius: 30px;
}

.search-bar button {
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar button img{
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.search-bar button:hover{
  background-color: #26a65b;
}

.search-bar button{
  transition: background-color 0.3s ease;
}

.search-bar{
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===============================
   Categories Section
=============================== */

.categories {
  display: grid;
  grid-template-columns: repeat(3, 230px);
  justify-content: center;
  gap:10px;
  padding: 20px;
  }

.categories a {
  text-decoration: none;
  color: inherit;
}

.category-tile {
  position: relative;
  height: 250px;
  width: 230px;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.category-tile:hover {
  transform: scale(1.03);
}

.category-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  opacity: 0.5;
}

.category-tile h3 {
  position: relative;
  z-index: 2;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  padding: 20px;
  margin:0;
  height: 100%;
  display:flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.category-tile::before {
  content:"";
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height:100%;
  background: rgba(0,0,0,0.4);
  z-index:1;
}

/* ===============================
   Director Message
=============================== */
.director-message {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  background-color: #f1f1f1;
  padding: 40px 20px;
}

.director-photo {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #26a65b;
}

.message-text {
  max-width: 600px;
  font-size: 16px;
  color: #333;
}

.message-text p:last-child {
  margin-top: 10px;
  font-weight: bold;
  color: #26a65b;
}

/* ===============================
   Footer
=============================== */
footer {
background: linear-gradient(135deg, #27ae60, #229954);
color: white;
text-align: center;
padding: 20px 0;
margin-top: 40px;
}

.footer-icons {
margin-top: 15px;
display: flex;
justify-content: center;
align-items: center;
gap: 50px;
flex-wrap: wrap;
}

.footer-icons a {
color: white;
text-decoration: none !important;
display: inline-flex;
align-items: center;
gap: 4px;
transition: opacity 0.3s ease;
vertical-align: middle;
}

.footer-icons a:hover {
opacity: 0.8;
text-decoration: none !important;
}

.footer-icons img {
width: 24px;
height: 24px;
display: inline-block;
vertical-align: middle;
background-color: white;
border-radius: 4px;
padding: 2px;
}

.footer-icons span {
font-size: 14px;
font-weight: 500;
}