/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors — Gravity Technologies brand palette
   */

  /* Primary: Teal Blue #0097A7 */
  --teal-blue: #0097A7;
  --teal-blue-dark: #006978;
  --teal-blue-deep: #004D5C;
  --teal-blue_50: rgba(0, 151, 167, 0.5);

  /* Accent: Orange #F57C00 */
  --orange: #F57C00;
  --orange-light: #FF9800;

  /* Marketing Orange */
  --marketing-orange: #FFA31A;
  --marketing-orange-dark: #E8920A;
  --marketing-orange-light: #FFF7ED;
  --marketing-orange_50: rgba(255, 163, 26, 0.5);

  /* Text grays */
  --dark-gray: #333333;
  --light-gray: #888888;

  /* Neutral */
  --platinum: hsl(0, 0%, 90%);
  --black_70: hsla(0, 0%, 0%, 0.7);
  --white: hsl(0, 0%, 100%);

  /* Legacy aliases — mapped to new palette so every reference updates */
  --st-patricks-blue: var(--teal-blue-dark);
  --royal-blue-dark: var(--teal-blue-deep);
  --chrome-yellow: var(--orange);
  --space-cadet-1: var(--teal-blue-dark);
  --space-cadet-2: var(--teal-blue-deep);
  --winter-sky_50: var(--teal-blue_50);
  --purple-navy: var(--light-gray);
  --ksu-purple: var(--teal-blue);
  --winter-sky: var(--teal-blue);
  --razzmatazz: var(--orange);
  --rajah: var(--orange-light);

  --gradient-1: linear-gradient(90deg, var(--teal-blue-deep) 0, var(--teal-blue) 51%, var(--teal-blue-deep));
  --gradient-2: linear-gradient(90deg, var(--orange), var(--orange-light));
  --gradient-orange: linear-gradient(135deg, var(--marketing-orange) 0%, var(--orange) 100%);

  /**
   * typography
   */

  --ff-source-sans-pro: 'Source Sans Pro', sans-serif;
  --ff-poppins: 'Poppins', sans-serif;

  --fs-1: 4.2rem;
  --fs-2: 3.8rem;
  --fs-3: 3.2rem;
  --fs-4: 2.5rem;
  --fs-5: 2.4rem;
  --fs-6: 2rem;
  --fs-7: 1.8rem;
  --fs-8: 1.5rem;

  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;

  /**
   * border radius
   */

  --radius-4: 4px;
  --radius-12: 12px;

  /**
   * spacing
   */

  --section-padding: 60px;

  /**
   * transition
   */

  --transition-1: 0.15s ease;
  --transition-2: 0.35s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.33, 0.85, 0.56, 1.02);

  /**
   * shadow
   */

  --shadow: 0 5px 20px 1px hsla(220, 63%, 33%, 0.1);

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li { list-style: none; }

a { text-decoration: none; }

a,
img,
span,
input,
button,
ion-icon { display: block; }

button,
input {
  background: none;
  border: none;
  font: inherit;
}

button { cursor: pointer; }

input { width: 100%; }

ion-icon { pointer-events: none; }

img { height: auto; }

address { font-style: normal; }

html {
  font-family: var(--ff-poppins);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--dark-gray);
  font-size: 1.6rem;
}

::-webkit-scrollbar { width: 10px; }

::-webkit-scrollbar-track { background-color: hsl(0, 0%, 95%); }

::-webkit-scrollbar-thumb { background-color: hsl(0, 0%, 80%); }

::-webkit-scrollbar-thumb:hover { background-color: hsl(0, 0%, 70%); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 15px; }

.h2,
.h3 { font-family: var(--ff-source-sans-pro); }

.btn {
  background-image: var(--gradient-2);
  background-size: 200%;
  color: var(--white);
  padding: 12px 35px;
  font-size: var(--fs-8);
  font-weight: var(--fw-500);
  border-radius: 0 25px;
  transition: var(--transition-2);
}

.btn:is(:hover, :focus) { background-position: right; }

.w-100 { width: 100%; }

.banner-animation { animation: waveAnim 2s linear infinite alternate; }

@keyframes waveAnim {
  0% { transform: translate(0, 0) rotate(0); }
  100% { transform: translate(2px, 2px) rotate(1deg); }
}

.section { padding-block: var(--section-padding); }

.section-title {
  color: var(--st-patricks-blue);
  font-size: var(--fs-3);
  margin-block-end: 60px;
  max-width: max-content;
  margin-inline: auto;
}

.underline { position: relative; }

.underline::before {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 6px;
  background-image: var(--gradient-2);
  border-radius: 10px;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.underline:not(.hidden)::before {
  transform: translateX(-50%) scaleX(1);
}

:is(.service-card, .features-card) .title {
  color: var(--st-patricks-blue);
  font-size: var(--fs-4);
  font-weight: var(--fw-700);
}

:is(.service-card, .features-card, .blog-card) .text { font-size: var(--fs-8); }

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.hidden {
  opacity: 0;
  transform: translateY(80px);
}

.animate-on-scroll.slide-left {
  transform: translateX(0);
}

.animate-on-scroll.slide-left.hidden {
  transform: translateX(-100px);
  opacity: 0;
}

.animate-on-scroll.slide-right {
  transform: translateX(0);
}

.animate-on-scroll.slide-right.hidden {
  transform: translateX(100px);
  opacity: 0;
}






/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header .btn { display: none; }

.header {
  --color: var(--white);

  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 2px;
  z-index: 4;
  transition: var(--transition-1);
}

.header.active {
  --color: var(--st-patricks-blue);

  position: fixed;
  background-color: var(--white);
  box-shadow: 0 2px 30px hsla(0, 0%, 0%, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.logo {
  color: var(--color);
  font-family: var(--ff-source-sans-pro);
  font-size: var(--fs-3);
}

.logo-img {
  height: 120px;
  width: auto;
  margin-top: -50px;
  margin-bottom: -50px;
}

@media (max-width: 768px) {
  .logo-img {
    height: 100px;
    margin-top: -45px;
    margin-bottom: -45px;
  }
  
  .header {
    padding-top: 15px;
  }
}

@media (max-width: 550px) {
  .logo-img {
    height: 90px;
    margin-top: -40px;
    margin-bottom: -40px;
  }
  
  .header {
    padding-top: 15px;
  }
}

.nav-open-btn {
  color: var(--color);
  font-size: 32px;
  padding: 4px;
}

.navbar {
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: -280px;
  width: 100%;
  max-width: 280px;
  min-height: 100%;
  padding: 20px;
  visibility: hidden;
  z-index: 2;
  transition: 0.25s var(--cubic-in);
}

.navbar.active {
  transform: translateX(280px);
  visibility: visible;
  transition: 0.5s var(--cubic-out);
}

.navbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 10px 30px;
}

.navbar-top .logo {
  color: var(--st-patricks-blue);
  font-size: 4.2rem;
  font-weight: var(--fw-700);
}

.nav-close-btn {
  color: var(--space-cadet-1);
  font-size: 2.8rem;
  padding: 4px;
}

.navbar-item:not(:last-child) { border-bottom: 1px solid var(--platinum); }

.navbar-link {
  color: var(--space-cadet-1);
  font-size: var(--fs-8);
  font-weight: var(--fw-600);
  padding-block: 12px;
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: var(--black_70);
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-2);
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  background-image: url("../images/hero-bg-bottom.png"),
                    url("../images/hero-bg.png"),
                    var(--gradient-1);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: -280px bottom, center, center;
  background-size: auto, cover, auto;
  padding-block-start: 120px;
  padding-block-end: var(--section-padding);
}

.hero-content { margin-block-end: 50px; }

.hero-subtitle {
  color: var(--chrome-yellow);
  font-family: var(--ff-source-sans-pro);
  font-size: var(--fs-7);
  margin-block-end: 15px;
}

.hero-title {
  color: var(--white);
  font-size: var(--fs-1);
  margin-block-end: 20px;
}

.hero-text {
  color: var(--white);
  font-size: var(--fs-8);
  margin-block-end: 30px;
}





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about-banner { margin-block-end: 30px; }

.about .section-title { margin-inline: 0; }

.about .underline::before {
  left: 0;
  transform: translateX(0);
}

.about-text {
  font-size: var(--fs-8);
  margin-block-end: 20px;
}

.stats-list {
  display: grid;
  gap: 30px;
}

.stats-card {
  text-align: center;
  padding: 15px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-12);
}

.stats-title {
  color: var(--st-patricks-blue);
  font-size: var(--fs-2);
  font-weight: var(--fw-700);
}

.stats-text { font-size: var(--fs-8); }





/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-list {
  display: grid;
  gap: 30px;
}

.service-card {
  padding: 30px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-12);
  border: 2px solid transparent;
  transition: all var(--transition-2);
}

.service-card:hover {
  transform: scale(1.05);
  border-color: var(--teal-blue);
  box-shadow: 0 0 20px rgba(0, 151, 167, 0.5);
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card .card-icon {
  background-image: url("../images/service-banner-pattern.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-color: hsla(335, 87%, 53%, 0.12);
  aspect-ratio: 1 / 1;
  max-width: 165px;
  display: grid;
  place-content: center;
  margin-inline: auto;
  transition: var(--transition-1);
}

.service-card:hover .card-icon { background-color: var(--winter-sky); }

.service-card .card-icon ion-icon {
  font-size: 5rem;
  color: var(--winter-sky);
  --ionicon-stroke-width: 20px;
  transition: var(--transition-1);
}

.service-card:hover .card-icon ion-icon { color: var(--white); }

.service-card .title {
  text-align: center;
  margin-block-end: 15px;
}

.service-card .text {
  text-align: center;
  margin-block-end: 20px;
}

.service-card .card-btn {
  margin-inline: auto;
  padding: 15px;
  border: 1px solid var(--winter-sky);
  border-radius: 50%;
  color: var(--winter-sky);
  transition: var(--transition-1);
}

.service-card .card-btn:is(:hover, :focus) {
  color: var(--white);
  background-color: var(--winter-sky);
}





/*-----------------------------------*\
  #FEATURE
\*-----------------------------------*/

.features-list > li:first-child { margin-block-end: 30px; }

.features-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.features-card .icon {
  background-image: var(--gradient-1);
  background-size: 200%;
  color: var(--white);
  min-width: max-content;
  max-width: max-content;
  font-size: 36px;
  padding: 22px;
  border-radius: 50%;
}

.features-card .icon ion-icon { --ionicon-stroke-width: 20px; }

.features-card .title { margin-block-end: 10px; }

.features-banner { margin-block: 40px; }

.features-banner > img {
  max-width: max-content;
  margin-inline: auto;
}





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog { padding-block-end: 120px; }

.blog-list {
  display: grid;
  gap: 30px;
}

.blog-card {
  padding: 20px;
  box-shadow: var(--shadow);
  border-radius: var(--radius-12);
}

.blog-card .banner {
  border-radius: var(--radius-12);
  overflow: hidden;
  margin-block-end: 15px;
}

.blog-card .banner img { transition: var(--transition-2); }

.blog-card .banner a:is(:hover, :focus) img { transform: scale(1.1); }

.blog-card .title {
  color: var(--st-patricks-blue);
  font-size: var(--fs-6);
  line-height: 1.2;
  margin-block-end: 15px;
}

.blog-card .title > a { color: inherit; }

.blog-card .title > a:is(:hover, :focus) { color: var(--razzmatazz); }

.blog-card .text { margin-block-end: 15px; }

.blog-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: var(--fs-8);
  color: var(--purple-navy);
  font-weight: var(--fw-500);
  padding-block-end: 10px;
}

.blog-card .meta ion-icon {
  color: var(--winter-sky);
  font-size: 22px;
  --ionicon-stroke-width: 35px;
}

.publish-date,
.comment {
  display: flex;
  align-items: center;
  gap: 8px;
}

.comment {
  color: inherit;
  margin-inline-start: auto;
}





/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer { font-size: var(--fs-8); }

.footer a { color: inherit; }

.footer-top {
  background-image: url("../images/footer-bg.png"), var(--gradient-1);
  background-repeat: no-repeat;
  background-size: cover, 200%;
  background-position: center, center;
  background-blend-mode: overlay;
  color: var(--white);
  padding-block: 50px;
  position: relative;
}

.footer-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.footer-top::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-2);
  z-index: 2;
}

.footer-top .container {
  position: relative;
  z-index: 1;
}

.footer-brand { margin-block-end: 20px; }

.footer-brand .logo {
  font-weight: var(--fw-700);
  margin-block-end: 10px;
  display: inline-block;
}

.footer-brand .logo .logo-img {
  width: 180px;
  height: auto;
}

.footer-brand .text {
  font-size: calc(var(--fs-8) - 0.1rem);
  margin-block-end: 12px;
  line-height: 1.6;
}

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.footer-top .social-link {
  background-color: var(--white);
  color: var(--winter-sky);
  font-size: 16px;
  padding: 6px;
  border-radius: 50%;
}

.footer-top .social-link:is(:hover, :focus) {
  background-image: var(--gradient-2);
  color: var(--white);
}

.footer-list:not(:last-child) { margin-block-end: 15px; }

.footer-list-title {
  font-family: var(--ff-source-sans-pro);
  font-size: calc(var(--fs-5) - 0.2rem);
  font-weight: var(--fw-700);
  margin-block-end: 10px;
}

.footer-link { padding-block: 3px; }

:is(.footer-link, .footer-item-link):not(address):is(:hover, :focus) { text-decoration: underline; }

.footer-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  padding-block: 6px;
}

.footer-item-icon {
  background-image: var(--gradient-2);
  padding: 8px;
  border-radius: 50%;
  font-size: 14px;
}

.footer-bottom {
  background-color: var(--space-cadet-2);
  padding: 12px;
  text-align: center;
  color: var(--white);
}

.copyright-link {
  display: inline-block;
  text-decoration: underline;
}

.copyright-link:is(:hover, :focus) { text-decoration: none; }





/*-----------------------------------*\
  #GO TO TOP
\*-----------------------------------*/

.go-top {
  position: fixed;
  bottom: 0;
  left: 15px;
  background-color: var(--winter-sky);
  color: var(--white);
  font-size: 2rem;
  padding: 14px;
  border-radius: var(--radius-4);
  box-shadow: 3px 3px 15px var(--winter-sky_50);
  z-index: 2;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition-1);
}

.go-top.active {
  visibility: visible;
  opacity: 1;
  transform: translateY(-15px);
}



/*-----------------------------------*\
  #AI CHATBOT
\*-----------------------------------*/

.chatbot {
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 10;
  font-family: var(--ff-source-sans-pro);
}

/* ── Toggle Button ── */
.chatbot-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background-image: var(--gradient-orange);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
  margin-inline-start: auto;
}

.chatbot-toggle:is(:hover, :focus) {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(220, 38, 38, 0.45);
}

.chatbot-toggle-icon,
.chatbot-toggle-close {
  transition: var(--transition-2);
}

.chatbot.active .chatbot-toggle-icon { display: none; }

.chatbot-toggle-close { display: none; }

.chatbot.active .chatbot-toggle-close {
  display: block;
  font-size: 24px;
}

/* ── Panel ── */
.chatbot-panel {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 360px;
  max-height: 520px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 12px 48px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  transform-origin: bottom right;
  transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.chatbot.active .chatbot-panel {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Header ── */
.chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-image: var(--gradient-orange);
  color: var(--white);
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-header-avatar {
  width: auto;
  height: auto;
  background: none;
  display: grid;
  place-items: center;
}

.chatbot-header-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.chatbot-header-title {
  font-size: 1.45rem;
  font-weight: var(--fw-700);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.chatbot-header-status {
  font-size: 1.1rem;
  opacity: 0.88;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chatbot-header-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf50;
  display: inline-block;
}

.chatbot-header-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  padding: 6px;
  opacity: 0.75;
  border-radius: 8px;
  transition: var(--transition-1);
  display: grid;
  place-items: center;
}

.chatbot-header-close:is(:hover, :focus) {
  opacity: 1;
  background: rgba(255, 255, 255, 0.12);
}

/* ── Chat Body ── */
.chatbot-body {
  flex: 1;
  padding: 20px 20px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #f7f8fa;
  min-height: 280px;
  max-height: 320px;
}

/* ── Messages ── */
.chatbot-msg {
  display: flex;
  gap: 10px;
  max-width: 88%;
  animation: msgIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.chatbot-msg-bot { align-self: flex-start; }

.chatbot-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.chatbot-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-image: var(--gradient-orange);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.12);
}

.chatbot-msg-bot .chatbot-msg-avatar {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.chatbot-msg-user .chatbot-msg-avatar {
  background-image: var(--gradient-orange);
}

.chatbot-msg-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.chatbot-msg-content {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--dark-gray);
}

.chatbot-msg-bot .chatbot-msg-content {
  background: var(--white);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 2px 8px rgba(0, 0, 0, 0.03);
  border-left: 3px solid var(--marketing-orange);
}

.chatbot-msg-user .chatbot-msg-content {
  background-image: var(--gradient-orange);
  color: var(--white);
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.15);
}

/* ── Footer ── */
.chatbot-footer {
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
}

/* ── Suggestion Pills ── */
.chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chatbot-suggestion {
  font-size: 1.15rem;
  padding: 6px 16px;
  border-radius: 24px;
  border: 1.5px solid var(--marketing-orange);
  background: var(--white);
  color: var(--marketing-orange);
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
  font-weight: var(--fw-600);
}

.chatbot-suggestion:is(:hover, :focus) {
  background: var(--marketing-orange);
  color: var(--white);
  border-color: var(--marketing-orange);
  box-shadow: 0 3px 12px rgba(220, 38, 38, 0.2);
  transform: translateY(-1px);
}

/* ── Input ── */
.chatbot-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.chatbot-input {
  flex: 1;
  padding: 11px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  font-size: 1.35rem;
  font-family: inherit;
  outline: none;
  transition: all 0.25s ease;
  color: var(--dark-gray);
  background: #f5f5f5;
}

.chatbot-input::placeholder {
  color: #aaa;
  font-size: 1.3rem;
}

.chatbot-input:focus {
  border-color: var(--marketing-orange);
  box-shadow: 0 0 0 3px var(--marketing-orange_50);
  background: var(--white);
}

/* ── Send Button ── */
.chatbot-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-image: var(--gradient-orange);
  color: var(--white);
  font-size: 17px;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.2);
}

.chatbot-send:is(:hover, :focus) {
  transform: scale(1.06);
  box-shadow: 0 4px 18px rgba(220, 38, 38, 0.35);
}

.chatbot-send:active {
  transform: scale(0.94);
}

/* ── Typing Indicator ── */
.chatbot-typing {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  align-items: center;
}

.chatbot-typing span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--marketing-orange);
  opacity: 0.35;
  animation: typingBounce 1.2s ease-in-out infinite;
}

.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes typingBounce {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30%           { opacity: 1;   transform: translateY(-5px); }
}

/* ── Scrollbar ── */
.chatbot-body::-webkit-scrollbar { width: 4px; }

.chatbot-body::-webkit-scrollbar-track { background: transparent; }

.chatbot-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}



/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 550px screen
 */

@media (min-width: 550px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 550px;
    margin-inline: auto;
  }

  .section-title { --fs-3: 3.6rem; }



  /**
   * HEADER
   */

  .header .btn {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-inline-start: auto;
  }



  /**
   * ABOUT
   */

  .stats-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * BLOG
   */

  .blog-card {
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 20px;
    padding: 30px;
  }

  .blog-card .banner { margin-block-end: 0; }

  .blog-card .banner a { height: 100%; }



  /**
   * FOOTER
   */

  .footer-brand,
  .footer-list:not(:last-child) { margin-block-end: 0; }

  .footer-top .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 30px;
  }

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 680px; }



  /**
   * HERO
   */

  .hero {
    min-height: 600px;
    display: grid;
    place-items: center;
  }

  .hero-content { margin-block-end: 0; }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }



  /**
   * SERVICE
   */

  .service-list { grid-template-columns: 1fr 1fr; }



  /**
   * FEATURES
   */

  .features-list > li:first-child { margin-block-end: 0; }

  .features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }



  /**
   * FOOTER
   */

  .footer-top .container { grid-template-columns: repeat(3, 1fr); }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 5.4rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 950px; }



  /**
   * HEADER
   */

  .header { padding-block: 20px; }

  .overlay,
  .nav-open-btn,
  .navbar-top { display: none; }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-start: auto;
  }

  .header .btn { margin-inline-start: 0; }

  .navbar-list {
    display: flex;
    gap: 25px;
  }

  .navbar-item:not(:last-child) { border-bottom: none; }

  .navbar-link { color: var(--color); }



  /**
   * HERO
   */

  .hero { min-height: 700px; }



  /**
   * ABOUT
   */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }



  /**
   * SERVICE
   */

  .service-list { grid-template-columns: repeat(3, 1fr); }



  /**
   * FEATURES
   */

  .features-list { grid-template-columns: 1fr; }

  .features .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .features .section-title { grid-column: 1 / 4; }

  .features-banner {
    margin-block: 0;
    display: grid;
    place-items: center;
  }



  /**
   * FOOTER
   */

  .footer-top .container { grid-template-columns: repeat(4, 1fr); }

  .footer-brand { grid-column: 1 / 5; }

  .footer-brand .text { max-width: 45ch; }

}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1200px; }

  .section-title { --fs-3: 4.6rem; }



  /**
   * HERO
   */

  .hero { min-height: 800px; }



  /**
   * BLOG
   */

  .blog-list { grid-template-columns: 1fr 1fr; }

  .blog-card { height: 100%; }

  .blog-card .content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }



  /**
   * FOOTER
   */

  .footer-top .container { grid-template-columns: 1fr 0.5fr 0.7fr 0.5fr 1fr; }

  .footer-brand { grid-column: auto; }

}





/*-----------------------------------*\
  #CONTACT — PREMIUM REDESIGN
\*-----------------------------------*/

/* ── Section shell ── */
.contact {
  position: relative;
  padding-block: 100px 120px;
  overflow: hidden;
}

/* dark gradient background */
.contact-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #03161e 0%, #071520 45%, #04101a 100%);
  z-index: 0;
}

/* subtle dot-grid overlay */
.contact-bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,151,167,0.13) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* ambient glow orbs */
.contact-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.25;
}
.contact-bg-glow--left  { background: #0097A7; top: -100px; left: -200px; }
.contact-bg-glow--right { background: #F57C00; bottom: -150px; right: -200px; }

/* all children above background */
.contact-container { position: relative; z-index: 1; }

/* ── Heading block ── */
.contact-heading {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-block-end: 64px;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-blue);
  font-size: 1.3rem;
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(0,151,167,0.1);
  border: 1px solid rgba(0,151,167,0.25);
  padding: 6px 16px;
  border-radius: 50px;
  margin-block-end: 20px;
}
.contact-eyebrow ion-icon { font-size: 1.4rem; }

.contact-title {
  font-size: var(--fs-2);
  color: #f0f8fb;
  line-height: 1.2;
  margin-block-end: 16px;
}
.contact-title-accent {
  background: linear-gradient(90deg, var(--teal-blue), #4dd0e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  font-size: var(--fs-8);
  color: #7fa8b8;
  line-height: 1.8;
}

/* ── Info strip ── */
.contact-info-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,151,167,0.18);
  border-radius: 18px;
  margin-block-end: 56px;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.cis-card {
  flex: 1 1 220px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 24px;
  transition: background var(--transition-2);
}
.cis-card:hover { background: rgba(0,151,167,0.07); }

.cis-divider {
  width: 1px;
  background: rgba(0,151,167,0.15);
  align-self: stretch;
}

.cis-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal-blue-deep), var(--teal-blue));
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,151,167,0.35);
}

.cis-label {
  font-size: 1.2rem;
  font-weight: var(--fw-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-blue);
  margin-block-end: 4px;
}
.cis-value {
  font-size: 1.4rem;
  color: #b0cdd8;
  line-height: 1.6;
}
.cis-link { transition: color var(--transition-1); }
.cis-link:hover { color: #fff; }

/* ── Form + Map grid ── */
.contact-main {
  display: grid;
  gap: 32px;
}

/* ── Form card ── */
.contact-form-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(0,151,167,0.2);
  border-radius: 24px;
  padding: 40px 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cfc-header { margin-block-end: 32px; }

.cfc-title {
  font-family: var(--ff-source-sans-pro);
  font-size: var(--fs-5);
  font-weight: var(--fw-700);
  color: #e8f4f8;
  margin-block-end: 8px;
}
.cfc-desc {
  font-size: var(--fs-8);
  color: #7fa8b8;
  line-height: 1.65;
}

/* form layout */
.form-row {
  display: grid;
  gap: 20px;
  margin-block-end: 20px;
}
.form-group { margin-block-end: 20px; }
.form-row .form-group { margin-block-end: 0; }

.form-label {
  display: block;
  font-size: 1.3rem;
  font-weight: var(--fw-600);
  color: #90bfcc;
  margin-block-end: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* field wrapper for icon + input */
.form-field {
  position: relative;
  display: flex;
  align-items: center;
}
.field-icon {
  position: absolute;
  left: 14px;
  font-size: 1.7rem;
  color: var(--teal-blue);
  pointer-events: none;
  z-index: 1;
}

.form-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  background: rgba(0,151,167,0.06);
  border: 1.5px solid rgba(0,151,167,0.2);
  border-radius: 10px;
  font-size: var(--fs-8);
  color: #e0f0f4;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-input::placeholder { color: rgba(180,210,220,0.4); }
.form-input:focus {
  border-color: var(--teal-blue);
  background: rgba(0,151,167,0.1);
  box-shadow: 0 0 0 3px rgba(0,151,167,0.15);
}

/* textarea has no icon */
.form-textarea {
  padding-left: 16px;
  resize: vertical;
  min-height: 130px;
}

.form-select { cursor: pointer; }
/* style select options */
.form-select option { background: #071520; color: #e0f0f4; }

.form-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 8px;
  font-size: var(--fs-8);
}

/* ── Map card ── */
.contact-map-card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,151,167,0.2);
  border-radius: 24px;
  padding: 40px 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cmc-header { /* uses same .cfc-title / .cfc-desc classes */ }

/* map iframe wrapper */
.map-wrapper {
  position: relative;
  flex: 1;
  min-height: 340px;
  border-radius: 18px;
}

/* animated gradient border ring */
.map-border-ring {
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--teal-blue), var(--orange), var(--teal-blue));
  background-size: 300% 300%;
  animation: mapRingAnim 5s ease infinite;
  z-index: 0;
}
@keyframes mapRingAnim {
  0%   { background-position: 0% 50%;   }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%;   }
}

/* inner map container clips the iframe */
.map-inner {
  position: relative;
  z-index: 1;
  border-radius: 17px;
  overflow: hidden;
  height: 100%;
  min-height: 340px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.45);
}
.map-inner iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  min-height: 340px;
}

/* floating pin badge */
.map-pin-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0,151,167,0.25);
  border-radius: 14px;
  padding: 12px 16px;
  max-width: 230px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  animation: badgeIn 0.5s cubic-bezier(0.34,1.56,0.64,1) 0.4s both;
}
@keyframes badgeIn {
  from { opacity:0; transform: translateY(8px) scale(0.96); }
  to   { opacity:1; transform: translateY(0) scale(1); }
}

.map-pin-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.5);
  animation: pinPulse 2.2s ease-out infinite;
}
@keyframes pinPulse {
  0%  { box-shadow: 0 0 0 0   rgba(34,197,94,0.55); }
  70% { box-shadow: 0 0 0 9px rgba(34,197,94,0);    }
  100%{ box-shadow: 0 0 0 0   rgba(34,197,94,0);    }
}

.map-pin-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.map-pin-text strong {
  font-size: 1.3rem;
  font-weight: var(--fw-700);
  color: var(--teal-blue-dark);
  line-height: 1.3;
}
.map-pin-text span {
  font-size: 1.2rem;
  color: var(--light-gray);
  line-height: 1.4;
}

/* action row */
.map-action-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.map-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: var(--fw-600);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.map-cta ion-icon { font-size: 1.6rem; }

.map-cta--primary {
  background: linear-gradient(135deg, var(--teal-blue-deep), var(--teal-blue));
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,151,167,0.35);
}
.map-cta--primary:hover {
  box-shadow: 0 6px 24px rgba(0,151,167,0.55);
  transform: translateY(-2px);
}

.map-cta--ghost {
  background: transparent;
  color: var(--teal-blue);
  border: 1.5px solid rgba(0,151,167,0.4);
}
.map-cta--ghost:hover {
  background: rgba(0,151,167,0.1);
  border-color: var(--teal-blue);
}

/* ── Responsive ── */
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 860px) {
  .contact-info-strip { flex-wrap: nowrap; }
  .cis-divider { display: block; }
}

@media (min-width: 992px) {
  .contact-main { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .map-wrapper   { min-height: 420px; }
  .map-inner     { min-height: 420px; }
  .map-inner iframe { min-height: 420px; }
}







/*-----------------------------------*\
  #CONTACT AURORA BACKGROUND
  Ported from Aceternity UI AuroraBackground.
  Pure CSS — zero JS required.
\*-----------------------------------*/

/* clips the -10px inset bleed */
.aurora-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.aurora-layer {
  position: absolute;
  inset: -10px;          /* bleed past edges so shimmer never clips */
  opacity: 0.2;
  filter: blur(10px) invert(1);
  will-change: background-position;

  /* aurora colour bands — blues, indigo, muted violet */
  --aurora:
    repeating-linear-gradient(
      -100deg,
      #3b82f6  10%,
      #a5b4fc  15%,
      #93c5fd  20%,
      #4A4458  25%,
      #60a5fa  30%
    );

  /* dark stripe mask — creates the banded gap effect */
  --dark-gradient:
    repeating-linear-gradient(
      -100deg,
      #000000     0%,
      #000000     7%,
      transparent 10%,
      transparent 12%,
      #000000     16%
    );

  background-image: var(--dark-gradient), var(--aurora);
  background-size: 300%, 200%;
  background-position: 50% 50%, 50% 50%;

  /* fade toward edges — matches Aceternity's radial mask */
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 95%);
          mask-image: radial-gradient(ellipse at 100% 0%, black 10%, transparent 95%);
}

/* second layer — shifts at a different speed for depth.
   mix-blend-mode: difference creates the iridescent colour flip. */
.aurora-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--dark-gradient), var(--aurora);
  background-size: 200%, 100%;
  background-attachment: fixed;
  mix-blend-mode: difference;
  animation: auroraShift 12s linear infinite;
}

@keyframes auroraShift {
  0%   { background-position: 50% 50%,  50% 50%; }
  25%  { background-position: 20% 80%,  80% 20%; }
  50%  { background-position: 80% 20%,  20% 80%; }
  75%  { background-position: 60% 40%,  40% 60%; }
  100% { background-position: 50% 50%,  50% 50%; }
}

/* z-index stacking */
.contact-bg-grid { z-index: 2; }
.contact-bg-glow { z-index: 0; }
.contact-container { z-index: 3; }
