/* ======================
   RESET
====================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Outfit", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ======================
   HEADER & NAVIGATION
====================== */

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  width: 220px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #0f766e;
}

.nav-links a:last-child:hover {
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* ======================
   BUTTONS
====================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary {
  background: #0f766e;
  color: #fff;
}

.btn-primary:hover {
  background: #115e59;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: #0f766e;
}

/* ======================
   GLOBAL SECTIONS
====================== */

section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  color: #0f766e;
  font-size: 2.7rem;
  margin-bottom: 15px;
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #64748b;
  line-height: 1.8;
}

/* ======================
   ABOUT PAGE
====================== */

.about {
  padding-top: 140px;
}

.about-content {
  max-width: 900px;
  margin: auto;
}

.about-content h2 {
  color: #0f766e;
  margin-bottom: 20px;
}

.about-content p {
  line-height: 1.9;
  color: #64748b;
  margin-bottom: 20px;
}

/* ======================
   BLOG LISTING PAGE
====================== */

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 40px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  transition: 0.3s ease;
}

.search-box:focus-within {
  border-color: #0f766e;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.search-box i {
  color: #94a3b8;
  font-size: 16px;
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: #1e293b;
}

.search-box input::placeholder {
  color: #94a3b8;
}

/* ======================
   BLOG LAYOUT
====================== */

.blog-flex {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 320px;
  gap: 30px;
  align-items: start;
}

.blog-list-container,
.blog-detail {
  width: 100%;
  min-width: 0;
}

.empty-state {
  display: none;
  width: 100%;
  min-height: 450px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 40px;
}

.empty-state i {
  color: #0f766e;
  font-size: 32px;
}

.empty-state h3 {
  font-size: 28px;
  color: #0f766e;
  margin-bottom: 10px;
}

.empty-state p {
  color: #64748b;
  font-size: 16px;
  max-width: 500px;
  line-height: 1.7;
}

/* ======================
   CATEGORY
====================== */

.blog-category {
  position: sticky;
  top: 100px;
}

.category-card {
  background: #fff;
  border-radius: 18px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.category-card h3 {
  color: #0f766e;
  margin-bottom: 20px;
}

.category-links {
  list-style: none;
}

.category-links li {
  border-bottom: 1px solid #f1f5f9;
}

.category-links li:last-child {
  border-bottom: none;
}

.category-links a {
  padding: 12px 0;
  color: #64748b;
  transition: 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-links a:hover {
  color: #0f766e;
}

.category-links .count {
  font-size: 0.85rem;
  opacity: 0.7;
}

.recent-post-card {
  padding: 15px 10px;
  background-color: #f3f3f3;
  border-radius: 5px;
  margin-top: 10px;
}

.recent-post-card:last-child {
  border-bottom: none;
}

.recent-post-card h4 {
  color: #0f766e;
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.recent-post-card p {
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.read-more-link {
  color: #0f766e;
  font-weight: 600;
  font-size: 14px;
}

.read-more-link:hover {
  text-decoration: underline;
}

/* .ads-box {
  min-height: 300px;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
} */

/* ======================
   BLOG LIST PAGE
====================== */

#blog-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.blog-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 320px;
  min-width: 320px;
  height: 220px;
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.read-time-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 118, 110, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-info {
  flex: 1;
  padding: 20px;
  background: #fff;
  position: relative;
}

.blog-date {
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 118, 110, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 111111111111;
}

.blog-title {
  color: #0f766e;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-excerpt {
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ======================
   BLOG DETAIL PAGE
====================== */

.blog-detail-page {
  padding: 140px 0 80px;
}

.slider {
  position: relative;
  height: 450px;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
}

.slide {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.85);
  color: #fff;
  z-index: 5;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

.blog-detail .blog-info {
  background: #fff;
  margin-top: 25px;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.blog-description {
  color: #475569;
  line-height: 1.9;
  margin-bottom: 20px;
}

/* ======================
   CONTACT PAGE
====================== */

.contact-section {
  padding-top: 140px;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 320px;
}

.contact-form {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #0f766e;
}

.contact-form button {
  width: 100%;
  padding: 14px;
  background: #0f766e;
  color: #fff;
  border: none;
  border-radius: 10px;
}

/* ======================
   PAGINATION
====================== */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.pagination a,
.pagination .current {
  padding: 10px 15px;
  border-radius: 8px;
}

.pagination a {
  background: #0f766e;
  color: #fff;
}

.pagination a:hover {
  background: #115e59;
}

.pagination .current {
  background: #e5e7eb;
}

.pagination .disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* ======================
   FOOTER
====================== */

footer {
  background: #0f172a;
  color: #fff;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-grid h3 {
  margin-bottom: 20px;
}

.footer-grid p,
.footer-grid a {
  color: #cbd5e1;
  line-height: 2;
  display: block;
}

.footer-grid a:hover {
  color: #0f766e;
}

.copyright {
  text-align: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

.footer-grid .social-links {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.footer-grid .social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #0f766e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid .social-icon:hover {
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(15, 118, 110, 0.3);
}

.footer-contact {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  color: #cbd5e1;
}

.footer-contact i {
  color: #14b8a6;
  font-size: 1rem;
  width: 18px;
}

.close-menu {
  display: none;
}

.about {
  background: #ffffff;
}

.about-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 30px;
  height: 600px;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  bottom: 25px;
  left: -20px;
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 240px;
}

.floating-card h4 {
  color: #0f766e;
  font-size: 2rem;
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: #0f766e;
}

.about-content p {
  line-height: 1.9;
  color: #64748b;
  margin-bottom: 25px;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #f8fafc;
  padding: 20px;
  border-radius: 18px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f766e;
  font-weight: 800;
  flex-shrink: 0;
}

/* =========================
   CONTACT SECTION WRAPPER
========================= */

.contact-section {
  padding: 100px 0;
  background: #ffffff;
}

/* FLEX LAYOUT */
.contact-wrapper {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* =========================
   LEFT SIDE (INFO)
========================= */

.contact-info {
  flex: 1;
  min-width: 320px;
}

.contact-header {
  margin-bottom: 40px;
}

.contact-header h2 {
  font-size: 2.7rem;
  color: #0f766e;
  margin-bottom: 15px;
  font-weight: 700;
}

.contact-header p {
  color: #64748b;
  max-width: 650px;
  line-height: 1.8;
}

/* CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

/* CONTACT CARD */
.contact-card {
  background: #f8fafc;
  padding: 25px 20px;
  border-radius: 18px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: 0.3s ease;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* ICON */
.contact-icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* TEXT */
.contact-card h3 {
  margin-bottom: 6px;
  color: #0f766e;
  font-size: 1.1rem;
}

.contact-card p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* =========================
   RIGHT SIDE (FORM)
========================= */

.contact-form {
  flex: 1;
  min-width: 320px;
  background: #ffffff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* FORM GROUP */
.form-group {
  margin-bottom: 18px;
}

/* INPUTS */
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: 0.3s ease;
  font-family: "Outfit", sans-serif;
  background: #f9fafb;
}

/* TEXTAREA */
.form-group textarea {
  resize: none;
}

/* FOCUS EFFECT */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #0f766e;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

/* BUTTON */
.contact-form button {
  width: 100%;
  padding: 14px;
  background: #0f766e;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

.contact-form button:hover {
  background: #0b5e58;
}

/* ======================
   RESPONSIVE
====================== */

@media (max-width: 992px) {
  .blog-flex {
    grid-template-columns: 1fr;
  }

  .blog-category {
    position: static;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 30px;
    transition: 0.4s ease;
    z-index: 10001;
  }

  .nav-links.active {
    right: 0;
  }

  .close-menu {
    display: block;
    position: absolute;
    top: 25px;
    right: 55px;
    font-size: 2.5rem;
    cursor: pointer;
    color: #0f766e;
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  body.menu-open {
    overflow: hidden;
  }

  .blog-flex {
    flex-direction: column;
  }

  .blog-category {
    width: 100%;
    position: static;
  }

  .blog-card {
    flex-direction: column;
  }

  .blog-info {
    width: 100%;
  }

  .blog-image {
    width: 100%;
    min-width: 100%;
    height: 250px;
  }

  .contact-wrapper {
    align-items: normal;
    flex-direction: column;
  }

  .contact-header h2 {
    font-size: 2.2rem;
  }

  .contact-form {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .blog-card {
    flex-direction: column;
  }

  .blog-image {
    width: 100%;
    min-width: 100%;
    height: 250px;
  }

  .slider,
  .slide {
    height: 300px;
  }

  .blog-detail .blog-info {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .section-title {
    font-size: 2rem;
  }

  .slider,
  .slide {
    height: 280px;
  }

  .blog-title {
    font-size: 22px;
  }

  .blog-info {
    padding: 20px;
  }

  .section-title,
  .about-content h2,
  .cta h2 {
    font-size: 2.1rem;
  }

  .floating-card {
    position: relative;
    left: 0;
    bottom: 150px;
    margin-top: 20px;
  }

  .about-content {
    margin-top: -150px;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: 0.3s ease;
  animation: floatWhatsapp 2s infinite ease-in-out;
}

.call-float {
  position: fixed;
  bottom: 100px;
  right: 25px;
  width: 65px;
  height: 65px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: 0.3s ease;
  animation: floatWhatsapp 2s infinite ease-in-out;
}

.whatsapp-float:hover,
.call-float:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

@keyframes floatWhatsapp {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 58px;
    height: 58px;
    bottom: 20px;
    right: 20px;
  }
  .call-float {
    width: 58px;
    height: 58px;
    bottom: 90px;
    right: 20px;
  }
}
