:root {
  --bg-light: #f0f4f8;
  --bg-white: #ffffff;
  --text-dark: #333333;
  --text-muted: #777777;
  --accent-blue: #2c3e50;
  --accent-orange: #e67e22;
  --accent-hover: #d35400;
}

/* ========== GLOBAL STYLES ========== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

img {
  max-width: 100%;
  display: block;
}


/* ========== Blogs ========== */
.blogs-section {
  background-color: var(--bg-white);
  padding: 30px 20px;
}

.blogs-title {
  font-size: 32px;
  margin-bottom: 30px;
  color: var(--accent-blue);
  text-align: center;
}

.blogs-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.blog-card {
  display: block;
  background-color: var(--bg-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-overlay {
  padding: 20px;
}

.blog-title {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--accent-blue);
}

.blog-date {
  font-size: 14px;
  color: var(--text-muted);
}

/* ========== CONTACT & ABOUT ========== */
.get-in-touch {
  background-color: var(--bg-white);
  padding: 60px 20px;
}


.touch-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1300px; /* Increased from 1000px */
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 40px; /* Increased from 40px */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.touch-info {
  flex: 1;
  min-width: 280px;
}

.touch-info h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--accent-blue);
}

.touch-info .highlight {
  color: var(--accent-orange);
}

.touch-info p {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.touch-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  color: var(--text-muted);
}

.touch-info li {
  margin-bottom: 10px;
}

.touch-form {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.touch-form input,
.touch-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.touch-form button {
  background-color: var(--accent-orange);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.touch-form button:hover {
  background-color: var(--accent-hover);
}

/* ========== FOOTER ========== */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px;
}

/* ========== using contact.html contains quote form so to hide it on blogs ========== */

.popup-overlay {
  display: none; /* hidden by default */
  justify-content: center;
}

/* ========== Mobile responsive ========== */

@media (max-width: 768px) {
  .blogs-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .blog-title {
    font-size: 1.2rem;
  }

  .blog-date {
    font-size: 0.9rem;
  }

  .blog-image {
    height: 180px;
  }
}
