/* main.css — mobile-first */

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  color: #333;
  line-height: 1.5;
}

/* ---------------- Hero (UNCHANGED) ---------------- */

#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 0 1rem;
}
#hero h1 {
  font-family: 'Courier New', monospace;
  margin: 1rem 0 0.5rem;
}
#hero p {
  margin-bottom: 1.5rem;
}
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #068FFF;
  border: 2px solid #068FFF;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary:hover {
  background: #068FFF;
  color: #fff;
}

/* logo animation */

@keyframes logo-animate {
    0% {opacity: 100%;}
    25% {opacity: 100%;}
    50% {opacity: 0%;}
    75% {opacity: 0%;}
    100% {opacity: 100%;}
}

@keyframes logo-animate-negative {
    0% {opacity: 0%;}
    25% {opacity: 0%;}
    50% {opacity: 100%;}
    75% {opacity: 100%;}
    100% {opacity: 0%;}
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px auto;
}

.logo, .logo-negative {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: 200px;
    max-height: 200px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    animation:
        logo-animate 3s,
        logo-animate 7s infinite 3s;
}


.logo-negative {
    animation:
        logo-animate-negative 3s,
        logo-animate-negative 7s infinite 3s;
}


/* ---------------- Services ---------------- */

.services-section {
  padding: 2rem 1rem;
  background: #f9f9f9;
  text-align: center;
}
.services-section h2 {
  font-size: 1.75rem;
  color: #068FFF;
  margin-bottom: 1.5rem;
}
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.card {
  background: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.card h3 {
  margin-top: 0;
  color: #333;
}
.card p,
.card ul {
  margin: 0.5rem 0 0;
  color: #555;
}
.card ul {
  list-style: disc inside;
}

/* ---------------- About ---------------- */

.about-container {
    display: flex;
    flex-direction: column;
    gap: 2vw;
    width: 80vw;
    margin-left: 7vw;
}

.about-section {
  padding: 2rem 1rem;
  background: #eee;
}
.about-section h2 {
  text-align: center;
  font-size: 1.75rem;
  color: #068FFF;
  margin-bottom: 1.5rem;
}
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---------------- Contact ---------------- */

.contact-section {
  padding: 2rem 1rem;
  background: #fff;
}
.contact-section h2 {
  text-align: center;
  font-size: 1.75rem;
  color: #068FFF;
  margin-bottom: 1rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  margin: 0 auto;
}
.contact-form label {
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #068FFF;
}
.contact-form button {
  padding: 0.75rem;
  background: #068FFF;
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
}
.contact-form button:hover {
  background: #005FCC;
}

/* ---------------- Footer ---------------- */

.footer {
  text-align: center;
  padding: 1rem;
  background: #222;
  color: #eee;
}
.footer a {
  color: #068FFF;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* ---------------- Breakpoints ---------------- */

@media (max-width: 600px){
    .card ul {
        margin-left: -5vw;
        font-size: 13px;
    }
}


@media (min-width: 600px) {
  .services-grid,
  .about-grid {
    flex-direction: row;
  }
}

@media (min-width: 900px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  .about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
