/*******************************
 * GLOBALS
 ******************************/
:root {
  --main-color: #3d3d3d;
  --bg-color: #f8f6f3;
  --color2: #4a6b7c;
  --color3: #6b8fa3;
  --color4: #5a7a8c;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--main-color);
  background-color: var(--bg-color);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/*******************************
 * HERO SECTION
 ******************************/
.hero {
  background: linear-gradient(135deg, #8bacc8 0%, #a8c5d8 100%);
  color: white;
  padding: 80px 20px 100px;
  text-align: center;
  position: relative;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 35px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
  font-weight: 300;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 15px 70px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }
}

/* Hero Image */
.hero-image {
  margin-top: 50px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero button */
.btn-primary {
  display: inline-block;
  background-color: var(--color3);
  color: white;
  padding: 16px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background-color: var(--color4);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

@media (max-width: 480px) {
  .btn-primary {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

/*******************************
 * SECTIONS
 ******************************/
section {
  padding: 80px 20px;
}

section:nth-child(even) {
  background-color: #ffffff;
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--color2);
  text-align: center;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  text-align: left;
}

@media (max-width: 768px) {
  section {
    padding: 50px 20px;
  }

  section h2 {
    font-size: 1.8rem;
  }
}

/*******************************
 * TEXT-IMAGE-SECTION
 ******************************/
.text-image-section {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 50px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.text-image-section img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.text-image-section.reverse {
  direction: rtl;
}

.text-image-section.reverse > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .text-image-section,
  .text-image-section.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .text-image-section img {
    max-width: 400px;
  }
}

/*******************************
 * QUOTE BLOCK
 ******************************/
.quote-block {
  background-color: #e8f1f5;
  padding: 40px;
  border-left: 5px solid #8bacc8;
  margin: 40px auto;
  max-width: 700px;
  border-radius: 8px;
  font-style: italic;
  color: var(--color2);
}

.quote-block p {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.quote-text {
  font-weight: bold;
}

.quote-author {
  text-align: right;
  font-weight: 600;
  font-style: normal;
  color: var(--color3);
}

/*******************************
 * STEPS/ICONS SECTION
 ******************************/
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

.step {
  text-align: center;
  padding: 30px;
  background-color: var(--bg-color);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-icon {
  margin-bottom: 20px;
  /* font-size: 3rem; */
  /* color: #8bacc8; */
}

.step-icon img {
  max-height: 80px;
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--color2);
}

.step p {
  font-size: 1rem;
  color: #666;
}

/*******************************
 * PROFILE SECTION
 ******************************/
.profile-section {
  display: grid;
  grid-template-columns: 275px 1fr;
  gap: 50px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.profile-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .profile-section {
    grid-template-columns: 1fr;
  }

  .profile-image {
    max-width: 275px;
  }
}

/*******************************
 * CONTACT FORM
 ******************************/
.contact-form {
  max-width: 600px;
  margin: 40px auto;
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .contact-form {
    padding: 30px 20px;
  }
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color2);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #d4e2e9;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8bacc8;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--color3);
  color: white;
  padding: 14px 40px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background-color: var(--color4);
  transform: translateY(-2px);
}

.contact-info {
  text-align: center;
  margin-top: 30px;
  padding: 25px;
  background-color: var(--bg-color);
  border-radius: 8px;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--color3);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.privacy-note {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
  margin-top: 20px;
}

/* Notification */
.toast-notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  min-width: 300px;
  max-width: 90%;
  background-color: #333;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 14px;
}
.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.toast-notification.success {
  background-color: #2ecc71;
}
.toast-notification.error {
  background-color: #e74c3c;
}
.toast-notification .toast-close {
  margin-left: 12px;
  cursor: pointer;
  font-weight: bold;
  float: right;
}

/*******************************
 * FOOTER
 ******************************/
footer {
  background-color: var(--color2);
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.95rem;
}

/*******************************
 * 404 page
 ******************************/
.four-oh-four h1 {
  margin-bottom: 2rem;
}
