@import url("https://fonts.googleapis.com/css2?family=Cabin:ital,wght@0,400..700;1,400..700&display=swap");

:root {
  --theme: #ff7330;
  --dark: #000000;
  --gray: #585858;
  --light: #f8f8f8;
  --border: #dfdfdf;
  --footer: #a8a8a8;
}

html {
  scroll-behavior: smooth;
}

* {
  padding: 0;
  margin: 0;
}

body {
  font-family: "Cabin", sans-serif;
  background: #ffffff;
  color: var(--dark);
  line-height: 1.4;
  margin: auto;
  letter-spacing: -0.4px;
}

header, .container {
  margin: auto;
}

@media (max-width: 1100px) {
  header, .container {
    width: 90vw;
  }
}

@media (max-width: 800px) {
  header, .container {
    width: 100vw;
  }
}

/* Header */

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  width: 80vw;
  margin: 10px auto;
  font-weight: 500;
  border-bottom: 2px solid #5e5e5e;
}

header .right-links {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

header .left-logo {
  text-decoration: none;
  color: black;
}

header .right-links a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  transition: 0.2s;
}

header .right-links a:hover {
  color: #ff7330;
}

header .left-logo {
  font-size: 1.3rem;
  font-weight: 600;
}

.hover-services {
  position: relative;
  display: inline-block;
}

.services-on-hover {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  max-width: 400px;
  min-width: 250px;
  padding: 10px 0;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: 0.3s ease;
}

.services-on-hover a {
  display: block;
  padding: 8px 15px;
  text-decoration: none;
  color: #000;
}

.services-on-hover a:hover {
  background: #eeeeee;
  color: #ff7330;
}

.hover-services:hover .services-on-hover {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

header .sidebar-menu button {
  display: flex;
  align-items: center;
  outline: none;
  border: none;
  padding: 10px;
  border-radius: 10px;
  background: transparent;
}

@media (min-width: 800px) {
  header .sidebar-menu {
    display: none;
  }
}

@media (max-width: 800px) {
  header .sidebar-menu {
    display: block;
  }

  header .right-links {
    display: none;
  }
}

.sidebar-menu {
  position: relative;
}

.sidebar-links {
  position: fixed;
  top: 0;
  right: -100vw;
  width: 80vw;
  max-width: 400px;
  height: 100%;
  background: #fff;
  box-shadow: -5px 0 15px rgba(54, 54, 54, 0.1);
  transition: right 0.35s ease;
  z-index: 10;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.sidebar-links.active {
  right: 0;
}

.hover-services p {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
  cursor: pointer;
}

.sidebar-links a {
  padding: 15px 0;
  text-decoration: none;
  color: #000;
  font-size: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.click-services {
  position: relative;
  font-size: 18px;
  width: 100%;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

.click-services p {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

#closeBtn {
  margin-bottom: 20px;
  display: flex;
  width: fit-content;
  padding: 0;
}

.services-on-click {
  display: none;
  flex-direction: column;
  background: transparent;
  margin-top: 5px;
  padding: 10px;
  border-radius: 5px;
}

/* Service */

.container {
  padding: 20px;
  width: 80vw;
}

body h1,
h2,
h3 {
  font-weight: 700;
}

h1,
h2 {
  margin-bottom: 20px;
}

.hero {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
  padding: 30px 40px;
  border-radius: 1.2rem;
  border-bottom: 2px solid #ff7330;
  overflow: hidden;
  margin-bottom: 20px;
  background: linear-gradient(335deg, #ffede6, #ffffff);
}

@media (max-width: 1200px) {
  body .hero {
    flex-direction: column;
    gap: 30px;
  }
}

.hero p {
  margin-top: 10px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.hero .section-image img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  max-height: 800px;
}

.hero .btn-primary {
  display: flex;
  background: #ff7330;
  color: white;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  margin-top: 20px;
  transition: 0.2s ease-in;
  border-radius: 10px;
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 60px;
  width: 100%;
}

.two-column > * {
  flex: 1 1 48%;
  min-width: 250px;
  box-sizing: border-box;
}

.icon-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border);
  padding: 15px 20px;
  gap: 10px;
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  transition: 0.3s ease-in-out;
}

.icon-text:hover {
  transform: translateY(5px);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  background: #ff7330;
  color: white;
  cursor: pointer;
}

@media (max-width: 800px) {
  .icon-text {
  transform: translateY(5px);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,
    rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
  background: #ff7330;
  color: white;
  cursor: pointer;
}

}

.icon-text .icon {
  padding: 10px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  font-size: 36px;
  color: var(--theme);
  background: #ffefe2;
  width: fit-content;
}

.icon-text .text h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.icon-text .text p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.cta {
  background: transparent;
  border: 2px solid #5e5e5e;
  border-radius: 12px;
  color: rgb(0, 0, 0);
  padding: 20px 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: 0.3s ease;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cta-wrapper h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
}

.cta-wrapper p {
  margin: 0;
  font-size: 1rem;
  color: #1b1b1b;
}

.cta .btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: white;
  background: var(--theme);
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  text-wrap: nowrap;
  width: fit-content;
  transition: 0.2s ease-in;
}

.cta .btn-secondary:hover,
.btn-primary:hover {
  background: #e65c1f;
  transform: translateY(3px);
}

.section-two {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.103);
  border-bottom: 2px solid #ff7330;
}

@media (max-width: 800px) {
  .section-two {
    flex-direction: column;
  }
}

.section-image {
  flex: 1 1 48%;
  min-width: 250px;
}

.section-image img {
  width: 100%;
  max-height: 450px;
  border-radius: 14px;
  object-fit: cover;
}

@media (max-width: 1450px) {
  .section-image img {
    max-width: 750px;
    margin: auto 0;
  }
}

@media (max-width:800px) {
    .section-image img {
      width: 100%;
      max-width: 450px;
    }
}

.section-content {
  flex: 1 1 50%;
  min-width: 250px;
}

.floating-image {
  max-height: 400px;
  animation: floatY 4s ease-in-out infinite;
}

img {
  text-align: center;
}

@keyframes floatY {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
  100% {
    transform: translateY(0);
  }
}

.faq {
  margin: 20px 0 20px 0;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.103);
  border-bottom: 2px solid #ff7330;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 20px;
  background: transparent;
  transition: 0.3s ease;
}

.faq details:hover {
  background: #eeeeee;
}

.faq details[open] {
  background: #eeeeee;
  color: black;
}

.faq summary {
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  position: relative;
  padding-right: 25px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::marker {
  content: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.4rem;
  color: var(--theme);
  transition: 0.3s ease;
}

.faq details[open] summary::after {
  content: "-";
}

.faq p {
  margin-top: 10px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .icon-text {
    flex: 1 1 48%;
  }
  .two-column > * {
    flex: 1 1 48%;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 20px;
  }
  .hero .btn-primary {
    width: fit-content;
    justify-content: center;
    margin: auto;
  }
  .cta {
    flex-direction: column;
  }
  .cta .btn-secondary {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin: auto;
  }
  .two-column {
    flex-direction: column;
  }
  .icon-text {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .icon-text .text h3 {
    font-size: 1rem;
  }
  .icon-text .text p {
    font-size: 1rem;
  }
  .cta-wrapper h4 {
    font-size: 1.1rem;
  }
  .cta-wrapper p {
    font-size: 1rem;
  }
}

@media (max-width: 320px) {
  body {
    width: 100vw;
  }
  .two-column {
    flex-direction: column;
    gap: 15px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .icon-text .text h3 {
    font-size: 0.9rem;
  }
  .icon-text .text p {
    font-size: 0.9rem;
  }
  .cta-wrapper h4 {
    font-size: 1rem;
  }
  .cta-wrapper p {
    font-size: 0.8rem;
  }
  .btn-primary,
  .cta .btn-secondary {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
  .hero .section-image,
  .section-image,
  .section-two .section-image {
    display: none !important;
  }
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 30px;
  box-sizing: border-box;
  background: #0f0f0f;
  color: var(--footer);
}

.rights {
  border-top: 1px solid var(--gray);
  width: 100%;
  text-align: center;
  padding: 10px;
}

.links-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 40px;
  align-items: start;
}

.links-container h3 {
  color: #ff7330;
}

.links-container h3,
p {
  margin: 0;
}

@media (max-width: 1050px) {
  body footer .links-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}

@media (max-width: 800px) {
  body footer .links-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 480px) {
  body footer .links-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.links-container .brand {
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: start;
}

.links-container .quick-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.links-container .services-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.links-container h3 {
  margin-bottom: 10px;
}

.links-container .contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links-container a {
  text-decoration: none;
  color: var(--footer);
}

.links-container a:hover {
  text-decoration: underline;
  color: var(--light);
}

.contact-links img {
  width: 20px;
  height: 20px;
}

.contact-links .c-wrapper {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

.contact-links a {
  border: 1px solid #dfdfdf;
  padding: 10px;
  background: white;
  display: flex;
  border-radius: 50%;
}

.contact-links a:hover {
  background: #cecece;
}

.contact-links .s-wrapper {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
