/* ============================================================
   CuidaBem Design System
   Primary:   #6B61FF  Secondary: #00BFA6  Accent: #FF8A80
   Warning:   #FFC857
   BG:        #F7F8FC  Surface:   #FFFFFF
   Text:      #1F2937  TextSec:   #6B7280  Border: #E5E7EB
   Font:      Nunito 400/600/700/800
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
body,
html {
  font-family: "Nunito", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #6b7280;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
  background-color: #f7f8fc;
}

h2,
h3,
h4 {
  font-family: "Nunito", sans-serif;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #1f2937;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
}

h4 {
  font-size: 18px;
  color: #1f2937;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p {
  font-size: 15px;
  line-height: 1.7;
}

p.intro {
  margin: 12px 0 0;
  line-height: 26px;
}

a {
  color: #6b61ff;
  font-weight: 600;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #5a51e8;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

hr {
  height: 3px;
  width: 60px;
  text-align: center;
  position: relative;
  background: linear-gradient(90deg, #6b61ff 0%, #00bfa6 100%);
  margin-bottom: 20px;
  border: 0;
  border-radius: 999px;
}

/* ── Navigation ───────────────────────────────────────────── */
#menu {
  padding: 15px;
  transition: all 0.4s ease;
}

#menu.navbar-default {
  background-color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 20px rgba(107, 97, 255, 0.08);
}

#menu a.navbar-brand {
  font-family: "Nunito", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #6b61ff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#menu.navbar-default .navbar-nav > li > a {
  font-family: "Nunito", sans-serif;
  text-transform: uppercase;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}

#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6b61ff 0%, #00bfa6 100%);
  content: "";
  transition: width 0.25s ease;
  border-radius: 999px;
}

#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
  color: #6b61ff;
}

.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(90deg, #6b61ff 0%, #00bfa6 100%) !important;
  content: "" !important;
  border-radius: 999px !important;
}

.navbar-toggle {
  border-radius: 8px;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #f7f8fc;
  border-color: #6b61ff;
}

.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #6b61ff;
}

/* ── Section Titles ───────────────────────────────────────── */
.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(90deg, #6b61ff 0%, #00bfa6 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
  border-radius: 999px;
}

.section-title p {
  font-size: 17px;
  color: #6b7280;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-custom {
  font-family: "Nunito", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #6b61ff;
  background-image: linear-gradient(135deg, #6b61ff 0%, #00bfa6 100%);
  padding: 14px 36px;
  letter-spacing: 1px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  transition: all 0.3s ease;
  border: 0;
  box-shadow: 0 4px 20px rgba(107, 97, 255, 0.35);
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #5a51e8;
  box-shadow: 0 6px 24px rgba(107, 97, 255, 0.45);
  transform: translateY(-1px);
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

/* ── Hero / Header ────────────────────────────────────────── */
.intro {
  width: 100%;
  height: 1324px;
  margin-top: -200px;
  background: url(../img/intro-bg.png) no-repeat;
  background-color: #6b61ff;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

.intro .overlay {
  background: linear-gradient(
    135deg,
    rgba(107, 97, 255, 0.88) 0%,
    rgba(0, 191, 166, 0.75) 100%
  );
}

.intro h1 {
  font-family: "Nunito", sans-serif;
  color: #fff;
  font-size: 72px;
  font-weight: 800;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.intro h1 span {
  font-weight: 800;
  color: #ffc857;
}

.intro p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  font-weight: 400;
  line-height: 32px;
  margin: 0 auto;
  margin-bottom: 60px;
}

header .intro-text {
  padding-top: 320px;
  padding-bottom: 200px;
  text-align: center;
}

/* ── Features ─────────────────────────────────────────────── */
#features {
  background: #f7f8fc;
  padding: 80px 0;
}

#features i.fa {
  font-size: 34px;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  color: #fff;
  width: 96px;
  height: 96px;
  padding: 28px 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b61ff 0%, #00bfa6 100%);
  box-shadow: 0 8px 24px rgba(107, 97, 255, 0.25);
}

#features i.fa:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(107, 97, 255, 0.35);
}

#features h3 {
  color: #1f2937;
  font-weight: 700;
}

#features p {
  color: #6b7280;
}

/* ── About ────────────────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: #ffffff;
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
  color: #1f2937;
}

#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(90deg, #6b61ff 0%, #00bfa6 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
  border-radius: 999px;
}

#about .about-text li {
  margin-bottom: 8px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
  color: #1f2937;
  font-weight: 500;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #00bfa6;
  font-size: 12px;
  padding-right: 10px;
}

#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(107, 97, 255, 0.1);
}

#about p {
  line-height: 26px;
  margin: 30px 0;
  color: #6b7280;
}

/* ── Services ─────────────────────────────────────────────── */
#services {
  padding: 100px 0;
  background: linear-gradient(135deg, #6b61ff 0%, #00bfa6 100%);
  color: #fff;
}

#services .service-desc {
  margin: 10px 10px 20px;
}

#services h2 {
  color: #fff;
}

#services .section-title h2::after {
  background: rgba(255, 255, 255, 0.4);
}

#services i.fa {
  font-size: 38px;
  width: 110px;
  height: 110px;
  padding: 34px 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

#services i.fa:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

#services h3 {
  font-weight: 700;
  padding: 5px 0;
  color: #fff;
}

#services p {
  color: rgba(255, 255, 255, 0.8);
}

#services .service-desc {
  margin-bottom: 40px;
}

/* ── Gallery / Portfolio ──────────────────────────────────── */
#portfolio {
  padding: 100px 0;
  background: #f7f8fc;
}

.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}

.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
  border-radius: 12px;
}

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(
    135deg,
    rgba(107, 97, 255, 0.85) 0%,
    rgba(0, 191, 166, 0.85) 100%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.4s ease;
}

.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s ease;
  font-size: 16px;
  letter-spacing: 1px;
  font-weight: 700;
  text-transform: uppercase;
}

.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.hover-bg:hover .hover-text {
  opacity: 1;
}

/* ── Testimonials ─────────────────────────────────────────── */
#testimonials {
  padding: 100px 0;
  background: #ffffff;
}

#testimonials i {
  color: #e5e7eb;
  font-size: 36px;
  margin-bottom: 20px;
}

.testimonial {
  position: relative;
  padding: 24px;
  background: #f7f8fc;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(107, 97, 255, 0.06);
}

.testimonial-image {
  float: left;
  margin-right: 15px;
}

.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 3px solid #6b61ff;
}

.testimonial-content {
  position: relative;
  overflow: hidden;
}

.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
  color: #6b7280;
  line-height: 1.7;
}

.testimonial-meta {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #6b61ff;
}

/* ── Team ─────────────────────────────────────────────────── */
#team {
  padding: 100px 0;
  background: #f7f8fc;
}

#team h4 {
  margin: 5px 0;
  color: #1f2937;
  font-weight: 700;
}

#team .team-img {
  width: 240px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(107, 97, 255, 0.12);
}

#team .thumbnail {
  background: transparent;
  border: 0;
}

#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #6b7280;
}

/* ── Contact ──────────────────────────────────────────────── */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #6b61ff 0%, #00bfa6 100%);
  color: rgba(255, 255, 255, 0.85);
}

#contact .section-title {
  margin-bottom: 40px;
}

#contact .section-title p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#contact .section-title h2::after {
  background: rgba(255, 255, 255, 0.4);
}

#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 600;
}

#contact form {
  padding-top: 20px;
}

#contact .text-danger {
  color: #ff8a80;
  text-align: left;
}

#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
  box-shadow: none;
  background-image: none;
}

#contact .btn-custom:hover {
  color: #6b61ff;
  background: #fff;
  transform: translateY(-1px);
}

label {
  font-size: 12px;
  font-weight: 600;
  font-family: "Nunito", sans-serif;
  float: left;
  color: rgba(255, 255, 255, 0.9);
}

#contact .form-control {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  font-family: "Nunito", sans-serif;
  line-height: 1.5;
  color: #1f2937;
  background-color: #fff;
  background-image: none;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  transition: border-color 0.2s ease;
}

#contact .form-control:focus {
  border-color: #6b61ff;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(107, 97, 255, 0.15);
}

.form-control::-webkit-input-placeholder { color: #9ca3af; }
.form-control:-moz-placeholder           { color: #9ca3af; }
.form-control::-moz-placeholder          { color: #9ca3af; }
.form-control:-ms-input-placeholder      { color: #9ca3af; }

#contact .contact-item {
  margin: 20px 0;
}

#contact .contact-item span {
  color: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
}

#contact .contact-item i.fa {
  margin-right: 10px;
}

#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}

#contact .social ul li {
  display: inline-block;
  margin: 0 16px;
}

#contact .social i.fa {
  font-size: 20px;
  width: 48px;
  height: 48px;
  padding: 13px 0;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#contact .social i.fa:hover {
  color: #6b61ff;
  background: #fff;
  border-color: #fff;
}

/* ── Footer ───────────────────────────────────────────────── */
#footer {
  background: #1f2937;
  padding: 30px 0;
}

#footer p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

#footer a {
  color: #6b61ff;
  font-weight: 600;
}

#footer a:hover {
  color: #00bfa6;
  border-bottom: 2px solid #00bfa6;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
    width: 100%;
  }

  .intro h1 {
    font-size: 48px;
  }

  .intro p {
    font-size: 17px;
  }

  header .intro-text {
    padding-top: 200px;
    padding-bottom: 120px;
  }
}
