/*
Theme Name: Avina Tech
Theme URI: 
Author: Your Name
Author URI: 
Description: Custom theme for Avina Tech
Version: 1.0
*/
/* Cross-browser compatibility */
img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.nav-links a {
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
}

.hamburger {
  min-height: 44px;
  min-width: 44px;
}

.hero-arrow {
  min-height: 44px;
  min-width: 44px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: 2px solid #fff;
  padding: 8px;
}
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

img {
  -ms-interpolation-mode: bicubic;
}

a {
  -webkit-tap-highlight-color: transparent;
}

input,
textarea,
button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #2e7d32;
  padding: 15px 40px;
}

.nav-logo {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  
}

.nav-links a:hover {
  color: #b3e5fc;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #1b5e20;
  min-width: 220px;
  list-style: none;
  padding: 10px 0;
  z-index: 10;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu a {
  font-size: 14px;
  color: #fff;
}

.dropdown-menu a:hover {
  color: #b3e5fc;
}
.hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background-image: url('images/damhero2.jpg');
  background-size: cover;
  background-position: center;
}

.hero-slide {
  display: none;
  width: 100%;
  height: 100%;
  
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide.active {
  display: block;
}

.services {
  padding: 50px 40px;
  text-align: center;
}

.services h2 {
  margin-bottom: 30px;
  font-size: 28px;
  color: #0288d1;
}

.service-block {
  display: inline-block;
  vertical-align: top;
  width: 280px;
  margin: 15px;
  text-align: left;
  padding: 20px;
  border-radius: 6px;
  background-image: url('https://via.placeholder.com/280x200?text=Service');
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 200px;
  overflow: hidden;
}

.service-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.55);
}

.service-block h3,
.service-block ul,
.service-block li {
  position: relative;
  z-index: 1;
  color: #fff;
}

.service-block h3 a {
  color: #fff;
  text-decoration: none;
}

.service-block h3 a:hover {
  color: #b3e5fc;
}

.service-block li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.service-block li a:hover {
  color: #b3e5fc;
}

.footer {
  background-color: #2e7d32;
  color: #fff;
  padding: 40px 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-col {
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: #b3e5fc;
  margin-bottom: 15px;
}

.footer-col p {
  margin-bottom: 8px;
  font-size: 14px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: #b3e5fc;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  border-top: 1px solid #1b5e20;
  padding-top: 15px;
  margin-top: 10px;
  font-size: 13px;
  color: #ffffff;
}

.page-content {
  padding: 60px 40px;
  min-height: 400px;
}

.page-content h1 {
  margin-bottom: 20px;
  color: #2e7d32;
}

.page-content p {
  margin-bottom: 10px;
  color: #555;
}

.service-page-wrapper {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.service-sidebar {
  width: 250px;
  min-width: 250px;
  background-color: #e8f5e9;
  padding: 20px;
  margin-right: 40px;
  border-radius: 6px;
  border-right: 3px solid #2e7d32;
}

.service-sidebar h3 {
  color: #2e7d32;
  margin-bottom: 15px;
  font-size: 16px;
  border-bottom: 2px solid #0288d1;
  padding-bottom: 8px;
}

.service-sidebar ul {
  list-style: none;
}

.service-sidebar li {
  margin-bottom: 10px;
}

.service-sidebar a {
  color: #0288d1;
  text-decoration: none;
  font-size: 14px;
}

.service-sidebar a:hover {
  color: #2e7d32;
}

.service-page {
  flex: 1;
  min-height: 400px;
}

.service-page h1 {
  margin-bottom: 20px;
  color: #2e7d32;
  font-size: 32px;
}

.service-page p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.8;
}

.service-list {
  margin: 15px 0 20px 20px;
  color: #555;
  line-height: 2;
}

.service-intro {
  background: #e3f2fd;
  border-left: 4px solid #0288d1;
  padding: 20px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
}

.service-detail {
  margin-bottom: 60px;
}

.service-detail-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.service-detail.reverse .service-detail-inner {
  flex-direction: row-reverse;
}

.service-detail-img {
  flex: 1;
}

.service-detail-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.service-detail-text {
  flex: 1;
}

.service-detail-text h2 {
  color: #2e7d32;
  font-size: 22px;
  margin-bottom: 15px;
  border-left: 4px solid #0288d1;
  padding-left: 12px;
}

.service-detail-text p {
  color: #555;
  line-height: 1.8;
  font-size: 15px;
}

.about-hero {
  background-color: #2e7d32;
  color: #fff;
  text-align: center;
  padding: 20px 40px;
  border-top: 5px solid #0288d1;
}


.about-hero h1 {
  font-size: 38px;
  margin-bottom: 15px;
}

.about-hero p {
  font-size: 18px;
  color: #ffffff;
  font-style: italic;
}

.about-vm-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 40px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
}

.vm-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px 30px;
  width: 380px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  border-top: 4px solid #2e7d32;
}

.vm-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.vm-card h2 {
  color: #2e7d32;
  margin-bottom: 15px;
  font-size: 22px;
}

.vm-card p {
  color: #555;
  line-height: 1.8;
}

.about-values-section {
  padding: 60px 40px;
  text-align: center;
}

.about-values-section h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #2e7d32;
}

.values-cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.value-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px 25px;
  width: 280px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  border-bottom: 4px solid #2e7d32;
}

.value-icon {
  font-size: 36px;
  margin-bottom: 15px;
}

.value-card h3 {
  color: #2e7d32;
  margin-bottom: 10px;
}

.value-card p {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
}

.about-motto {
  background-color: #0288d1;
  color: #fff;
  text-align: center;
  padding: 50px 40px;
}

.about-motto p {
  font-size: 28px;
  font-style: italic;
  font-weight: bold;
}

.about-background {
  padding: 60px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.about-background h2 {
  font-size: 28px;
  margin-bottom: 40px;
  color: #2e7d32;
  text-align: center;
}

.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 3px solid #2e7d32;
}

.timeline-item {
  margin-bottom: 40px;
  position: relative;
}

.timeline-year {
  position: absolute;
  left: -75px;
  background-color: #0288d1;
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
}

.timeline-content {
  background: #f9f9f9;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.timeline-content h3 {
  color: #2e7d32;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #555;
  line-height: 1.8;
}

.contact-hero {
  background-color: #0288d1;
  color: #fff;
  text-align: center;
  padding: 40px 40px;
}

.contact-hero h1 {
  font-size: 38px;
  margin-bottom: 15px;
}

.contact-hero p {
  font-size: 18px;
  color: #e1f5fe;
  font-style: italic;
}

.contact-wrapper {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 40px;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 280px;
}

.contact-info h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #2e7d32;
  border-bottom: 2px solid #0288d1;
  padding-bottom: 10px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 24px;
  margin-top: 3px;
  color: #0288d1;
}

.contact-item h3 {
  font-size: 15px;
  color: #2e7d32;
  margin-bottom: 4px;
}

.contact-item p {
  color: #555;
  font-size: 14px;
}
.contact-item a {
  color: #555;
  
}
.contact-item a:hover{
  color: #0288d1;
}

.contact-social {
  margin-top: 30px;
}

.contact-social h3 {
  margin-bottom: 12px;
  color: #2e7d32;
}

.contact-social a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  background-color: #0288d1;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
}

.contact-social a:hover {
  background-color: #2e7d32;
}

.contact-form {
  flex: 1;
  min-width: 280px;
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #2e7d32;
  border-bottom: 2px solid #0288d1;
  padding-bottom: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #2e7d32;
  font-size: 14px;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #0288d1;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2e7d32;
}

.contact-btn {
  background-color: #2e7d32;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}

.contact-btn:hover {
  background-color: #0288d1;
}

.page-hero {
  background-color: #0288d1;
  color: #fff;
  text-align: center;
  padding: 40px 40px;
}

.page-hero h1 {
  font-size: 38px;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 18px;
  color: #e1f5fe;
  font-style: italic;
}

.projects-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

.project-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 80px;
}

.project-row.reverse {
  flex-direction: row-reverse;
}

.project-image {
  flex: 1;
}

.project-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.project-text {
  flex: 1;
}

.project-tag {
  background-color: #0288d1;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 15px;
}

.project-text h2 {
  font-size: 26px;
  color: #2e7d32;
  margin-bottom: 15px;
}

.project-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.project-meta {
  list-style: none;
  border-top: 1px solid #e0e0e0;
  padding-top: 15px;
}

.project-meta li {
  color: #555;
  font-size: 14px;
  margin-bottom: 8px;
}

.project-meta strong {
  color: #2e7d32;
}

.organogram-wrapper {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 40px;
  text-align: center;
}

.org-level {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.org-card {
  background: #fff;
  border: 0.5px solid #c8e6c9;
  border-radius: 8px;
  padding: 8px 15px;
  width: 220px;
  border-top: 3px solid #2e7d32;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.org-card.top {
  border-top-color: #0288d1;
  width: 260px;
}

.org-card.small {
  width: 160px;
  padding: 8px 10px;
}

.org-card h3 {
  font-size: 13px;
  color: #2e7d32;
  margin-bottom: 6px;
}

.org-card p {
  font-size: 12px;
  color: #555;
}

.org-connector {
  width: 2px;
  height: 30px;
  background-color: #0288d1;
  margin: 0 auto 10px;
}

.about-wrapper {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.about-sidebar {
  width: 250px;
  min-width: 250px;
  background-color: #e8f5e9;
  padding: 20px;
  margin-right: 40px;
  border-radius: 6px;
}

.about-sidebar h3 {
  color: #2e7d32;
  margin-bottom: 15px;
  font-size: 16px;
  border-bottom: 2px solid #0288d1;
  padding-bottom: 8px;
}

.about-sidebar ul {
  list-style: none;
}

.about-sidebar li {
  margin-bottom: 10px;
}

.about-sidebar a {
  color: #0288d1;
  text-decoration: none;
  font-size: 14px;
}

.about-sidebar a:hover {
  color: #2e7d32;
}

.about-page {
  flex: 1;
}

.about-tagline {
  font-size: 18px;
  color: #0288d1;
  margin-bottom: 30px;
  font-style: italic;
}

.about-detail {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.about-detail h2 {
  color: #2e7d32;
  margin-bottom: 15px;
  font-size: 22px;
}

.about-detail p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 10px;
}

.about-list {
  margin: 10px 0 10px 20px;
  color: #555;
  line-height: 2;
}
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  background: rgba(0,0,0,0.10);
  padding: 30px 40px;
  border-radius: 8px;
  width: 80%;
}

.hero-overlay h1 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 10px;
}

.hero-overlay p {
  color: #ffffff;
  font-size: 18px;
  font-style: italic;
  margin-bottom: 20px;
}

.hero-btn {
  background-color: #2e7d32;
  color: #fff;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  border: 2px solid #0288d1;
}

.hero-btn:hover {
  background-color: #0288d1;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
  border-radius: 4px;
}

.hero-arrow:hover {
  background: #0288d1;
}

.hero-arrow.left {
  left: 15px;
}

.hero-arrow.right {
  right: 15px;
}

.hero-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  border: 2px solid #fff;
}

.dot.active {
  background: #0288d1;
  border-color: #0288d1;
}
@media (max-width: 768px) {

  .navbar {
    flex-direction: column;
    padding: 15px 20px;
    gap: 10px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .nav-links a {
    font-size: 12px;
    padding: 4px 8px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
  }

  .hero {
    height: 250px;
  }

  .hero-overlay h1 {
    font-size: 20px;
  }

  .hero-overlay p {
    font-size: 13px;
  }

  .hero-overlay {
    width: 90%;
    padding: 15px 20px;
  }

  .services {
    padding: 30px 15px;
  }

  .service-block {
    width: 100%;
    margin: 10px 0;
  }

  .service-page-wrapper {
    flex-direction: column;
    padding: 20px 15px;
  }

  .service-sidebar {
    width: 100%;
    min-width: unset;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .service-detail-inner {
    flex-direction: column;
  }

  .service-detail.reverse .service-detail-inner {
    flex-direction: column;
  }

  .service-detail-img img {
    height: 200px;
  }

  .about-vm-section {
    padding: 30px 15px;
  }

  .vm-card {
    width: 100%;
  }

  .values-cards {
    flex-direction: column;
    align-items: center;
  }

  .value-card {
    width: 100%;
  }

  .about-hero h1 {
    font-size: 24px;
  }

  .contact-wrapper {
    flex-direction: column;
    padding: 20px 15px;
    margin: 30px auto;
  }

  .project-row {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
  }

  .project-row.reverse {
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
    padding: 30px 20px;
  }

  .org-level {
    flex-direction: column;
    align-items: center;
  }

  .org-card {
    width: 100%;
  }

  .page-hero h1 {
    font-size: 24px;
  }

  .timeline-year {
    position: static;
    display: inline-block;
    margin-bottom: 8px;
  }

  .timeline {
    padding-left: 20px;
  }

}
.hamburger {
  display: none;
  background: none;
  border: 2px solid #fff;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #1b5e20;
  }

  .nav-links a {
    display: block;
    padding: 12px;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    background-color: #1b5e20;
  }
}
/* Blog Post Styles */
.blog-post {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 40px 60px;
}

.blog-post-header {
  margin-bottom: 40px;
}

.blog-post-header h1 {
  font-size: 34px;
  color: #1c1c1c;
  line-height: 1.4;
  margin-bottom: 15px;
}

.blog-post-header img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 20px;
}

.blog-post-content h2 {
  font-size: 24px;
  color: #2e7d32;
  margin: 35px 0 15px;
  border-left: 4px solid #0288d1;
  padding-left: 12px;
}

.blog-post-content h3 {
  font-size: 18px;
  color: #0288d1;
  margin: 25px 0 10px;
}

.blog-post-content p {
  color: #444;
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 16px;
}

.blog-list {
  margin: 15px 0 20px 25px;
  color: #444;
  line-height: 2;
}

.blog-list li {
  margin-bottom: 8px;
}

.blog-list a {
  color: #0288d1;
  text-decoration: none;
}

.blog-list a:hover {
  color: #2e7d32;
}

.blog-cta {
  background: linear-gradient(135deg, #2e7d32, #0288d1);
  color: #fff;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin: 40px 0;
}

.blog-cta h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}

.blog-cta p {
  color: #e1f5fe;
  margin-bottom: 20px;
}

.blog-related-services {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
  border-left: 4px solid #2e7d32;
}

.blog-related-services h3 {
  color: #2e7d32;
  margin-bottom: 15px;
}

.blog-share {
  margin: 30px 0;
}

.blog-share h3 {
  color: #1c1c1c;
  margin-bottom: 15px;
  font-size: 16px;
}

.share-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 4px;
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  margin-right: 8px;
  margin-bottom: 8px;
  font-weight: bold;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }

.share-btn:hover {
  opacity: 0.85;
}

.blog-back {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.blog-back a {
  color: #2e7d32;
  text-decoration: none;
  font-weight: bold;
}

.blog-back a:hover {
  color: #0288d1;
}

@media (max-width: 768px) {
  .blog-post {
    padding: 20px 15px 40px;
  }

  .blog-post-header h1 {
    font-size: 24px;
  }

  .blog-post-header img {
    height: 220px;
  }

  .blog-post-content h2 {
    font-size: 20px;
  }
}
/* Blog Styles */
.blog-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 40px;
  background: #f9f9f9;
}

.filter-btn {
  background: #fff;
  border: 2px solid #2e7d32;
  color: #2e7d32;
  padding: 8px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: #2e7d32;
  color: #fff;
}

.blog-featured {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 40px;
}

.featured-img {
  flex: 1;
}

.featured-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.featured-text {
  flex: 1;
}

.featured-text h2 {
  font-size: 26px;
  color: #1c1c1c;
  margin-bottom: 15px;
  line-height: 1.4;
}

.featured-text h2 a {
  color: #1c1c1c;
  text-decoration: none;
}

.featured-text h2 a:hover {
  color: #2e7d32;
}

.featured-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-meta {
  display: flex;
  gap: 8px;
  color: #888;
  font-size: 13px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.blog-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #fff;
}

.blog-tag.water { background: #0288d1; }
.blog-tag.gis { background: #2e7d32; }
.blog-tag.energy { background: #f57c00; }
.blog-tag.eia { background: #6a1b9a; }
.blog-tag.irrigation { background: #00838f; }

.blog-read-more {
  color: #2e7d32;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  border-bottom: 2px solid #0288d1;
  padding-bottom: 2px;
}

.blog-read-more:hover {
  color: #0288d1;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 60px;
  padding: 0 40px;
  justify-content: center;
}

.blog-card {
  width: 340px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body h3 {
  font-size: 16px;
  color: #1c1c1c;
  margin-bottom: 10px;
  line-height: 1.5;
}

.blog-card-body h3 a {
  color: #1c1c1c;
  text-decoration: none;
}

.blog-card-body h3 a:hover {
  color: #2e7d32;
}

.blog-card-body p {
  color: #555;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .blog-featured {
    flex-direction: column;
    padding: 20px 15px;
    margin: 30px auto;
  }

  .featured-img img {
    height: 220px;
  }

  .blog-grid {
    padding: 0 15px;
  }

  .blog-card {
    width: 100%;
  }

  .blog-filter {
    padding: 20px 15px;
  }
}
/* Home Blog Section */
.home-blog {
  padding: 60px 40px;
  background: #f9f9f9;
  text-align: center;
}

.home-blog h2 {
  font-size: 28px;
  color: #2e7d32;
  margin-bottom: 10px;
}

.home-blog-subtitle {
  color: #555;
  font-size: 16px;
  margin-bottom: 40px;
}

.home-blog-slider {
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

.home-blog-track {
  display: flex;
  gap: 25px;
  transition: transform 0.5s ease;
}

.home-blog-card {
  min-width: 340px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  background: #fff;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.home-blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.home-blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.home-blog-card-body {
  padding: 20px;
}

.home-blog-card-body h3 {
  font-size: 15px;
  color: #1c1c1c;
  margin: 10px 0;
  line-height: 1.5;
}

.home-blog-card-body h3 a {
  color: #1c1c1c;
  text-decoration: none;
}

.home-blog-card-body h3 a:hover {
  color: #2e7d32;
}

.home-blog-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.blog-arrow-btn {
  background: #2e7d32;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 18px;
  cursor: pointer;
}

.blog-arrow-btn:hover {
  background: #0288d1;
}

@media (max-width: 768px) {
  .home-blog {
    padding: 40px 15px;
  }
  .home-blog-card {
    min-width: 280px;
  }
}
.home-blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.blog-post-header img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 20px;
}

.blog-post-content img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin: 20px 0;
}
/* Contact Form 7 - styled to match .form-group look */
.contact-form .wpcf7-form p {
  margin-bottom: 20px;
}

.contact-form .wpcf7-form label {
  display: block;
  margin-bottom: 6px;
  color: #2e7d32;
  font-size: 14px;
  font-weight: bold;
}

.contact-form .wpcf7-form input[type="text"],
.contact-form .wpcf7-form input[type="email"],
.contact-form .wpcf7-form input[type="tel"],
.contact-form .wpcf7-form textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #0288d1;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  outline: none;
}

.contact-form .wpcf7-form input:focus,
.contact-form .wpcf7-form textarea:focus {
  border-color: #2e7d32;
}

.contact-form .wpcf7-form input[type="submit"] {
  background-color: #2e7d32;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
}

.contact-form .wpcf7-form input[type="submit"]:hover {
  background-color: #0288d1;
}

.wpcf7-not-valid-tip {
  color: #d32f2f;
  font-size: 13px;
  margin-top: 4px;
  display: block;
}

.wpcf7-response-output {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.project-description p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 15px;
}

.project-description h2,
.project-description h3 {
  color: #2e7d32;
  margin: 20px 0 10px;
}

.project-description ul,
.project-description ol {
  margin: 10px 0 15px 25px;
  color: #555;
  line-height: 1.9;
}

.project-description img {
  border-radius: 8px;
  margin: 15px 0;
}

.project-description a {
  color: #0288d1;
  text-decoration: none;
}

.project-description a:hover {
  color: #2e7d32;
}