/* ========================
   General Container
======================== */
.container {
  max-width: 950px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
  color: #333;
}

/* ========================
   Header
======================== */
header {
  text-align: center;
  padding-bottom: 0; /* container handles spacing */
}

header .container {
  max-width: 950px;
  margin: 0 auto;
  border-bottom: 2px solid #4CAF50; /* green line */
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-logo {
  width: 100%;        /* fill container width */
  max-width: 950px;
  height: 200px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.02);
}

header h1 {
  margin: 0 0 10px 0;
  font-size: 2.5rem;
  color: #4CAF50;
}

/* Navigation */
nav {
  margin-top: 0;
}

nav a {
  text-decoration: none;
  margin: 0 15px;
  color: #333;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav a:hover {
  background-color: #4CAF50;
  color: white;
}

/* ========================
   Hero Section
======================== */
.hero {
  text-align: center;
  margin: 30px 0;
}

.hero h2 {
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  color: #555;
}

/* ========================
   Articles
======================== */
.articles h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* ========================
   Card Styles
======================== */
.card {
  display: flex;
  flex-direction: row;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  margin: 20px 0;
  overflow: hidden;
}

.card-text {
  flex: 2;
  padding: 20px;
}

.card-text h3 {
  margin-top: 0;
  color: #4CAF50;
}

.card-text p {
  color: #555;
  line-height: 1.5;
}

.card-image {
  flex: 1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-text button {
  display: block;
  margin-top: 15px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  float: right;
}

.card-text button:hover {
  background: linear-gradient(135deg, #45a049, #5ca75c);
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.25);
}

/* ========================
   Footer
======================== */
footer {
  text-align: center;
  margin-top: 40px;
  padding: 15px 0;
  border-top: 2px solid #4CAF50;
  font-size: 0.9rem;
  color: #555;
}

/* ========================
   About / Project Card
======================== */
.project-card {
  background: white;
  padding: 30px;
  margin: 30px 0;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  text-align: center;
}

.project-card h3 {
  color: #4CAF50;
  font-size: 2rem;
  margin-bottom: 15px;
}

.project-card p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-card img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}

.project-card button {
  padding: 14px 28px;
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease, transform 0.2s ease;
  font-size: 1.1rem;
}

.project-card button:hover {
  background: linear-gradient(135deg, #45a049, #5ca75c);
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* ========================
   Contact Form Card
======================== */
.contact-card {
  background: linear-gradient(135deg, #f0f4f8, #ffffff);
  padding: 40px 30px;
  margin: 40px 0;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  text-align: center;
}

.contact-card h3 {
  color: #4CAF50;
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-card p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  margin-bottom: 15px;
  border: 2px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #4CAF50;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.25);
  outline: none;
}

.contact-form button {
  padding: 15px 30px;
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease, transform 0.2s ease;
  box-shadow: 0 5px 12px rgba(0,0,0,0.2);
}

.contact-form button:hover {
  background: linear-gradient(135deg, #45a049, #5ca75c);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ========================
   Animations / Fade-up
======================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

#formMessage {
  margin-top: 15px;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

/* ========================
   Responsive
======================== */
@media (max-width: 768px) {
  .card {
    flex-direction: column;
  }
  .card-text button {
    float: none;
    width: 100%;
    text-align: center;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
  }
}








