/* Layout and Grid System */

/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Main Layout */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: white;
  box-shadow: var(--shadow-light);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Logo Container Styling */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
}

.logo-img {
  height: 70px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.company-name {
  font-family: 'Cairo', Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1D6F42;
  white-space: nowrap;
}

.main-content {
  margin-top: 80px; /* Account for fixed header */
}

.footer {
  background-color: var(--color-neutral);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
}

/* Section Layout */
.section {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
}

/* Individual section backgrounds are set separately */
.services-section,
.why-choose-section,
.calculator-section,
.testimonials-section,
.faq-section,
.contact-section {
  background-color: #ffffff;
}

.full-width {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* Floating Buttons */
.floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.btn-contact, .btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon {
  width: 24px;
  height: 24px;
}

.btn-contact {
  background-color: #1D6F42;
}

.btn-contact:hover {
  background-color: #14532D;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #D4AF37;
}

.btn-whatsapp:hover {
  background-color: #B7950B;
  transform: translateY(-2px);
}

/* Mobile Adjustments */
@media screen and (max-width: 480px) {
  .btn-contact, .btn-whatsapp {
    padding: 10px 16px;
    font-size: 14px;
  }
  .icon {
    width: 20px;
    height: 20px;
  }
}