/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Template: hello-elementor
Author: Alahad
Description: Child theme for Hello Elementor. Use this stylesheet and functions.php for customizations.
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-elementor-child
*/

/* Add custom CSS below. */


.alahad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.alahad-grid-item {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden; /* Keeps images neatly clipped inside the card corners */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.alahad-grid-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.alahad-grid-item img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.alahad-grid-item .alahad-text-box {
  padding: 20px;
}

.alahad-grid-item h3 {
  font-family: "Oswald", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2em;
  color: #0b5c5a;
  margin: 0 0 10px 0;
}

.alahad-grid-item p {
  margin: 0 0 20px 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 400; /* Improved readability */
  line-height: 1.6em;
  color: #666;
  min-height: 200px;
}

.alahad-grid-item button {
  background-color: #d9921c;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  border: none;
  padding: 8px 22px;
  border-radius: 4px;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.alahad-grid-item button:hover {
  background-color: #c27d10;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
  .alahad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .alahad-grid {
    grid-template-columns: 1fr;
  }
}
