@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.1/css/all.min.css');

:root {
  --primary-color: #E67E22;
  --secondary-color: #D35400;
  --accent-color: #F39C12;
  --light-color: #FEF5E7;
  --dark-color: #873600;
  --gradient-primary: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
  --hover-color: #CA6F1E;
  --background-color: #FFFBF5;
  --text-color: #34495E;
  --border-color: rgba(243, 156, 18, 0.25);
  --divider-color: rgba(211, 84, 0, 0.12);
  --shadow-color: rgba(211, 84, 0, 0.18);
  --highlight-color: #16A085;
  --main-font: 'Oswald', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--main-font);
  font-weight: 700;
  letter-spacing: 1px;
}

header {
  background: var(--dark-color);
  padding: 1.2rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 15px var(--shadow-color);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo img {
  height: 55px;
  width: auto;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

header nav a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight-color);
  transition: width 0.3s ease;
}

header nav a:hover:after {
  width: 100%;
}

#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-icon span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  header .logo {
    order: 1;
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
  }

  .menu-icon {
    display: flex;
    position: absolute;
    right: 1.5rem;
    top: 1.8rem;
  }

  header nav {
    order: 2;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    text-align: center;
    padding: 0;
  }

  header nav li {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  #menu-toggle:checked ~ nav {
    max-height: 600px;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

.hero {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: var(--gradient-primary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px var(--shadow-color);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px var(--shadow-color);
}

section {
  padding-top: 10vh;
  padding-bottom: 10vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-section {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.content-image {
  flex: 0 0 40%;
  border-radius: 25px;
  box-shadow: 0 15px 50px var(--shadow-color);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.content-image:hover {
  transform: rotate(0deg);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

.content-text {
  flex: 1;
  min-width: 300px;
}

@media (max-width: 768px) {
  .content-image {
    flex: 0 0 100%;
  }
}

.cta-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./img/bg.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  text-align: center;
  padding: 10vh 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  position: relative;
}

.feature-item {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  border: 3px solid var(--border-color);
  box-shadow: 10px 10px 25px var(--shadow-color), -5px -5px 15px rgba(255, 255, 255, 0.6);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.feature-item:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
}

.feature-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 15px 15px 35px var(--shadow-color), -8px -8px 20px rgba(255, 255, 255, 0.8);
  border-color: var(--primary-color);
}

.feature-item i {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.testimonials {
  background: var(--light-color);
  position: relative;
}

.testimonials:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23E67E22' fill-opacity='0.06'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-item {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  border-left: 5px solid var(--primary-color);
  box-shadow: 8px 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
}

.testimonial-item:hover {
  transform: scale(1.05);
  box-shadow: 12px 12px 30px var(--shadow-color);
}

.last-features {
  background: var(--dark-color);
  text-align: center;
}

.last-features h2,
.last-features p {
  color: #fff;
}

.last-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.last-feature-item {
  background: rgba(255, 255, 255, 0.12);
  padding: 2.5rem;
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.4s ease;
}

.last-feature-item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.last-feature-item i {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--highlight-color);
}

.contact-section {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 320px;
}

.contact-info-item {
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
}

.contact-info-item i {
  margin-right: 1.5rem;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  border: 3px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--alt-font);
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: inset 4px 4px 10px var(--shadow-color), inset -4px -4px 10px rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: inset 4px 4px 15px var(--shadow-color), inset -4px -4px 15px rgba(255, 255, 255, 0.8);
}

.form-group textarea {
  resize: vertical;
  min-height: 180px;
}

.faq-section {
  background: #f8f9fa;
}

.faq-item {
  background: #fff;
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-radius: 15px;
  border-left: 6px solid var(--primary-color);
  box-shadow: 6px 6px 18px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 10px 10px 25px var(--shadow-color);
  transform: translateX(8px);
}

.faq-item h3 {
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  font-size: 1.3rem;
}

footer {
  background: var(--dark-color);
  color: #fff;
  padding: 3.5rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  flex: 0 0 auto;
}

.footer-logo img {
  height: 55px;
  width: auto;
}

.footer-nav {
  flex: 1;
  text-align: right;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--highlight-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom a {
  color: var(--highlight-color);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    order: 1;
  }

  .footer-nav {
    order: 2;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
}