/* Base Styles */
:root {
  --primary-color: #4CAF50;
  --secondary-color: #1b3526;
  --accent-color: #f2e5c5;
  --text-dark: #333;
  --text-light: #f8f8f8;
  --background-light: #fcfbf5;
  --border-radius: 20px;
  --box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.page-container {
  display: flex;
  flex-direction: column;
  background-color: var(--accent-color);
}

/* Header Styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: var(--accent-color);
}

.logo-and-name {
  display: flex;
  align-items: center;
}

.logo-container {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-name {
  padding-left: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--secondary-color);
}

.main-navigation .menu-items {
  display: flex;
  list-style: none;
}

.menu-item {
  padding: 10px 15px;
  font-size: 1.1rem;
  font-weight: 600;
}

.menu-item a {
  text-decoration: none;
  color: var(--secondary-color);
  transition: color 0.3s;
}

.menu-item a:hover, .menu-item.active a {
  color: var(--primary-color);
}

.search-icon-image {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.search-icon-image:hover {
  background-color:white;
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
  color:white;
}

/* Hero Section Styles */
.hero-section {
  width: 100%;
  position: relative;
  margin-top: -80px; /* Pulls the hero up under the header */
  background-color: var(--accent-color);
  margin-top:30px;
}

.hero-image {
  width: 97%;
  height: 100vh;
  max-height: 550px;
  background-image: url("image-for-media.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  left: 30px;
}
.hero-content {
  position: relative;
  left:0;
  z-index: 0;
  max-width: 1200px;
  margin-left:50px;
  color: white;
  width: 100%;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 2rem;
  margin-bottom: 2rem;
  max-width: 70%;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ===== Latest Stories Section ===== */
.stories-section {
  padding: 5rem 2rem;
  background-color: white;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.story-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.story-image-container {
  height: 200px;
  overflow: hidden;
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.story-card:hover .story-image {
  transform: scale(1.05);
}

.story-content {
  padding: 1.5rem;
}

.story-meta {
  margin-bottom: 0.8rem;
}

.story-date {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.story-title {
  font-size: 1.4rem;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.story-excerpt {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2a7f2c;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.story-link:hover {
  color: #1f6b21;
  gap: 0.7rem;
}

.story-link i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.story-link:hover i {
  transform: translateX(3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .stories-section {
      padding: 3rem 1.5rem;
  }
  
  .stories-grid {
      grid-template-columns: 1fr;
      gap: 2.5rem;
  }
  
  .story-image-container {
      height: 180px;
  }
}

@media (max-width: 480px) {
  .story-title {
      font-size: 1.3rem;
  }
  
  .story-image-container {
      height: 160px;
  }
}
/* Footer Styles */
.footer {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 50px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
}

.footer-column {
  flex: 1 1 300px;
  margin: 20px;
  min-width: 250px;
}
.footer-column-1 {
  flex: 1 1 300px;
  margin-left:0;
  margin-bottom:10px;
  min-width: 250px;
  font-weight:bold;
}

.footer-logo {
  width: 120px;
  height:120px;
  margin-bottom:0;
  border-radius: 70px;

}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--text-light);
}

.footer-description, .footer-column p, .footer-column a {
  font-size: 1rem;
  color: #d0d0d0;
  line-height: 1.6;
  text-decoration: none;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.social-icons {
  margin-top: 15px;
}

.social-icons a {
  color: white;
  margin-right: 15px;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #2f4f4f;
  margin-top: 30px;
  font-size: 0.9rem;
  color: #cccccc;
}

/* Gallery Section Styles */
.gallery-section {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.gallery-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #2c3e50;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 1rem;
  font-size: 1.1rem;
  color: #333;
  margin: 0;
}
.gallery-button {
  padding: 12px 30px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.gallery-button:hover {
  background-color: #45a049;
}
/* Maintenance Banner Styles */
.maintenance-banner {
    position: fixed;
    left: 0;
    right: 0;
    background-color: #ff9800;
    color: black;
    padding: 3px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 9999;
    overflow: hidden;
}

.top-banner {
    top: 0;
}

.bottom-banner {
    bottom: 0;
}

.banner-content {
    display: inline-block;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Adjust body padding if you have a fixed header */
body {
    padding-top: 40px; /* Adjust this value based on your header height */
    padding-bottom: 40px; /* Space for bottom banner */
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px; /* Above the bottom banner */
    right: 30px;
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 999;
    display: none;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background: #3e8e41;
    transform: translateY(-3px);
}

/* Adjust body padding if you have a fixed header */
body {
    padding-top: 40px; /* Adjust this value based on your header height */
    padding-bottom: 30px; /* Space for bottom banner */
}
/* Logo Link Styles */
.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

/* If you want the company name to be clickable too: */
.logo-and-name {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-and-name a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}