/* ===========================
   THEME VARIABLES
   =========================== */
:root {
  --sky: #38bdf8;      /* Sky blue */
  --orange: #f97316;   /* Orange */
  --ink: #0f172a;      /* Dark ink text */
  --muted: #64748b;    /* Muted gray text */
  --paper: #f8fafc;    /* Background paper */
  --white: #fff;       /* Pure white */
}

/* ===========================
   BASE STYLES
   =========================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
.wrap { width: min(1140px, 92%); margin-inline: auto; }

/* ===========================
   TOPBAR (Above Navigation)
   =========================== */
.topbar {
  background: #0b1220;
  color: #cbd5e1;
  font-size: 13px;
}
.topbar .wrap {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
  padding: 6px 0;
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.header {
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 60;
  box-shadow: 0 2px 14px rgba(2,8,23,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 40px; height: 40px; border-radius: 12px;
}

/* NAV MENU */
.menu {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0; padding: 0;
}
.menu a {
  padding: 10px 12px;
  border-radius: 10px;
}
.menu a:hover { background: rgba(56,189,248,.14); }
.menu a.active { background: rgba(249,115,22,.14); }

/* HAMBURGER MENU */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px; background: #0b1220;
  transition: .25s;
}
.hamburger span:nth-child(1){ top: 12px; }
.hamburger span:nth-child(2){ top: 21px; }
.hamburger span:nth-child(3){ top: 30px; }

@media (max-width:900px) {
  .hamburger { display: block; }
  .menu { display: none; }
}

/* ===========================
   MOBILE DRAWER MENU
   =========================== */
.drawer {
  position: fixed;
  inset: 0 auto 0 -420px;
  width: 320px;
  background: #fff;
  box-shadow: 8px 0 28px rgba(2,8,23,.2);
  transition: .35s;
  z-index: 70;
  display: flex;
  flex-direction: column;
}
.drawer.open { left: 0; }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 700;
}
.drawer-menu {
  list-style: none;
  margin: 0; padding: 10px;
}
.drawer-menu a {
  display: block;
  padding: 12px;
  border-radius: 10px;
}
.drawer-menu a:hover { background: rgba(56,189,248,.14); }
.drawer-socials {
  display: flex; gap: 12px;
  padding: 14px 16px;
  font-size: 20px;
}
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(2,8,23,.35);
  backdrop-filter: blur(1px);
  opacity: 0; pointer-events: none;
  z-index: 60; transition: .25s;
}
.drawer-backdrop.show { opacity: 1; pointer-events: auto; }

/* ===========================
   HERO & CAROUSEL
   =========================== */
.hero {
  position: relative;
  background: linear-gradient(180deg,#fff, #eefaff);
}
.carousel {
  position: relative;
  overflow: hidden;
}
.carousel .track {
  display: flex;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.slide {
  position: relative;
  min-width: 100%;
  height: 90vh;
  display: grid; place-items: center;
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
}
.shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(15,23,42,.2),rgba(15,23,42,.5));
}
.slide-content {
  position: relative;
  color: #fff; text-align: center;
  padding: 0 16px; max-width: 760px;
}
.ctl {
  position: absolute; top: 50%; transform: translateY(-50%);
  border: 0; border-radius: 50%;
  width: 44px; height: 44px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(2,8,23,.15);
  cursor: pointer;
}
.ctl.prev { left: 12px; }
.ctl.next { right: 12px; }
.dots {
  position: absolute; bottom: 14px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
}
.dots button {
  width: 10px; height: 10px;
  border-radius: 50%; border: 0;
  background: rgba(255,255,255,.7);
}
.dots button.active { background: #fff; }

/* ===========================
   SECTIONS & LAYOUTS
   =========================== */
.section { padding: 56px 0; }
.section.alt { background: #fff; }
.section-head { display: grid; gap: 6px; margin-bottom: 16px; }
.between { display: flex; align-items: center; justify-content: space-between; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.mt { margin-top: 18px; }
@media (max-width:900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .slide { height: 58vh; }
}

/* ===========================
   CARDS & TILES
   =========================== */
.tile {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 26px rgba(2,8,23,.06);
}
.tile i { font-size: 26px; color: var(--sky); }
.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
@media (max-width:1000px) { .cards { grid-template-columns: repeat(2,1fr); } }
@media (max-width:700px) { .cards { grid-template-columns: 1fr; } }
.card, .post {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(2,8,23,.06);
}
.card-body, .post-body { padding: 14px; }
.row-card {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 16px; padding: 14px;
}
@media (max-width:700px) { .row-card { grid-template-columns: 1fr; } }

/* ===========================
   SUBSCRIPTION SECTION
   =========================== */
.subscribe {
  background: linear-gradient(135deg,var(--sky),var(--orange));
  color: #fff;
}
.sub-inner {
  display: flex;
  align-items: center; justify-content: space-between;
  gap: 12px; padding: 22px 0;
}
.sub-form { display: flex; gap: 8px; }
.sub-form input {
  padding: 10px 12px;
  border-radius: 12px; border: 0;
  min-width: 260px;
}
.sub-form button { border: 0; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #0284C7;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  align-items: flex-start;
}

.footer h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #fff;
}

.footer p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.footer .socials {
  margin-top: 15px;
}

.footer .socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  border-radius: 50%;
  background: #0284C7;
  color: #fff;
  font-size: 18px;
  transition: all 0.3s ease;
}

.footer .socials a:hover {
  background: lch(41.97% 94.26 297.06);   /* hover background */
  color: #022a44;        /* icon color on hover */
  transform: translateY(-3px); /* subtle lift */
}


.footer .list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .list li {
  margin-bottom: 10px;
}

.footer .list a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .list a:hover {
  color:  #0284C7; /* link hover color */
}

.footbar {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.footbar small {
  font-size: 13px;
  color: #ccc;
}

/* Responsive Fix */
@media (max-width: 600px) {
  .footer-grid {
    text-align: center;
  }
  
  .footer .socials {
    margin-top: 15px;
  }
}

/* ===========================
   BUTTONS & LINKS
   =========================== */
.btn {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
}
.btn-sky { background: var(--sky); color: #fff; }
.btn-orange { background: var(--orange); color: #fff; }
.btn-text { color: var(--sky); font-weight: 700; }
.link { color: var(--sky); font-weight: 700; }

/* ===========================
   FORMS & INPUTS
   =========================== */
input, select, textarea {
  width: 100%; padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
}
.row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width:700px) { .row { grid-template-columns: 1fr; } }
.check {
  list-style: none;
  padding: 0;
}

.check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 18px;
}

.check li::before {
  content: "✔"; /* check mark */
  position: absolute;
  left: 0;
  color: #0284C7; /* change to skyblue if you like */
  font-weight: bold;
}


/* ===========================
   MAP
   =========================== */
.map iframe {
  width: 100%; height: 320px;
  border: 0; border-radius: 16px;
  box-shadow: 0 10px 28px rgba(2,8,23,.08);
}

/* ===========================
   FLOATING ACTION BUTTONS
   =========================== */
.whatsapp {
  position: fixed; right: 18px; bottom: 86px;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  font-size: 26px;
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  z-index: 90;
}
.to-top {
  position: fixed; right: 18px; bottom: 22px;
  width: 50px; height: 50px; border-radius: 50%;
  border: 0; background: var(--sky);
  color: #fff; display: none;
  z-index: 90;
  box-shadow: 0 12px 28px rgba(56,189,248,.45);
}
.to-top.show { display: grid; place-items: center; }

/* ===========================
   ARTICLES / BLOG
   =========================== */
.article .meta { color: var(--muted); }

/* ===========================
   UTILITIES
   =========================== */
.rounded { border-radius: 16px; }

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* pushes footer down */
}

footer {
  background:  #0284C7;
  color: #fff;
  text-align: center;
  padding: 20px;
}
