:root {
  --dark-blue: #004c8b;
  --light-blue: #0077d8;
  --brand-orange: #ff9b15;
  --text-dark: #333333;
  --text-light: #ffffff;
  --border-light: #e0e0e0;
  --gap: 1rem;
  --bg: #f0f2f5;
  --modal-bg: rgba(0, 0, 0, 0.8);
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  --transition: 0.3s ease;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.4;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
  padding: 2rem 0;
}
.full-width {
  width: 100%;
}
.section-padding {
  padding: 2rem 0;
  padding-bottom: 0;
}

.top-section {
  background-color: var(--dark-blue);
  padding: 2rem 0;
  padding-top: 0;
}
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--gap);
}
.inner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.card {
  background: var(--text-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.card-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bg-dark-blue {
  background-color: var(--dark-blue);
  color: var(--text-light);
}
.bg-light-blue {
  background-color: var(--light-blue);
  color: var(--text-light);
}
.bg-orange {
  background-color: var(--brand-orange);
  color: var(--text-light);
}
.border-primary {
  border: 2px solid var(--dark-blue);
}

.h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--gap);
}
.h5 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.h6 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.small {
  font-size: 0.875rem;
}

.flex {
  display: flex;
  gap: var(--gap);
}
.flex-wrap {
  flex-wrap: wrap;
}

.bonus-card {
  flex: 1 1 calc(33.333% - var(--gap));
}
.feature-card {
  flex: 1 1 calc(25% - var(--gap));
}

.grid-2-equal {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--gap);
}
blockquote {
  margin: 0;
  color: var(--text-light);
}
.blockquote-footer {
  margin-top: 1rem;
  font-size: 0.875rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-control {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border-light);
  border-radius: 4px;
}
.btn-primary {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--dark-blue);
  color: var(--text-light);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.logo-container {
  margin-bottom: var(--gap);
  text-align: left;
}

.section-logo {
  max-width: 500px;
  width: auto;
  display: inline-block;
}

.flatwebsite {
  max-width: 350px;
  padding: 20px;
  margin: 0 auto;
}

.bonus-card img {
  max-height: 300px;
  width: auto;
  padding-bottom: 20px;
}

.bonus-card .small {
  font-weight: bold;
  padding-top: 10px;
}

.feature-card img {
  padding-bottom: 10px;
}

.center {
  margin: 0 auto;
  padding-bottom: 20px;
}

.contactemail {
  padding-top: 20px;
  text-align: center;
  font-weight: bold;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
}
.gallery img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-bg);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn var(--transition);
}

.modal-content {
  position: relative;
  max-width: 90vw;
  animation: zoomIn var(--transition);
}
.modal-content img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #fff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-size: 1.2rem;
  transition: transform var(--transition);
}
.close:hover {
  transform: scale(1.1);
}

#contactModal .modal-content {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  box-shadow: var(--shadow);
}

.contact-modal-header {
  margin: 0 0 1rem;
  font-size: 1.75rem;
  font-weight: 500;
  text-align: center;
  color: var(--text-dark);
}

.success-message {
  color: #28a745;
  font-size: 1.1rem;
  text-align: center;
  margin: 1rem 0;
  width: 100%;
}

@keyframes fadeIn {
  from {
    background: rgba(0, 0, 0, 0);
  }
  to {
    background: var(--modal-bg);
  }
}
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.caption {
  margin-top: 0.5rem;
  color: #fff;
  text-align: center;
  font-size: 1rem;
}

.error-message {
  display: none;
  font-size: 0.875rem;
  color: #d9534f;
  margin-top: 0.25rem;
}

input[data-touched]:invalid + .error-message,
select[data-touched]:invalid + .error-message,
textarea[data-touched]:invalid + .error-message {
  display: block;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--modal-bg);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn var(--transition);
}
.modal .modal-content {
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  max-width: 90vw;
  box-shadow: var(--shadow);
  animation: zoomIn var(--transition);
}
.modal .close {
}

@media screen and (min-width: 768px) {
  .modal.open {
    display: flex;
  }
}

#mobileFullForm {
  display: none;
}
@media screen and (max-width: 767px) {
  #contactFormMini,
  .modal {
    display: none !important;
  }

  #mobileFullForm {
    display: block !important;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 1rem;
  }
}

@media (max-width: 600px) {
  .gallery img {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 767px) {
  .grid-2,
  .inner-grid,
  .grid-2-equal {
    grid-template-columns: 1fr !important;
  }

  .flex {
    flex-direction: column;
  }

  .card-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .card-body img {
    margin: 0 0 var(--gap) 0;
    max-width: 300px;
  }

  .bonus-card,
  .feature-card {
    flex: 1 1 100%;
  }

  .card-body > img:only-child {
    margin: 0;
    max-width: none;
    width: 100%;
  }

  .logo-container {
    text-align: center;
  }
  .section-logo {
    max-width: 200px;
  }
  .bonus-card img {
    max-width: 200px;
  }
  #contactFormMini,
  #contactModal,
  #modal,
  .modal.open {
    display: none !important;
  }

  #mobileFullForm {
    display: block !important;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 1rem;
  }
}
@media (min-width: 768px) {
  #mobileFullForm {
    display: none !important;
  }
}
