.subtitle {
  font-size: 34px;
  color: #35CDFE;
  margin-bottom: 20px;
  padding-top: 100px;}

h1 {
  font-size: 98px;
  font-weight: bold;
  margin-bottom: 0;
}

.section-container {
  padding-top: 100px;
}

.about-flex {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 0 0;
}

.about-img img {
  width: 300px;
  border-radius: 8px;
  display: block;
}

.about-text {
  font-size: 16px;
  color: #fff;
  flex: 1;
}

.about-text h2 {
  margin-top: -30px;
  color: #fff;
  font-weight: bold;
  font-size: 54px;
  
}
/* Kontaktseksjon */
.contact-section {
    border: 0px dotted #5ae3db;
    padding: 0px;
    border-radius: 10px;
    background-color: #000;
    color: #fff;
    margin-bottom: 20px;
    max-width: 960px;
    margin: 100px auto;
    padding: 30px;
}

.contact-section h2 {
    margin-top: 0;
    color: #fff;
    font-size: 32px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
}

label.form-label {
    color: white;
    font-weight: 600;
}

form#contact-form input,
form#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background-color: #222;
    color: #fff;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 15px;
}

form#contact-form input::placeholder,
form#contact-form textarea::placeholder {
    color: #ccc;
}

form#contact-form button {
    background-color: var(--primary-color);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    height: 50px;
    transition: background-color 0.3s ease;
}

form#contact-form button:hover {
    background-color: #c4c4c4;
}
#submitBtn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(100%);
}
#submitBtn:not([disabled]) {
  opacity: 1;
  filter: none;
}

/* ---------- Mobile optimizations (About top text only) ---------- */
@media (max-width: 900px) {
  h1 { font-size: 56px; }
  .about-text h2 { font-size: 40px; margin-top: 0; }
  .about-flex { flex-direction: column; gap: 24px; padding: 20px 0 0; }
  .about-img img { width: 220px; margin: 0 auto; }
  .about-text { font-size: 15.5px; line-height: 1.55; max-width: 68ch; margin: 0 auto; }
}
@media (max-width: 600px) {
  h1 { font-size: 44px; }
  .about-text h2 { font-size: 34px; }
  .about-img img { width: 180px; }
  .about-text { font-size: 15px; padding: 0 4px; }
}
@media (max-width: 420px) {
  h1 { font-size: 36px; }
  .about-text h2 { font-size: 30px; }
  .about-text { font-size: 14.5px; }
}