/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f8f9fa;
  color: #343a40;
  overflow-x: hidden;
  padding-top: 60px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Typography */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Card Styles */
.card {
  background-color: #ebebeb;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s ease;
  height: 350px;
}


.cards {
  background-color: #ebebeb;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s ease;
  height: 500px;
}

.Card {
  background-color: #ebebeb;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: box-shadow 0.3s ease;
  height: 650px;
}

.text-2xl {
  padding-bottom: 10px;
}


.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Contact Information Section */
.contact-info h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
}

.contact-detail {
  margin-bottom: 1.25rem;
}

.contact-detail h3 {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #4a5568;
  margin-bottom: 0.25rem;
}

.contact-detail p {
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.5;
}

/* Compact Form Styles */
.contact-form h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 1rem;
  text-align: center;
}

.compact-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  background-color: #f8fafc;
  margin-bottom: 0.75rem;
}

.compact-input:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2);
  background-color: #fff;
}

.compact-submit-button {
  background-color: #28a745;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-block;
}

.compact-submit-button:hover {
  background-color: #218838;
  transform: translateY(-1px);
}

/* Large Rectangular Map Container */
.map-card {
  margin-top: 2rem;
}

.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  height: 400px;
  /* Fixed height for rectangle */
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Grid Layout */
.contact-main-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 0;
  /* Remove bottom margin since map is separate */
}

@media (min-height: 780px) {

  .card{
    height: 380px;
  }
  .section-title {
    font-size: 3.25rem;
    margin-bottom: 2rem;
    padding-top: 30px;
  }


  .contact-main-grid {
    grid-template-columns: 1fr 1.5fr;    
  }

  .contact-main-grid h2{
    font-size: 1.8rem;
  }

  .contact-main-grid h3{
    font-size: 1.2rem;
  }

  .contact-main-grid h5{
    font-size: 1.1rem;
  }

  .font-medium {
    font-size: 5rem;
  }
  
  .Card{
    height: 600px;
  }
}


/* Responsive Adjustments */
@media (min-width: 768px) {
  .contact-main-grid {
    grid-template-columns: 1fr 1.5fr;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .card {
    padding: 1.75rem;
  }

  .map-container {
    height: 450px;
    /* Slightly taller on larger screens */
  }
}



/* Solar Panel Background with Cross-Browser Support */
body {
  position: relative;
  background: linear-gradient(rgba(204, 204, 204, 0.85), rgba(228, 228, 228, 0.85)),
    url('images/solar.jpg') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}


footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}