/* ===================================== */
/* RESET AND BASE STYLES */
/* ===================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #fff;
  color: #333;
}

/* ===================================== */
/* CONTAINER */
/* ===================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===================================== */
/* SOCIAL TOP-RIGHT FLOATING ICONS */
/* ===================================== */
.social-top-right {
  position: fixed;
  top: 15px;
  right: 15px;
  display: flex;
  gap: 12px;
  z-index: 2000;
}

.social-top-right a {
  text-decoration: none;
  color: #2e7d32;
  font-size: 1.2rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-top-right a:hover {
  color: #1b4d23;
  transform: scale(1.2);
}

/* ===================================== */
/* HEADER */
/* ===================================== */
.header {
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.4s ease, background-color 0.3s ease;
  padding: 20px 0;
}

.header.hide {
  transform: translateY(-100%);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 80px;
  width: auto;
}

.logo span {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2e7d32;
}

/* NAVIGATION */
/* NAV/HAMBURGER STYLES MOVED TO common.css - per-page rules disabled */

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 150px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 4px;
  padding: 2px 0;
  z-index: 999;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  padding: 6px 12px !important;
  font-size: 0.9rem;
  white-space: nowrap;
  display: block;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(46, 125, 50, 0.1);
  padding-left: 16px !important;
}

/* NAV/HAMBURGER rules moved to common.css */

/* ===================================== */
/* HERO SECTION */
/* ===================================== */
.hero {
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.hero-text {
  position: relative;
  z-index: 100;
  text-align: center;
  color: #ffffff;
  max-width: 700px;
  padding: 20px;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: #2e7d32;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #1b4d23;
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  border: 2px solid #2e7d32;
  color: #2e7d32;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #2e7d32;
  color: white;
}

/* ===================================== */
/* PROJECTS GRID */
/* ===================================== */
.projects {
  padding: 120px 0 60px;
}

.projects h1 {
  color: #2e7d32;
  font-size: 2rem;
  margin-bottom: 24px;
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.project-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.project-card .card-body {
  padding: 16px;
  flex: 1 1 auto;
}

.project-card h3 {
  margin-bottom: 8px;
  color: #2e7d32;
}

.project-card p {
  color: #555;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* ===================================== */
/* PARTNERS GRID */
/* ===================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.partner-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-bottom: 10px;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.partner-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #f7f7f7;
  padding: 20px;
}

.partner-body {
  padding: 20px;
}

.partner-body h3 {
  color: #222;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.partner-body p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

/* ===================================== */
/* PROJECT LISTS (ONGOING / COMPLETED / UPCOMING) */
/* ===================================== */
.project-lists {
  margin-top: 40px;
}

.project-list {
  margin-bottom: 32px;
}

.project-list h2 {
  color: #2e7d32;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.project-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.project-list .project-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 14px;
}

.project-list .project-item p {
  margin: 8px 0 0;
  color: #555;
  font-size: 0.95rem;
}

/* ================= FOOTER ================= */
.big-footer {
  background: linear-gradient(135deg, #0a0f24 0%, #1a1f35 100%);
  color: #fff;
  padding: 60px 0 20px;
}

/* TOP BORDER LINE */
.big-footer::before {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2e7d32, transparent);
  margin-bottom: 30px;
}

/* GRID LAYOUT */
.footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

/* COLUMN */
.footer-col h3 {
  color: #4cc9f0;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col p,
.footer-col ul li {
  color: #ddd;
  font-size: 14px;
  line-height: 1.6;
}

/* LINKS */
.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #4cc9f0;
  padding-left: 5px;
}

/* SOCIAL ICONS */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: #2e7d32;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: 0.3s ease;
}

.footer-social a:hover {
  background: #1b4d23;
  transform: translateY(-3px);
}

/* BOTTOM */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}


/* ===================================== */
/* RESPONSIVE MEDIA QUERIES */
/* ===================================== */
@media (max-width: 1024px) {
  .navbar ul { gap: 20px; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* mobile navbar behavior moved to common.css; page keeps layout adjustments below */

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .logo img {
    height: 60px;
  }

  .logo span {
    font-size: 1.2rem;
  }

  .project-grid { grid-template-columns: 1fr; }
  .projects { padding-top: 100px; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 1.8rem; }
  .hero-text p { font-size: 0.95rem; }
}

@media (max-width: 420px) {
  html { -webkit-text-size-adjust: 100%; }
  .container { width: 95%; }
  .logo img { height: 50px; }
  .logo span { font-size: 0.95rem; }
  .navbar ul li a { font-size: 13px; padding: 8px 6px; }
  .projects h1 { font-size: 1.4rem; margin-bottom: 18px; }
  .project-grid { gap: 20px; }
  .project-card { padding: 14px; }
  .project-card img { height: 140px; }
  .projects { padding-top: 80px; }
}

@media (max-width: 390px) {
  .logo img { height: 45px; }
  .logo span { font-size: 1rem; }
  .logo { gap: 8px; }
}

@media (max-width: 360px) {
  .logo span { font-size: 0.9rem; }
  .navbar ul li a { font-size: 12px; }
  .projects h1 { font-size: 1.2rem; }
  .project-card { padding: 12px; }
  .project-card img { height: 120px; }
}

