@charset "utf-8";
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
/* CSS Document */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root{
  /* Sky-blue + white theme */
  --primary: #56B9F0;        /* brand - sky blue */
  --primary-80: #2B9BE6;     /* deeper sky (hover) */
  --primary-10: #EAF8FF;     /* pale sky for card backgrounds */
  --bg: #FBFDFF;             /* page background (soft white) */
  --panel: rgba(86,185,240,0.06);
  --glass-border: rgba(43,155,230,0.12);

  --text-dark: #013243;      /* main readable text (nav/paragraphs) */
  --muted: #6F9FB1;          /* subdued text */
  --shadow: rgba(1,50,67,0.12);
}
body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg);
    color: var(--text-on-dark);
}

.neural-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 45% 60%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%),
                linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.8) 100%);
    animation: backgroundPulse 14s ease-in-out infinite;
}
.bgheart{background: 
    url('images/heart.gif') no-repeat center center,   /* Heart GIF */
    radial-gradient(circle at 15% 85%, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 85% 15%, rgba(255, 0, 0, 0.15) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(135deg, #e6f0ff 0%, #ffffff 100%);
background-size: 500px auto, cover, cover, cover;  /* size for heart + gradient layers */
    position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
    opacity: 0.1;
}
@keyframes backgroundPulse {
    0%, 100% { filter: brightness(0.9) saturate(1.4) hue-rotate(0deg); }
    33%      { filter: brightness(1.1) saturate(1.7) hue-rotate(15deg); }
    66%      { filter: brightness(1.0) saturate(1.5) hue-rotate(-10deg); }
}

/* Floating geometric shapes / hearts */
.geometric-shapes {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: visible;
    opacity: 0.1;
}

.heart {
    position: absolute;
    width: var(--s, 100px);
    height: auto;
    opacity: 0.9;
    will-change: transform, opacity;
    filter: drop-shadow(0 8px 16px rgba(255, 0, 0, 0.25));
    animation: floatHeartImg linear infinite;
}

/* Place each heart uniquely */
.heart-1 { --s: 120px; left: 10%; top: 60%; animation-duration: 20s; animation-delay: 0s; }
.heart-2 { --s: 80px;  left: 65%; top: 70%; animation-duration: 24s; animation-delay: -6s; }
.heart-3 { --s: 90px;  left: 35%; top: 40%; animation-duration: 22s; animation-delay: -10s; }
.heart-4 { --s: 140px; left: 78%; top: 75%; animation-duration: 26s; animation-delay: -14s; }

@keyframes floatHeartImg {
    0%   { transform: translateY(60vh) scale(0.9); opacity: 0; }
    10%  { opacity: 0.95; }
    50%  { transform: translateY(-15vh) scale(1.05); opacity: 1; }
    90%  { opacity: 0.7; }
    100% { transform: translateY(-110vh) scale(0.9); opacity: 0; }
}

/* Reduced motion users (merged later with other reduced-motion rules) */



/* Neural network / ECG-style animated lines */
.neural-lines {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: visible;
    opacity: 0.05;
}

#ecgMaster {
    width: 100vw;
    height: 140px;
    position: absolute;
    left: 0;
    top: 36vh;
    overflow: visible;
    display: block;
}

.ecgPathUse {
    fill: none;
    stroke: #ff0000;
    stroke-width: 3;
    stroke-linecap: square;
    stroke-linejoin: miter;
    shape-rendering: crispEdges;
    vector-effect: non-scaling-stroke;
    opacity: 1;
}

#ecgGroup {
    will-change: transform;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-name: ecgSlide;
    animation-duration: var(--ecg-duration, 5.6s);
    animation-play-state: running;
    transform: translate3d(0,0,0);
}

@keyframes ecgSlide {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(calc(var(--ecg-distance) * -1px), 0, 0); }
}

/* Glassmorphism styles */
/*
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
*/
/*
.glass-strong {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
*/

/* Enhanced Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  transition: background 0.35s ease, padding 0.25s ease, box-shadow 0.35s ease;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 0.5% 2% 0% 2.5%;
}

.site-header.scrolled {
  background: #ffffff;
  border-color: rgba(224, 163, 255, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* ---------- Layout inside header ---------- */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: auto;
  margin: 0 auto;
  height: 100%;
}

/* ---------- Logo styles ---------- */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}

.logo-icon {
  width: auto;
  height: 48px;
  max-height: 48px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #e0a3ff 0%, #ff69b4 35%, #9370db 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: none;
}
.logo:hover {
  transform: scale(1.05);
}
/* ---------- Desktop navigation ---------- */
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
  margin-left: auto;
}

.nav-links a {
  color: #9370db;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  background: rgba(224, 163, 255, 0.1);
  color: #e0a3ff;
  transform: translateY(-2px);
}

.nav-links a.active {
  color: #e0a3ff;
  background: linear-gradient(
    135deg,
    rgba(224, 163, 255, 0.15),
    rgba(255, 105, 180, 0.1)
  );
  box-shadow: 0 0 20px rgba(224, 163, 255, 0.3);
  border: 1px solid rgba(224, 163, 255, 0.2);
}



.nav-links a.external-link::after {
  content: " ↗";
  font-size: 0.8em;
  vertical-align: super;
}

/* ---------- Mobile menu button (hamburger) ---------- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(224, 163, 255, 0.1);
  box-shadow: 0 0 12px rgba(224, 163, 255, 0.3);
}

.hamburger-line {
  width: 25px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(45deg, #e0a3ff, #ff69b4);
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* Animate to X */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-6px);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------- Mobile dropdown ---------- */
.mobile-nav {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%) scale(0.98);
  width: min(92%, 420px);
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(25px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7);
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

.mobile-nav.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

.nav-links a {
  color: #6b4da9; /* soft purple text */
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-links a:hover,
.nav-links a:focus {
  background: rgba(86,185,240,0.08) !important;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(224, 163, 255, 0.25);
  transform: translateY(-2px);
  border: 1px solid rgba(224, 163, 255, 0.25);
}

/* ACTIVE / SELECTED MENU ITEM */
.nav-links a.active {
  background: linear-gradient(135deg, #e0a3ff, #ff69b4);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 25px rgba(224, 163, 255, 0.4),
    inset 0 0 10px rgba(255, 105, 180, 0.3);
  transform: translateY(-1px);
  font-weight: 600;
}


/* External link arrow */
.nav-links a.external-link::after {
  content: " ↗";
  color: #a34de0;
  font-size: 0.8em;
  vertical-align: super;
}
@keyframes gradientPulse {
  0%   { box-shadow: 0 0 10px rgba(86,185,240,0.3); }
  50%  { box-shadow: 0 0 20px rgba(43,155,230,0.5); }
  100% { box-shadow: 0 0 10px rgba(86,185,240,0.3); }
}

.nav-links a.active {
  animation: gradientPulse 2.5s ease-in-out infinite;
}

/* ---------- Mobile Nav (white glass version) ---------- */
.mobile-nav {
  position: fixed;
  top: 78px;
  left: 50%;
  transform: translateX(-50%) scale(0.98);
  width: min(92%, 420px);
  background: #ffffff; /* solid white - no transparency */
  border: 1px solid rgba(224, 163, 255, 0.25);
  border-radius: 16px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}

/* Active state when opened */
.mobile-nav.active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

/* Mobile nav link styling */
.mobile-nav a {
  color: #6b4da9;
  background: #f6f0ff; /* very light lavender shade */
  border: 1px solid rgba(224, 163, 255, 0.25);
  border-radius: 12px;
  padding: 12px 20px;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  background: linear-gradient(135deg, rgba(224, 163, 255, 0.15), rgba(255, 105, 180, 0.1));
  color: #a34de0;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(224, 163, 255, 0.25);
}


/* Hero layout (keeps column layout + modern animations) */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(224, 163, 255, 0.04) 0%, transparent 70%);
    transform: translate(-50%, -54%);
    animation: heroGlow 10s ease-in-out infinite;
    z-index: -1;
}
@keyframes heroGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.6; }
    50%      { transform: translate(-50%, -50%) scale(1.3) rotate(180deg); opacity: 1; }
}

.hero-inner {
    width: 100%;
    max-width: none;
    padding: 20px 2%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.hero {
    padding: 60px 20px 80px; /* provide outer spacing */
}
.hero-text {
    flex: 1 1 520px;
    min-width: 300px;
}
.hero-image-wrapper {
    flex: 0 0 420px;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 20px;
    overflow: hidden;
}
.hero-image {
    width: 100%;
    height: 100%;
    max-height: 50%;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(244, 209, 209, 0.35);
    transition: transform 0.45s ease, filter 0.3s ease;
}
.hero-image-wrapper:hover .hero-image {
    transform: translateY(-6px) scale(1.01);
}

.hero-content {
    max-width: 1000px;
    padding: 80px 40px;
    margin-top: 120px;
    animation: heroAppear 2.5s ease-out;
    position: relative;
    background: none;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
}
@keyframes heroAppear {
    from { opacity: 0; transform: translateY(60px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #e0a;
    opacity: 0;
    animation: slideInFromLeft 1.2s ease 0.3s forwards;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    position: relative;
    display: inline-block;
    font-weight: 300;
}
.hero-subtitle::before, .hero-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e0a3ff, transparent);
    animation: linePulse 3s ease infinite;
}
.hero-subtitle::before { left: -60px; }
.hero-subtitle::after  { right: -60px; }

@keyframes linePulse {
    0%, 100% { opacity: 0.4; transform: scaleX(0.8); }
    50%      { opacity: 1; transform: scaleX(1.2); }
}
@keyframes slideInFromLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    margin-bottom: 30px;
    background: linear-gradient(135deg, #e0a3ff 0%, #ff69b4 30%, #9370db 60%, #e0a3ff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: modernGradient 8s ease infinite;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 800;
    text-shadow: none;
    opacity: 0;
    animation: slideInFromRight 1.2s ease 0.6s forwards, modernGradient 8s ease 0.6s infinite;
}
@keyframes modernGradient {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-description {
    max-width: 700px;
    margin: 40px auto 50px;
    opacity: 0;
    animation: fadeInScale 1.2s ease 0.9s forwards;
    text-align: center;
}
.hero-description p {
    font-size: 1.2rem;
    color: #000;
    line-height: 1.7;
    margin-bottom: 0;
    font-weight: 300;
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 40px;
    margin: 60px auto 50px;
    max-width: 640px;
    opacity: 0;
    animation: slideUpStagger 1.2s ease 1.2s forwards;
}
.hero-stat {
    text-align: center;
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, rgba(224, 163, 255, 0.06), rgba(255, 105, 180, 0.04));
    border: 1px solid rgba(224, 163, 255, 0.15);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}
.hero-stat:hover {
    transform: translateY(-8px) scale(1.05);
    border-color: rgba(255, 105, 180, 0.3);
    box-shadow: 0 20px 40px rgba(224, 163, 255, 0.1);
}
.hero-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e0a3ff;
    display: block;
    text-shadow: 0 0 15px rgba(224, 163, 255, 0.4);
    margin-bottom: 8px;
}
.hero-stat-label {
    font-size: 0.8rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}
@keyframes slideUpStagger {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* defaults (optional) */
.circ-dr {
  --bg-color: #fff;
  --accent-color: #000;
    display: grid;
  align-content: center;
  gap: 2rem;
  padding: 2rem;
  font-family: "Exo 2", sans-serif;
  color: var(--color);
  background: var(--bgColor);
}

/* container */
.circ-dr ol {
  width: min(60rem, 90%);
  margin-inline: auto;

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;

  list-style: none;
  counter-reset: stepnr;
}

/* alternating accent colors (use a sane custom-property name) */
li:nth-child(6n + 1) { --accent-color: #b8df4e; }
li:nth-child(6n + 2) { --accent-color: #4cbccb; }
li:nth-child(6n + 3) { --accent-color: #7197d3; }

.circ-dr ol li {
  width: 14rem;
  --borderS: 2rem;
  aspect-ratio: 1;

  display: flex;
  flex-direction: column;
  align-items: center;   /* centers horizontally */
  justify-content: center; /* centers vertically */

  position: relative;
  text-align: center; /* centers text inside */
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circ-dr ol li:hover {
  transform: scale(1.08);
}

/* pseudo elements (make sure position and border are valid) */
.circ-dr ol li::before,
.circ-dr ol li::after {
  inset: 0;
  position: absolute;
  border-radius: 50%;
  border: var(--borderS) solid var(--bg-color);
  line-height: 1.1;
}

.circ-dr ol li::before {
  color: var(--accent-color);
  padding-left: 10rem;
  font-size: 12rem;
  font-weight: 700;
  overflow: hidden;
}

.circ-dr ol li::after {
  content: "";
  filter: drop-shadow(-0.25rem 0.25rem 0.0675rem rgba(0, 0, 0, 0.75)) blur(5px);
}

/* child widths and typography */
.circ-dr ol li > * { width: 7.5rem; }
.circ-dr ol li .icon { font-size: 2rem; color: var(--accent-color); text-align: center; }
.circ-dr ol li .descr { font-size: 0.8rem; font-weight: 300; }


/* ===== Full responsive CSS (desktop → tablet → mobile) ===== */

/* CSS reset */
*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

html {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.barea {
  box-sizing: border-box;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  position: relative;
  color: #111;
}
   .icon {
      font-size: 50px;margin-top: -5px;text-align: center;
    }
/* Typography =======================*/

.card-front__heading {
  font-size: 1rem;
  margin-top: .25rem;
  font-weight: 700;
}

.inside-page__heading {
  width: 100%;
  font-weight: 800;text-decoration: underline;
  
}

.inside-page__heading,
.card-front__text-view {
  font-size: 1rem;
  font-weight: 800;
  margin-top: .15rem;
  letter-spacing: 0.01em;
}

.inside-page__heading--city,
.card-front__text-view--city { color: linear-gradient(135deg, var(--primary), var(--primary-80)) }

.card-front__tp { color: #fafbfa; }

.card-front__text-price {
  font-size: 0.9rem;
  margin-top: -.1rem;
}

.inside-page__text {
  color: #333;
  font-size: 0.875rem;
  line-height: 1.25;
}

/* Icons */
.card-front__icon {
  fill: #fafbfa;
  font-size: 1.5vw;
  height: 2rem;
  width: 2rem;
  margin-top: -0.25rem;
}

/* Buttons */
.inside-page__btn {
  background-color: transparent;
  border: 2.5px solid;
  border-radius: .5rem;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.5rem;
  overflow: hidden;
  padding: .55rem .6rem;
  position: relative;
  text-decoration: none;
  transition: all .28s ease;
  width: 88%;
  z-index: 10;
}

.inside-page__btn::before {
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform .28s ease;
  width: 100%;
  z-index: -1;
}

.inside-page__btn--city {
  border-color: #ff40a1;
  color: #ff40a1;
}

.inside-page__btn--city::before {
  background-color: #ff40a1;
}

.inside-page__btn:hover {
  color: #fafbfa;
}

.inside-page__btn:hover::before {
  transform: scaleY(1);
}

/* Layout Structure */
.card-area {
  align-items: center;
  display: flex;
  gap: 1rem;
  height: 100%;
  justify-content: center;
  padding: 0.75rem;
}

/* Card container */
.card-section {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
  padding: 0.25rem;
}

/* Default (desktop) sizing: 10rem card */
.card {
  background-color: rgba(0,0,0, .05);
  box-shadow: -.08rem 1.2rem 4.4rem -2rem rgba(0,0,0,0.45);
  height: 12rem;          /* base height */
  position: relative;
  transition: all 0.9s ease;
  width: 12rem;           /* base width */
  border-radius: 0.35rem;
  overflow: visible;
}

/* Flip card containers */
.flip-card {
  height: 12rem;
  perspective: 80rem;
  position: absolute;
  right: 0;
  transition: all 0.9s ease;
  visibility: hidden;
  width: 12rem;
  z-index: 100;
}
.flip-card > * { visibility: visible; }

.flip-card__container {
  height: 100%;
  position: absolute;
  right: 0;
  transform-origin: left;
  transform-style: preserve-3d;
  transition: transform 0.9s ease;
  width: 100%;
}

.card-front,
.card-back {
  backface-visibility: hidden;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  border-radius: 0.25rem;
  overflow: hidden;
}

/* Front */
.card-front {
  background-color: #fafbfa;
  height: 12rem;
  width: 12rem;
}

.card-front__tp {
  align-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 57% 90%, 50% 100%, 43% 90%, 0 90%);
  display: flex;
  flex-direction: column;
  height: 10rem;
  justify-content: flex-start;
  padding: 0rem;
}

.card-front__tp--city {
background: linear-gradient(135deg, var(--primary), var(--primary-80));
}

.card-front__bt {
  align-items: center;
  display: flex;
  justify-content: center;
}

/* Back */
.card-back {
  background-color: #fafbfa;
  transform: rotateY(180deg);
}

/* Video */
.video__container {
  clip-path: polygon(0% 0%, 100% 0%, 90% 50%, 100% 100%, 0% 100%);
  height: auto;
  min-height: 100%;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* Inside page */
.inside-page {
  background-color: #fafbfa;
  box-shadow: inset 12rem 0px 3rem -1.5rem rgba(0,0,0,0.25);
  height: 100%;
  padding: 0.85rem;
  position: absolute;
  right: 0;
  transition: all 0.9s ease;
  width: 12rem;
  z-index: 1;
  border-radius: 0.25rem;
  box-sizing: border-box;
}

.inside-page__container {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
  width: 100%;
  justify-content: center;
  gap: 0.35rem;
}
/* === Tap-to-open pointer-events fix === */

/* Prevent absolute flip layer from blocking pointer events on collapsed card */
.flip-card {
  pointer-events: none; /* allow taps to go through to .card */
}

/* Allow interactive children (front/back, video, links, buttons) to receive pointer events */
.flip-card > * {
  pointer-events: auto;
}

/* Ensure inside-page and its contents can still be clicked/tapped */
.inside-page,
.inside-page * {
  pointer-events: auto;
}

/* Ensure card itself can handle taps without being blocked by gesture recognizers */
.card {
  touch-action: manipulation;
  -ms-touch-action: manipulation;
}

/* ---------------- Responsive behavior & hover/tap overrides ---------------- */

/* Hover expansion for hover-capable devices (desktop) */
@media (hover: hover) and (pointer: fine) {
  /* Desktop hover: double width */
  .card {
    transition: all 0.9s ease;
  }

  .card:hover {
    width: 22rem; /* opens to 24rem on desktop */
    box-shadow: -.08rem 1.6rem 5rem -2.4rem rgba(0,0,0,0.6);
  }

  .card:hover .flip-card__container {
    transform: rotateY(-180deg);
  }

  .card:hover .inside-page {
    box-shadow: inset 1rem 0px 3rem -0.5rem rgba(0,0,0,0.08);
  }

  /* Ensure .open (JS) matches hover behavior on desktop too */
  .card.open { width: 24rem; }
  .card.open .flip-card__container { transform: rotateY(-180deg); }
  .card.open .inside-page { box-shadow: inset 1rem 0px 3rem -0.5rem rgba(0,0,0,0.08); }
}

/* ---------------- Tablet breakpoint (max-width:900px) ---------------- */
@media (max-width: 900px) {
  /* scale the base card to 10rem */
  .card {
   
  }
  .flip-card,
  .inside-page {

  }
  .card-front {  }
  .card-front__tp {  }

  /* Tablet hover expansion when hover is available (desktops with small screens) */
  @media (hover: hover) and (pointer: fine) {
    .card:hover {  }
    .card.open { } /* JS-open obeys same width */
  }

  /* Ensure inner sizes scale */
  .card-front__icon { }
  .inside-page__btn { }
}

/* ---------------- Mobile breakpoint (max-width:600px) ---------------- */
@media (max-width: 600px) {
    .contact-section {
        padding: 80px 5px 120px !important;}
    .testimonial-slider {
        width: 99% !important;}
    .social-section {
        padding: 50px 5px !important;}
  .timeline-content {
    width:75% !important; margin-right: 2rem !important;
  }
    .about-inner {padding: 0.01px 5px !important;}
     .grid-container {padding: 0.01px 5px !important;}
    .hero-subtitle{font-size: clamp(0.9rem, 2.5vw + 0.2rem, 1.6rem) !important;letter-spacing: 0.1px !important;}
    .hero h1{font-size: clamp(1.9rem, 8vw, 3rem) !important;}
    
    .site-header {
    padding: 8px 4%;
    height: 64px;
  }
  .logo-text {
    display: none;
  }
  .logo-icon {
    height: 42px;
  }
  .mobile-nav {
    width: 100%;
    padding: 20px;
    top: 70px;
  }
  .mobile-nav a {
    font-size: 1.05rem;
  }
body.menu-locked {
    overflow: hidden;    /* fallback - main lock */
  }

  /* optional: ensure mobile-nav covers full screen when locked for best UX */
  .mobile-nav.fullscreen-locked {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100vh;
    border-radius: 0;
    padding-top: 80px; /* keep space for header */
  }    
    
  /* compact base */
  .card {
   
    box-shadow: -.06rem 0.9rem 3.2rem -1.6rem rgba(0,0,0,0.35);
  }
    .card-area {
  flex-wrap: wrap !important; /* allow wrap on small screens */
    }
  .flip-card,
  .inside-page,
  .card-front {  }
  .card-front__tp {  }
  .card-front__icon {  }
  .card-front__heading {  }
  .card-front__text-price { }
  .inside-page__btn {  }

  /* disable hover expanding on touch-only devices */
  @media (hover: none), (pointer: coarse) {
  .card:hover .flip-card__container { transform: none !important; }

  /* Force flip when tapped (open class) */
  .card.open .flip-card__container {
    transform: rotateY(-180deg) !important;
  }
}

  /* Tap-to-open width for touch devices:
     expand to available viewport width but keep horizontal padding */
  .card.open {
    width: calc(100% - 2rem) !important;
    max-width: 640px; /* safety cap for large phones */
    margin-left: auto;
    margin-right: auto;
    box-shadow: -.08rem 1.2rem 5rem -2.4rem rgba(0,0,0,0.45);
    transition: all 0.35s ease !important;
  }

  /* make sure the flip container rotates on .open for touch */
  .card.open .flip-card__container { transform: rotateY(-180deg); }
  .card.open .inside-page { box-shadow: inset 0.6rem 0px 2.4rem -0.35rem rgba(0,0,0,0.08); }
}

/* ---------------- Other utility tweaks ---------------- */

/* Make .card.open always take precedence for transition smoothing */
.card.open { transition: all 0.35s ease !important; }

/* Keep .flip-card visibility logic intact */
.flip-card > * { visibility: visible; }

/* Keep reduced motion preference (already in your CSS but repeated to ensure precedence) */



/* ---------- About section (integrates with your theme) ---------- */
.about-section {
  padding: 50px 20px;
  position: relative;
  z-index: 5;
  color: #eafcff; /* subtle readable tint over dark bg */
}

.about-inner {
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* heading + line */
.about-heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.about-heading {
  color: #013243; /* fallback */
  background: linear-gradient(90deg, #56B9F0 0%, #2B9BE6 50%, #A7E3FF 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 6px 18px rgba(1,50,67,0.06);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  animation: skyShift 8s ease-in-out infinite;
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0;
  /* keep your gradient treatment style */
  text-transform: none;
}

.about-underline {
  width: 110px;
  height: 4px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(86,185,240,0.9), rgba(43,155,230,0.7));
  box-shadow: 0 6px 18px rgba(224,163,255,0.18);
  transform-origin: center;
  animation: aboutUnderlinePulse 4s ease-in-out infinite;
}
@keyframes aboutUnderlinePulse {
  0%,100% { transform: scaleX(1); opacity: 1; }
  50% { transform: scaleX(1.12); opacity: 0.85; }
}

/* full-width description (visually full-width inside container) */


/* one cards row */
.about-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.about-card.fullwidth {
  width: 100%;
  margin: 0 auto;
  padding: 40px 30px;
  border-radius: 15px;
  transition: all 0.4s ease;
box-shadow: 0 18px 40px rgba(244, 209, 209, 0.35);
}

/* hover depth */
.about-card.fullwidth:hover {
 transform: translateY(-6px) scale(1.01);
}

/* big icon + text center */
.about-card.fullwidth .about-card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

/* title and text */
.about-card.fullwidth .about-card-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.about-card.fullwidth .about-card-text {
  font-size: 1.1rem;
  color: #000000;
  line-height: 1.8;
}

/* single card */
.about-card {
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 180px;

}

/* hover / focus */
.about-card:hover, .about-card:focus-within {
  transform: translateY(-6px) scale(1.01);
}

.about-card-text {
  margin: 0;
  font-size: 0.98rem;
  color: #000000;
  line-height: 1.6;
  font-weight: 400;
}

/* Bullet list styling */
.about-points {
  list-style: none;
  padding: 0;
  text-align: left;
}

.about-points li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #000000;
  margin: 8px 0;
  position: relative;
}


.grid-container {
  width: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(25rem, 100%), 1fr));
  gap: 2rem;
  padding: 0px 50px;
}
.cardc {
  --grad: red, blue;
  border-radius: 15px;
  display: grid;
  grid-template: 'title icon' 'content content' 'bar bar' / 1fr auto;
  font-family: system-ui, sans-serif;
  color: #444447;
  box-shadow: 0 18px 40px rgba(244, 209, 209, 0.35);
    margin: 0 auto;
 padding: 5px 21px;
    transition: all 0.4s ease; /* 👈 enables smooth motion */
  transform: translateY(0);
    background: rgba(255, 255, 255, 0.25); /* transparent white */
  border: 1px solid rgba(255, 255, 255, 0.18);
   
}
    
.cardc:hover {
  transform: translateY(-8px) scale(1.03);
}
  .titlec {
    font-size: 1rem;
    grid-area: title;
    align-self: center;
    text-transform: uppercase;
    font-weight: 700;
    word-break: break-all;
    
  }
  .iconn {
    grid-area: icon;
    font-size: 2.8rem;
    
    > i {
      color: transparent;
    background: linear-gradient(135deg, rgba(86,185,240,0.9), rgba(43,155,230,0.7));
  background-clip: text;
    }
  }
  .contentc {
    grid-area: content;
    & > *:first-child { margin-top: 0rem}
    & > *:last-child { margin-bottom: 0rem}
      padding-bottom: 15px;
  }
  &::after {
    contentc: "";
    grid-area: bar;
    height: 2px;
    background-image: linear-gradient(90deg, var(--grad));
/*     margin-inline: -1.5rem; */
  }


/* ---------- Centered stacked testimonial slider ---------- */
.testimonial-slider {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  overflow: visible; /* slides are positioned absolute */
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 40px rgba(0,0,0,0.36);
  padding: 10px 36px 64px; /* extra bottom space for dots */
  display: block;
}

/* make container for slide-stack (kept for semantics) */
.ts-track {
  position: relative;
  width: 100%;
  height: auto; /* height will be driven by slide content */
}

/* stack slides on top of each other */
.ts-slide {
  position: absolute;
  left: 0;               /* small offset from top to allow breathing */
  width: 100%;
  box-sizing: border-box;
  opacity: 0;
  transform: translateY(6px) scale(0.98);
  transition: opacity 420ms cubic-bezier(.2,.9,.2,1), transform 420ms cubic-bezier(.2,.9,.2,1);
  pointer-events: none;     /* only active slide receives pointer events */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 6px 12px 0 12px;
  text-align: center;
    
}

/* the visible slide */
.ts-slide.active {
  position: relative;       /* so it contributes to natural height when active */
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ensure .ts-track gets a height equal to active slide (so slider container doesn't collapse) */
.ts-track::after {
  content: "";
  display: block;
  clear: both;
}

/* meta + avatar */
.ts-quote { font-size: 1.12rem; color: #000000; line-height: 1.8; margin: 0; }
.ts-meta { display:flex; gap:12px; align-items:center; justify-content:center; flex-wrap:wrap; }
.ts-avatar { width:68px; height:68px; border-radius:50%; object-fit:cover; border:2px solid rgba(255,255,255,0.12); }

/* arrows (keep them visible) */
.ts-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width:40px; height:40px; border-radius:50%;
  border:none; cursor:pointer;
  background: linear-gradient(135deg,#e0a3ff,#ff69b4);
  box-shadow: 0 8px 22px rgba(224,163,255,0.24);
  display: grid; place-items:center;
  z-index: 25;
}
.ts-prev { left: 12px; }
.ts-next { right: 12px; }

/* dots: centered absolutely under slider (so always centered) */
.ts-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  display: flex;
  gap: 10px;
  z-index: 30;
}
.ts-dot {
  width:10px; height:10px; border-radius:50%;
  background: #000000;
  border: 1px solid rgba(255,255,255,0.04);
  cursor:pointer;
  transition: transform .18s ease, background .18s ease;
}
.ts-dot.active {
  background: linear-gradient(90deg, #56B9F0 0%, #2B9BE6 50%, #A7E3FF 100%);
  transform: scale(1.25);
  box-shadow: 0 8px 20px rgba(224,163,255,0.18);
}

/* responsive tweaks */
@media (max-width: 780px) {
  .testimonial-slider { padding: 28px 18px 56px; }
  .ts-avatar { width:58px; height:58px; }
  .ts-btn { display: none; } /* hide arrows on small screens */
}


/* --- Image on top --- */
.ts-avatar-top {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 8px 25px rgba(224,163,255,0.25);
  object-fit: cover;
  margin: 0 auto;
  display: block;
  background: rgba(255,255,255,0.05);
  object-position: top center;
}

/* --- Quote Icon --- */
.ts-quote-icon {
position: absolute;
  top: -26px;                 /* move above card */
  transform: translateX(-50%);
  background: linear-gradient(135deg, #e0a3ff, #ff69b4);
  color: #ffffff;
  font-size: 1.8rem;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 25px rgba(224,163,255,0.5);
  animation: floatIcon 4s ease-in-out infinite;
}
@keyframes floatIcon {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -6px); }
}

@keyframes quoteGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(224,163,255,0.4), 0 0 20px rgba(255,105,180,0.2);
  }
  50% {
    text-shadow: 0 0 20px rgba(255,105,180,0.6), 0 0 30px rgba(224,163,255,0.4);
  }
}

/* --- Adjust quote text spacing for new layout --- */
.ts-quote {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #000000;
  margin: 0 auto 20px;
  max-width: 540px;
  font-style: italic;
}

/* --- Name and role spacing below --- */
.ts-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}
.ts-name {
  font-weight: 700;
  color: #000000;
  font-size: 1.05rem;
}
.ts-role {
  color: #000000;
  font-size: 0.9rem;
  opacity: 0.85;
}
.ts-stars {
  color: #ffd36b;
  margin-top: 6px;
  font-size: 1rem;
}

/* --- Responsive tweaks for testimonial (merged below) */


.testimonials-heading {
  margin-bottom: 50px;
}


/* CTA buttons (final version kept) */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: buttonSlideUp 1.2s ease 1.5s forwards;
    margin-top: 25px;
}
@keyframes buttonSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Leave a Review Section --- */
.review-invite {
  margin-top: 60px;
  padding: 40px 20px 60px;
  text-align: center;
  border-radius: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 8px 30px rgba(224,163,255,0.15);
  max-width: 600px;
  margin-inline: auto;
  position: relative;
}

.review-title {
  font-size: 1.8rem;
  font-weight: 700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, rgba(86,185,240,0.9), rgba(43,155,230,0.7));
  background-clip: text;
}

.review-text {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 25px;
  opacity: 0.9;
}

.review-qr img {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 25px rgba(224,163,255,0.25);
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.review-qr img:hover {
  transform: scale(1.05);
}

/* Responsive adjustments for review (merged below) */


/* ---------- Follow / Connect Section ---------- */
.social-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
  color: #000;
}

.social-head {
  text-align: center;
  margin-bottom: 40px;
}
.social-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  background: linear-gradient(135deg, #e0a3ff 0%, #ff69b4 40%, #5cd4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}
.social-sub {
  color: #000;
  opacity: 0.85;
  margin-top: 8px;
  font-size: 1rem;
}

/* Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 30px;
  align-items: stretch;
}

/* Each Card */
.social-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 25px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(244, 209, 209, 0.35);
  text-align: center;
  transition: transform 0.3s ease;
  min-height: 260px; /* equal card height */
}
.social-card:hover {
  transform: translateY(-6px) scale(1.01);
}

/* Icon */
.social-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  box-shadow: 0 8px 25px rgba(224, 163, 255, 0.25);
}
.social-card.instagram .social-icon {
  background: radial-gradient(circle at 30% 20%, #feda75, #d62976, #962fbf);
}
.social-card.facebook .social-icon {
  background: linear-gradient(135deg, #1877f2, #3b5998);
}
.social-card.linkedin .social-icon {
  background: linear-gradient(135deg, #0077b5, #00a0dc);
}
.social-card.youtube .social-icon {
  background: linear-gradient(135deg, #ff0000, #ff6347);
}

/* Text */
.social-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 6px;
}
.social-desc {
  font-size: 0.98rem;
  color: #000;
  opacity: 0.9;
  line-height: 1.6;
  margin: 0 auto 20px;
  max-width: 90%;
  flex-grow: 1;
}

/* Buttons (aligned perfectly) */
.social-actions {
  margin-top: auto;
  display: flex;
  justify-content: center;
  align-items: end;
  flex-wrap: wrap;
}

/* Same button design as .inside-page__btn */
.social-btn {
  background-color: transparent;
  border: 2.5px solid;
  border-radius: .5rem;
  font-size: 0.9rem;
  font-weight: 700;
  overflow: hidden;
  padding: .55rem .6rem;
  text-decoration: none;
  transition: all .28s ease;
  color: #000;
  width: 120px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.social-btn::before {
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform .28s ease;
  width: 100%;
  z-index: -1;
  border-radius: .5rem;
}

/* Color variations */
.social-btn.instagram {
  border-color: #d62976;
}
.social-btn.instagram::before {
  background-color: #d62976;
}
.social-btn.facebook {
  border-color: #3b5998;
}
.social-btn.facebook::before {
  background-color: #3b5998;
}
.social-btn.linkedin {
  border-color: #0077b5;
}
.social-btn.linkedin::before {
  background-color: #0077b5;
}
.social-btn.youtube {
  border-color: #ff0000;
}
.social-btn.youtube::before {
  background-color: #ff0000;
}

.social-btn:hover {
  color: #fff;
  transform: translateY(-2px);
}
.social-btn:hover::before {
  transform: scaleY(1);
}

/* Unified Contact Section (Single Container) */
.contact-section {
  padding: 80px 20px 120px;
  color: #000;
  z-index: 5;
}

.contact-section .contact-intro {
  max-width: 760px;
  margin: 12px auto 0;
  color: #000;
  font-size: 1rem;
}

/* One unified background container */
.contact-wrapper {
  max-width: 900px;
  margin: 32px auto 0;
  padding: 40px 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.15);
}

/* Main content inside */
.contact-single {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Each info item with icon */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.55);
}

.contact-item .icon {
  font-size: 1.6rem;
  color: #ff4081;
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-item h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #000;
}

.contact-item p {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: #000;
  line-height: 1.6;
}

.contact-item a {
  color: #000;
  font-weight: 600;
  text-decoration: none;
}
.contact-item a:hover {
  text-decoration: underline;
}

/* Bottom Buttons */
.bottom-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed rgba(0, 0, 0, 0.2);
}

.bottom-ctas .cta-button {
  min-width: 160px;
  text-align: center;
  font-size: 0.95rem;
  color: #000;
}
.bottom-ctas .cta-button i {
  margin-right: 6px;
}

/* Minimal full-width footer */
.footer-minimal {
  width: 100%;
  background: rgba(255,255,255,0.15);
  border-top: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(15px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  color: #000;
  padding: 32px 0 18px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* Left section */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
    
}
.footer-left p {
  font-size: 0.95rem;
  color: #000;
  opacity: 0.85;
  margin: 0;
}

/* Center nav links */
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  text-decoration: none;
  font-weight: 600;
  color: #000;
  transition: color 0.3s ease;
}
.footer-nav a:hover {
  color: #ff4081;
}

/* Right side button */
.footer-right .glass-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* Bottom bar */
.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  padding: 14px 24px 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #555;
}
.footer-bottom a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}
.footer-bottom a:hover {
  color: #ff4081;
}

/* === SVG size fix only inside the barea card area === */
.barea.card-area .card-front__tp svg {
    
  max-width: 100px;
  max-height: 55px;
  display: block;
  margin: 0 auto; /* centers and adds small spacing */
  vertical-align: middle;
}

/* Optional – aligns SVG with text for consistent spacing */
.barea.card-area .card-front__tp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mar50{margin-bottom: 50px;}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
h1 .subtitle {
  display: block;
  font-size: clamp(1.1rem, 3vw, 2rem);
  font-weight: 400;
    margin-top: 0.5em; 
}


.footer-locations {
  width: 100%;
  margin-top: 10px;
}

.footer-locations h4 {
  font-size: 0.9rem;
  margin: 0 0 6px;
  font-weight: 600;
  color: #000;
}

.footer-locations-list {
  font-size: 0.8rem;
  color: #000;
  opacity: 0.8;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.footer-locations-list a {
  color: #000;
  text-decoration: none;
  opacity: 0.85;
  transition: 0.2s ease;
}

.footer-locations-list a:hover {
  opacity: 1;
  color: #ff4081;
}

/* Mobile */
@media (max-width: 540px) {
  .footer-locations-list {
    font-size: 0.82rem;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .footer-locations-list a {
    display: inline-block;
  }
}

/* base - shared */
.fw-btn {
  position: fixed;
  z-index: 99999;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: transform .18s ease, opacity .18s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  will-change: transform, opacity;
}

/* whatsapp small circle (left-bottom) */
.fw-whatsapp {
  left: 16px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.4rem;
}

/* book button (right-bottom) — short label */
.fw-book {
  right: 18px;
  bottom: 22px;
  padding: 10px 14px;
  height: 44px;
  border-radius: 28px;
  background: linear-gradient(135deg,#ff69b4,#e0a3ff);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;          /* not clickable when hidden */
  transition: opacity 260ms ease, transform 260ms ease;
}
.fw-book.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;          /* clickable when visible */
}
/* small hover tweak */
.fw-btn:hover { transform: translateY(-4px); }

/* do not obstruct content: add slight transparency */
.fw-whatsapp { opacity: 0.98; }
.fw-book { opacity: 0.98; }

body .fw-btn.fw-book {
  opacity: 1 !important;
  visibility: hidden !important;
  transform: translateY(8px) !important;
  pointer-events: none !important;
  transition: opacity 260ms ease, transform 260ms ease, visibility 0s linear 260ms;
}

/* Visible state */
body .fw-btn.fw-book.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  transition: opacity 260ms ease, transform 260ms ease;
}

/* hide on small screens to avoid obstruction */
@media (max-width: 540px) {
  .fw-book { display: none; }  /* keep WhatsApp only on mobile */
}

/* when you need both on mobile but less obstructive, reduce sizes further */
@media (max-width: 420px) {
  .fw-whatsapp { width:44px; height:44px; font-size:1.2rem; left:12px; bottom:12px; }
}

/* ====== Force-show fw-whatsapp (paste at VERY END of your CSS) ====== */
/* high-specificity + !important only where necessary so it overrides conflicting rules */

body .fw-btn.fw-whatsapp {
  display: grid !important;
  position: fixed !important;
  left: 16px !important;
  bottom: 18px !important;
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: #25D366 !important;
  color: #fff !important;
  font-size: 1.4rem !important;
  z-index: 1000000 !important;        /* very high to sit above overlays */
  opacity: 0.98 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
  place-items: center !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18) !important;
}

/* small-screen adjustments (keeps it visible and slightly smaller) */
@media (max-width: 420px) {
  body .fw-btn.fw-whatsapp {
    left: 12px !important;
    bottom: 12px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1.2rem !important;
  }
}

/* If you want it hidden on very tiny screens, use this instead of the above:
@media (max-width: 320px) {
  body .fw-btn.fw-whatsapp { display: none !important; }
}
*/


.cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-80));
    color: #000;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 15px rgba(224, 163, 255, 0.2);
}
.cta-button.secondary {
    background: transparent;
    border: 2px solid #e0a3ff;
    color: #e0a3ff;
    box-shadow: 0 4px 15px rgba(224, 163, 255, 0.1);
}
.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(224, 163, 255, 0.3);
}
.cta-button.secondary:hover {
    background: rgba(224, 163, 255, 0.08);
    box-shadow: 0 12px 30px rgba(224, 163, 255, 0.2);
}

/* Section 2: Diagonal Features */
.features {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
}
.features::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    animation: rotate 20s linear infinite;
    z-index: -1;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 80px;
    color: #9370db;
    position: relative;
    
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(135deg, #e0a3ff 0%, #ff69b4 30%, #9370db 60%, #e0a3ff 100%);
    border-radius: 2px;
}
.features-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.diagonal-grid { display: flex; flex-direction: column; gap: 60px; }
.feature-row { display: flex; align-items: center; gap: 80px; position: relative; }
.feature-row:nth-child(even) { flex-direction: row-reverse; }
.feature-content {
    flex: 1;
    padding: 50px;
    transform: skew(-5deg);
    transition: all 0.4s ease;
}
.feature-content:hover {
    transform: skew(-5deg) translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.2);
}
.feature-visual {
    flex: 1;
    height: 300px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
}
.feature-visual:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(224, 163, 255, 0.3);
}
.feature-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(224, 163, 255, 0.1), rgba(255, 105, 180, 0.1));
    z-index: 1;
    backdrop-filter: blur(1px);
    transition: all 0.4s ease;
}
.feature-visual:hover::before {
    background: linear-gradient(45deg, rgba(224, 163, 255, 0.2), rgba(255, 105, 180, 0.2));
}
.feature-row:nth-child(1) .feature-visual { background-image: url('images/templatemo-neural-01.jpg'); }
.feature-row:nth-child(2) .feature-visual { background-image: url('images/templatemo-neural-02.jpg'); }
.feature-row:nth-child(3) .feature-visual { background-image: url('images/templatemo-neural-03.jpg'); }
.feature-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    background: linear-gradient(45deg, #ff0080, #8000ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.feature-content h3 { font-size: 2.2rem; margin-bottom: 20px; color: #ffffff; }
.feature-content p { font-size: 1.1rem; color: #cccccc; line-height: 1.8; }



/* Section 4: Enhanced Timeline */
.timeline { padding: 50px 0; position: relative; }
.timeline-container { max-width: 1100px; margin: 0 auto; position: relative; padding: 0 20px; }
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #e0a3ff, #ff69b4, #9370db);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(224, 163, 255, 0.3);
}
.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 5rem;
    position: relative;
    margin-bottom: 60px;
}
.timeline-item:nth-child(even) { justify-content: flex-start; padding-left: 5rem; padding-right: 0; }
.timeline-content {
    width: 40%;
    min-height: 200px;
    padding: 10px 20px;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.4s ease;
    border: 1px solid rgba(224, 163, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.timeline-item:nth-child(even) .timeline-content { transform: perspective(1000px) rotateY(5deg); }
.timeline-content:hover {
    transform: perspective(1000px) rotateY(0deg) translateZ(20px);
    box-shadow: 0 25px 60px rgba(224, 163, 255, 0.2), 0 0 0 1px rgba(224, 163, 255, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(224, 163, 255, 0.3);
}
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 60px;
    transform: translateX(-50%);
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, #ff69b4, #e0a3ff);
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(255, 105, 180, 0.6), 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.2);
}
.timeline-year { font-size: 1.8rem; color: #ffffff; margin-bottom: 20px; font-weight: bold; text-shadow: 0 0 15px rgba(224, 163, 255, 0.4);border-radius: 10px 10px 0px 0px;background: linear-gradient(90deg, #56B9F0 0%, #2B9BE6 50%, #A7E3FF 100%) !important;
  margin-top: -11px;text-align: center; background: #fff; margin-left: -21px; margin-right: -21px; }
.timeline-content h4 { font-size: 1.5rem; color: #ffffff; margin-bottom: 20px; font-weight: 700; }
.timeline-content p { color: #ffffff; line-height: 1.7; font-size: 1rem; font-weight: 700; }

/* Section 5: Contact */
.contact { padding: 150px 0; position: relative; }
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.contact-info {
    padding: 60px 40px;
    position: relative;
}
.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1), transparent 70%);
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.1); opacity: 1; }
}
.contact-form { padding: 50px 40px; }
.form-group { margin-bottom: 30px; position: relative; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #888; }
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(45deg, #00ffff, #ff0080);
    border: none;
    border-radius: 10px;
    color: #000;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 255, 255, 0.4); }
.contact-info h3 { font-size: 2.5rem; color: #00ffff; margin-bottom: 30px; }
.contact-info p { font-size: 1.2rem; color: #cccccc; line-height: 1.7; margin-bottom: 30px; }

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 15px;
    color: #00ffff;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}
.social-links a:hover::before { left: 100%; }
.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
}

/* 
 *  */
/* Mobile Responsiveness (other breakpoints merged below) */
@media (max-width: 1366px) and (min-width: 980px) {
  .hero h1 {
    font-size: clamp(1.8rem, 4vw + 0.3rem, 3.2rem);
  }
    .hero-inner {
  padding: 20px 0%;
}
}
@media (max-width: 1050px) and (min-width: 980px) {
    .hero-subtitle
    {letter-spacing: 0.2rem;}
.card-area {
  gap: 7px;
}
 .card {
  height: 12rem;          /* base height */
  width: 11rem;           /* base width */
}

/* Flip card containers */
.flip-card {
  height: 12rem;
  width: 11rem;
}

/* Front */
.card-front {
  height: 12rem;
  width: 11rem;
}

.card-front__tp {
  height: 10rem;
}

/* Inside page */
.inside-page {
width: 11rem;
}    
    .inside-page__text {
  font-size: 0.8rem;
}
}
@media (max-width: 1024px) {
    .feature-row { flex-direction: column; gap: 40px; min-height: 720px; }
    .feature-row:nth-child(even) { flex-direction: column; }
    .feature-content { flex: 0; }
    .feature-visual { height: 250px; width: 100%; }
    .contact-container { grid-template-columns: 1fr; gap: 40px; }

    .timeline-line { left: 50px; transform: none;}
    .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; padding-left: 0px; padding-right: 0; }
    .timeline-dot { left: 30px; }
    .timeline-content { width: 85%; margin-right: 3rem;}
    .logo-text{font-size: 1rem;}
    .timeline-item:nth-child(2n){padding-left: 0px;flex-direction: row-reverse;}
  .timeline-item:nth-child(2n) .timeline-content {
    transform: none;}
    .timeline-item:nth-child(even) .timeline-content { transform: none; }
 .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    transform: none !important;
  }

  .timeline-content:hover {
    transform: none !important;
    box-shadow: none !important; /* optional: remove hover zoom as well */
  }
}


/* show mobile menu at this breakpoint */
@media (max-width: 1000px) {
   .nav-links {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }

  /* make the nav-inner a positioning context and push content to the right */
  .nav-inner {
    position: relative;              /* needed so .logo absolute is relative to nav-inner */
    justify-content: flex-end;       /* push inline items (hamburger) to the right */
    padding-left: 0.5rem;            /* optional: give a bit of left breathing room */
    padding-right: 0.5rem;
  }

  /* center the logo horizontally using absolute positioning */
  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);     /* horizontally center within nav-inner */
    top: 50%;
    transform-origin: center;
    transform: translate(-50%, -50%);/* center vertically as well */
    display: flex;
    align-items: center;
    pointer-events: auto;            /* keep link clickable */
    z-index: 10001;                  /* above other header elements (but below mobile-nav which has z-index:9999 - if you want logo above mobile-nav, raise it) */
  }

  /* make sure the logo image keeps a reasonable size on small screens */
  .logo-icon {
    height: 50px;      /* slightly smaller on mobile; change value if you prefer */
    max-height: 50px;
  }

  /* keep logo text compact & centered */
  .logo-text {
    font-size: 1.5rem;
    line-height: 1;
    white-space: nowrap;   /* prevents wrapping; if your text must wrap, remove this */
    text-align: center;
    display: inline-block;
    vertical-align: middle;
  }

  /* Ensure the hamburger stays on the right and is tappable */
  .mobile-menu-toggle {
    position: relative;   /* so it participates in normal flow on the right */
    z-index: 10002;       /* above logo to avoid accidental overlap; adjust if needed */
    margin-left: 0;       /* no auto margin: we're using justify-content:flex-end */
  }
}

/* hero stacking for smaller than 980 */
@media (max-width: 980px) {
    .hero-inner { flex-direction: column; gap: 24px; padding: 0.1px; }
    .hero-image-wrapper { width: 100%; max-width: 480px; flex: 0 0 auto; }
    .hero-text { width: 100%; }
    .hero { padding: 40px 14px 60px; }
    .hero-subtitle{font-size: 1.2rem;letter-spacing: 0.1em;}
    .hero-description {
  max-width: 100%;
        margin: 25px auto 0.1px;}
    .hero h1{margin-bottom: 2px;}
    .card-area{margin-top: 27px; height: auto;}
    .cta-buttons {
    margin-top: 50px;
}
    .about-card.fullwidth {
  padding: 27px 30px;
    }
    .about-section {
  padding: 28px 0.1px;
}
    .about-heading {
        font-size: clamp(1.4rem, 3.8vw, 2.6rem);}
    .grid-container {
padding: 0.1px 22px;
}
    .social-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));}
}

@media (max-width: 400px) {
  .mobile-nav {
    width: 96%;
    padding: 18px;
  }
        .inside-page__container {
  gap: 0.4rem !important;
}
    .inside-page__heading{font-size: 1rem !important;margin-top: 0.3rem!important;}  
    .titlec {
        font-size: 0.7rem;}

}
/* Accessibility & reduced motion */
.nav-links a:focus-visible,
.mobile-nav a:focus-visible,
.mobile-menu-toggle:focus-visible {
  outline: 2px solid rgba(224, 163, 255, 0.5);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .mobile-nav,
  .hamburger-line,
  .mobile-menu-toggle {
    transition: none !important;
  }
}

/* ---------- Scroll margin fix for anchor links ---------- */
:root {
  --header-height: 72px;
}
.section-anchor {
  scroll-margin-top: calc(var(--header-height) + 12px);
}

/* Small phones */
@media (max-width: 480px) {
    .hero-subtitle { letter-spacing: 0.18em; font-size: 0.8rem; }
    .hero-description p { font-size: 1rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap:12px; }
    .hero-image-wrapper { padding: 6px; border-radius: 12px; }
    .hero-image { border-radius: 10px; max-height: 480px; margin-top: 10px; }
      .logo-text {
    font-size: 1.2rem !important;
  }
    .inside-page__container {
  gap: 0.8rem !important;
}
    .inside-page__heading{font-size: 1.2rem !important;margin-top: 0.5rem!important;}    

    .titlec {
        font-size: 0.9rem;}
.cardc {
  padding: 5px 7px;
    }
    .timeline-content {
    width: 75% !important;
    margin-right: 0.1rem !important;
  }
}


/* Enhanced scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.8); border-radius: 6px; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffff, #ff0080);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff0080, #8000ff);
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.7);
}

/* ----------------- Consolidated / merged media queries ----------------- */

/* First occurrence of (max-width: 768px) - MERGED: all rules for exact (max-width: 768px) collected */
@media (max-width: 768px) {

 .card {
  height: 13rem;
     width:100%;
}

/* Flip card containers */
.flip-card {
  height: 13rem;
    width:100%;
}

/* Front */
.card-front {
  height: 13rem;
    width:100%;
}

.card-front__tp {
  height: 10rem;
    width:100%;
}
.inside-page {width:100%;}    
      .card:hover {
    width: 100%; /* opens to 24rem on desktop */
  }
.inside-page__container {
  justify-content: flex-start;
  gap: 2rem;
}
    .inside-page__heading{font-size: 1.5rem;margin-top: 1.5rem;}    
    .inside-page__text {
  font-size: 1rem;
}
  .card-area {
    flex-wrap: wrap !important;
  }   
    .nav-inner {
    justify-content: space-between; /* restore normal flex alignment */
    padding-left: 0.1px;
    padding-right: 0.1px;
  }

  .logo {
    position: static;                 /* reset absolute positioning */
    transform: none;
    top: auto;
    left: auto;
    display: flex;
    align-items: center;
  }

  .logo-text {
    display: inline-block;            /* restore text if hidden */
    font-size: 1.5rem;
    white-space: nowrap;
  }

  .mobile-menu-toggle {
    position: relative;               /* keep at right end */
    z-index: 10002;
  }
        .site-header {
    padding: 0.1px;
    height: 64px;
  }

    /* hearts responsive */
    .heart { filter: none; animation-duration: 30s; }
    .heart-1 { --s: 90px; left: 5%;  top: 65%; }
    .heart-2 { --s: 70px; left: 60%; top: 75%; }
    .heart-3 { --s: 70px; left: 30%; top: 50%; }
    .heart-4 { --s: 100px; left: 75%; top: 78%; }

    .about-card.fullwidth {
      padding: 30px 18px;
    }
    .about-card.fullwidth .about-card-title {
      font-size: 1.4rem;
    }
    .about-card.fullwidth .about-card-text {
      font-size: 1rem;
    }

    /* ecg adjustments */
    #ecgMaster { height: 110px; top: 44vh; }
    .ecgPathUse { stroke-width: 2.4; }
    #ecgGroup { animation-duration: calc(var(--ecg-duration, 5.6s) * 1.15); }

    /* hero/content adjustments */
    .hero-content { padding: 40px 20px; }
    .hero h1 { font-size: clamp(1.8rem, 8vw, 3rem); }
    .hero-description p { font-size: 1.1rem; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; margin: 40px auto 35px; }
    .hero-stat { padding: 15px; }
    .hero-stat-number { font-size: 1.5rem; }
    .hero-subtitle::before, .hero-subtitle::after { width: 25px; }
    .hero-subtitle::before { left: -35px; }
    .hero-subtitle::after  { right: -35px; }
    .cta-buttons { flex-direction: column; align-items: center; gap: 15px; }
    .cta-button { width: 100%; max-width: 280px; text-align: center; }

    .section-title { margin-bottom: 60px; }
    .features, .showcase, .timeline, .contact { padding: 80px 0; }
    .timeline { padding: 60px 0; }

    /* testimonial avatar/quote adjustments (from separate block) */
    .ts-avatar-top { width: 80px; height: 80px; }
    .ts-quote-icon { font-size: 2rem; }
    .ts-quote { font-size: 1rem; max-width: 420px; }

    /* review adjustments */
    .review-title { font-size: 1.5rem; }
    .review-text { font-size: 1rem; }
    .review-qr img { width: 120px; height: 120px; }

    /* social adjustments */
    .social-card {
      padding: 22px 18px;
      min-height: 240px;
    }
    .social-icon {
      width: 42px;
      height: 42px;
      font-size: 1.1rem;
    }
    .social-title {
      font-size: 1.1rem;
    }
    .social-btn {
      width: 100%;
      max-width: 140px;
    }

    /* contact adjustments */
    .contact-wrapper {
      padding: 28px 20px;
    }
    .contact-item {
      flex-direction: row;
      align-items: flex-start;
    }
    .contact-item .icon {
      font-size: 1.4rem;
    }
    .bottom-ctas {
      flex-direction: column;
        align-items: center;
    }
    .bottom-ctas .cta-button {
      width: 100%;
    }

    /* footer adjustments */
    .footer-container {
      flex-direction: column;
      text-align: center;
    }
    .footer-nav {
      gap: 16px;
    }
    .footer-bottom {
      flex-direction: column;
      gap: 6px;
      text-align: center;
    }

    /* testimonial small-screen tweaks */
    .testimonial-slider { padding: 28px 18px 56px; }
    .ts-avatar { width:58px; height:58px; }
    .ts-btn { display: none; } /* hide arrows on small screens */

    /* other small-screen utility */
    .about-card.fullwidth { padding: 30px 18px; }
    .timeline-content {
    margin-right: 0.5rem;
  }
}

/* Consolidated reduced-motion preference (merged) */
@media (prefers-reduced-motion: reduce) {
    /* hearts */
    .heart { animation: none; opacity: 0.9; }

    /* ecg */
    #ecgGroup { animation: none !important; transform: translateX(0) !important; }

    /* card / UI transitions */
    .card,
    .flip-card__container,
    .inside-page__btn::before {
      transition: none !important;
      transform: none !important;
    }
}

/* (max-width: 780px) kept separate (testimonial-specific) */
@media (max-width: 780px) {
  .testimonial-slider { padding: 28px 18px 56px; }
  .ts-avatar { width:58px; height:58px; }
  .ts-btn { display: none; } /* hide arrows on small screens */
}

/* ---------- FINAL FIX: restore logo text + hamburger on <=360px screens ---------- */
@media screen and (max-width: 360px) {
  /* Keep layout stable */
  html, body {
    min-width: 360px !important;
    overflow-x: auto !important;
  }

  /* Always show logo (both icon and text) */
  .logo {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    z-index: 99999 !important;
  }

  .logo-icon {
    height: 42px !important;
    width: auto !important;
  }

  .logo-text {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #a34de0 !important; /* your theme purple */
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
  }

  /* Make hamburger button visible and tappable */
  .mobile-menu-toggle {
    display: flex !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 100000 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  /* Hide big-screen nav links (prevents overlap) */
  .nav-links {
    display: none !important;
  }
}
/* === Global background + base text === */
body {
  background: var(--bg) !important;
  color: var(--text-dark) !important;
}

/* Keep header background WHITE as requested */
.site-header,
.site-header.scrolled {
  background: #ffffff !important;
  color: var(--text-dark) !important;
  border-color: rgba(0,0,0,0.06) !important;
  box-shadow: 0 8px 30px var(--shadow) !important;
}

/* Logo: single-tone sky blue (no multi-color gradients) */
.logo-text {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: unset !important;
  color: var(--primary) !important;
  font-weight: 700;
}

/* Nav links: calm sky-blue accents on white header */
.nav-links a {
  color: var(--text-dark) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.nav-links a:hover,
.nav-links a:focus {
  background: rgba(86,185,240,0.08) !important;
  color: var(--primary-80) !important;
  transform: translateY(-1px) !important;
}

/* Active nav item */
.nav-links a.active {
  color: #fff !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-80)) !important;
  box-shadow: 0 10px 30px rgba(43,155,230,0.12) !important;
  border: 1px solid rgba(0,0,0,0.03) !important;
}

/* Hamburger lines */
.hamburger-line { background: var(--primary) !important; }

/* Reduce visual noise from animated backgrounds (less intrusive) */
.neural-background,
.bgheart,
.geometric-shapes,
.neural-lines {
  opacity: 0.06 !important;
  filter: none !important;
}



/* Hero */
.hero {
  background: transparent !important;
}
.hero h1 {
  background: none !important;
  color: var(--text-dark) !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
}
.hero-subtitle {
  color: var(--muted) !important;
}

/* CTA buttons, submit, floating CTAs */
.cta-button,
.submit-btn,
.fw-book,
.ts-btn,
.inside-page__btn::before {
  background: linear-gradient(135deg, var(--primary), var(--primary-80)) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow: 0 12px 40px rgba(43,155,230,0.08) !important;
}
.cta-button.secondary,
.inside-page__btn--city {
  border-color: rgba(43,155,230,0.08) !important;
  color: var(--primary) !important;
}
.cta-button:hover,
.submit-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 50px rgba(43,155,230,0.12) !important;
}


/* Timeline: use sky-blue line/dots and white content */
.timeline-line,
.timeline-dot {
  background: linear-gradient(180deg, var(--primary), var(--primary-80)) !important;
  box-shadow: 0 10px 30px rgba(43,155,230,0.08) !important;
}

.timeline-content h4,
.timeline-content p
 {
  color: var(--text-dark) !important;
}

/* Testimonial text & meta */
.ts-quote,
.ts-meta,
.ts-name,
.ts-role {
  color: var(--text-dark) !important;
}
.ts-quote-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-80)) !important;
  color: #ffffff !important;
}

.contact-item .icon { color: var(--primary) !important; }

/* Footer: minimal white panels + subtle sky border */
.footer-minimal,
.footer-container,
.footer-bottom {
  background: #ffffff !important;
  color: var(--text-dark) !important;
  border-top: 1px solid rgba(43,155,230,0.04) !important;
}

/* Remove multi-color gradients & pink/purple accents throughout */

.nav-links a,
.mobile-nav a,
.footer-left p,
.footer-nav a,
.footer-bottom a {
  background-image: none !important;
  background: none !important;
  color: var(--text-dark) !important;
}

/* Scrollbar: subtle sky tint */
::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, rgba(86,185,240,0.9), rgba(43,155,230,0.7)) !important;
}

/* Keep header-specific text contrast (header remains white) */
.site-header a, .site-header .logo-icon {
  color: var(--text-dark) !important;
}

/* Accessibility: focus colors aligned with sky blue */
.nav-links a:focus-visible,
.mobile-nav a:focus-visible,
.mobile-menu-toggle:focus-visible {
  outline: 3px solid rgba(86,185,240,0.18) !important;
  outline-offset: 3px !important;
}



