/* =====================================================
   ASTRADENT — Main Stylesheet  |  Light Blue Theme
   Primary: #00a8e8 · Dark: #004e98 · BG: #ffffff
   Font: Barlow Semi Condensed
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── CSS Variables ── */
:root {
  --bg:          #FFFFFF;
  --bg-2:        #F0F7FD;
  --bg-3:        #E4F1FB;
  --bg-card:     #FFFFFF;
  --blue:        #00a8e8;
  --blue-dark:   #004e98;
  --blue-mid:    #0077cc;
  --blue-faint:  rgba(0,168,232,.07);
  --blue-faint2: rgba(0,78,152,.06);
  --text:        #0f2441;
  --text-body:   #2c4a6e;
  --text-muted:  #5a7a9a;
  --text-dim:    #94b0c8;
  --border:      #cfe3f5;
  --border-glow: rgba(0,168,232,.35);
  --white:       #FFFFFF;
  --shadow:      0 2px 16px rgba(0,78,152,.08);
  --shadow-md:   0 6px 28px rgba(0,78,152,.12);
  --shadow-blue: 0 8px 32px rgba(0,168,232,.22);
  --radius:      10px;
  --radius-lg:   16px;
  --transition:  .3s cubic-bezier(.4,0,.2,1);
  --font:        'Barlow Semi Condensed', sans-serif;
  --grad:        linear-gradient(135deg, #004e98 0%, #00a8e8 100%);
  --grad-r:      linear-gradient(135deg, #00a8e8 0%, #004e98 100%);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-dark); }

/* ── Selection ── */
::selection { background: var(--blue); color: #fff; }

/* =====================================================
   SITE LOADER
   ===================================================== */
#site-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity .6s ease, visibility .6s ease;
}
#site-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: loaderFadeIn .8s ease forwards;
}
.loader-icon { width: 60px; height: 60px; position: relative; }
.loader-icon svg {
  width: 100%; height: 100%;
  filter: drop-shadow(0 0 10px rgba(0,168,232,.5));
  animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-brand { font-size: 2.2rem; font-weight: 700; letter-spacing: .04em; color: var(--text); }
.loader-brand span { color: var(--blue); }

.loader-bar-wrap {
  width: 240px; height: 3px;
  background: var(--bg-3);
  border-radius: 2px; overflow: hidden;
}
.loader-bar {
  height: 100%; width: 0%;
  background: var(--grad);
  border-radius: 2px;
  animation: loaderProgress 2s ease forwards;
  box-shadow: 0 0 10px var(--blue);
}
.loader-text {
  font-size: .82rem; color: var(--text-muted);
  letter-spacing: .15em; text-transform: uppercase;
  animation: loaderFadeIn 1s .3s ease both;
}

.loader-orbit {
  position: absolute;
  width: 88px; height: 88px;
  border: 1.5px solid rgba(0,168,232,.2);
  border-radius: 50%;
  animation: spin 2s linear infinite;
}
.loader-orbit::before {
  content: ''; position: absolute;
  top: -4px; left: 50%; width: 8px; height: 8px;
  background: var(--blue); border-radius: 50%;
  box-shadow: 0 0 8px var(--blue);
  transform: translateX(-50%);
}
.loader-orbit-2 { width: 116px; height: 116px; animation: spinR 3s linear infinite; border-color: rgba(0,78,152,.1); }

@keyframes loaderFadeIn  { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes loaderProgress { 0% { width:0%; } 60% { width:75%; } 100% { width:100%; } }
@keyframes loaderPulse { 0%,100% { transform:scale(1); filter:drop-shadow(0 0 8px rgba(0,168,232,.5)); } 50% { transform:scale(1.08); filter:drop-shadow(0 0 18px rgba(0,168,232,.8)); } }
@keyframes spin  { to { transform:rotate(360deg); } }
@keyframes spinR { to { transform:rotate(-360deg); } }

/* =====================================================
   ANNOUNCEMENT BAR
   ===================================================== */
#announcement-bar {
  background: var(--grad);
  color: #fff;
  text-align: center;
  padding: 7px 16px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  position: relative;
  z-index: 200;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 66px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
#navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,78,152,.07);
  height: 60px;
}

.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 1.5rem; font-weight: 700; letter-spacing: .03em;
}
.nav-logo svg { width: 34px; height: 34px; filter: drop-shadow(0 0 5px rgba(0,168,232,.4)); }
.nav-logo span { color: var(--blue); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 7px 14px;
  font-size: .92rem; font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .02em;
  transition: color var(--transition);
  position: relative;
  border-radius: 7px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 3px; left: 14px; right: 14px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  border-radius: 1px;
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--blue-dark); font-weight: 600; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--grad) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 14px rgba(0,168,232,.35) !important;
  transition: all var(--transition) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 7px 22px rgba(0,78,152,.3) !important; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* =====================================================
   HERO
   ===================================================== */
#home {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 90px 5% 50px;
  background: #fff;
}

#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; z-index: 0;
}

.hero-bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 65% 40%, rgba(0,168,232,.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 75%, rgba(0,78,152,.06) 0%, transparent 60%),
    linear-gradient(160deg, #fff 0%, #f5f9fd 60%, #edf4fb 100%);
  z-index: 0;
}

.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(55px);
  animation: orbFloat 8s ease-in-out infinite;
  z-index: 0;
}
.hero-orb-1 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0,168,232,.1) 0%, transparent 70%);
  top: -80px; right: 12%; animation-delay: 0s;
}
.hero-orb-2 {
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(0,78,152,.07) 0%, transparent 70%);
  bottom: 8%; left: 4%; animation-delay: -3s;
}
.hero-orb-3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(0,168,232,.06) 0%, transparent 70%);
  top: 35%; left: 38%; animation-delay: -5s;
}
@keyframes orbFloat { 0%,100% { transform:translate(0,0) scale(1); } 33% { transform:translate(18px,-14px) scale(1.04); } 66% { transform:translate(-10px,18px) scale(.96); } }

.hero-content { position: relative; z-index: 1; max-width: 660px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue-faint);
  border: 1px solid rgba(0,168,232,.22);
  border-radius: 50px; padding: 5px 14px;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: 20px;
  animation: fadeUp .8s .1s both;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%;
  animation: blinkDot 1.4s ease-in-out infinite;
}
@keyframes blinkDot { 0%,100% { opacity:1; } 50% { opacity:.2; } }

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: .01em;
  margin-bottom: 16px;
  color: var(--text);
  animation: fadeUp .8s .2s both;
}
.hero-title .line-accent {
  display: block;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem; font-weight: 400;
  color: var(--text-body);
  max-width: 540px; margin-bottom: 30px;
  line-height: 1.7;
  animation: fadeUp .8s .35s both;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 48px;
  animation: fadeUp .8s .45s both;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  background: var(--grad);
  color: #fff; font-family: var(--font);
  font-size: .95rem; font-weight: 600;
  border-radius: 50px; border: none;
  box-shadow: 0 4px 18px rgba(0,78,152,.25);
  transition: all var(--transition);
  letter-spacing: .03em;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,78,152,.35); }
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  background: #fff; color: var(--blue-dark);
  font-family: var(--font); font-size: .95rem; font-weight: 500;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-faint); transform: translateY(-2px); }

.hero-stats {
  display: flex; gap: 36px; flex-wrap: wrap;
  animation: fadeUp .8s .55s both;
}
.hero-stat { display: flex; flex-direction: column; position: relative; }
.hero-stat::after {
  content: ''; position: absolute; right: -18px; top: 10%; height: 80%;
  width: 1px; background: var(--border);
}
.hero-stat:last-child::after { display: none; }
.stat-num { font-size: 2rem; font-weight: 700; color: var(--blue-dark); line-height: 1; }
.stat-label { font-size: .76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 3px; }

/* Doctor image */
.hero-image-wrap {
  position: absolute; right: 5%; bottom: 0;
  width: 380px; z-index: 1;
  animation: fadeInRight 1s .4s both;
}
.hero-image-frame { position: relative; }
.hero-image-frame::before {
  content: '';
  position: absolute; inset: -2px;
  background: var(--grad);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  z-index: -1;
}
.hero-image-frame::after {
  content: '';
  position: absolute; bottom: 0; left: -24px; right: -24px; height: 120px;
  background: radial-gradient(ellipse at center bottom, rgba(0,78,152,.12) 0%, transparent 70%);
  z-index: -1;
}
.hero-image-frame img {
  width: 100%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  filter: drop-shadow(0 -8px 30px rgba(0,78,152,.15));
}

.hero-card-badge {
  position: absolute; left: -28px; top: 36px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px; min-width: 170px;
  box-shadow: var(--shadow-md);
  animation: floatCard 4s ease-in-out infinite;
}
.hero-card-badge-2 {
  position: absolute; right: -18px; top: 45%;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px; min-width: 152px;
  box-shadow: var(--shadow-md);
  animation: floatCard 4s ease-in-out infinite;
  animation-delay: -2s;
}
.hero-card-badge .cbadge-title,
.hero-card-badge-2 .cbadge-title { font-size: .68rem; color: var(--blue); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; }
.hero-card-badge .cbadge-value,
.hero-card-badge-2 .cbadge-value { font-size: .92rem; font-weight: 600; color: var(--text); }

@keyframes floatCard { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-7px); } }
@keyframes fadeUp { from { opacity:0; transform:translateY(26px); } to { opacity:1; transform:none; } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(36px); } to { opacity:1; transform:none; } }

.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  z-index: 1;
  animation: fadeUp 1s 1s both;
}
.scroll-indicator span { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--text-dim); }
.scroll-mouse {
  width: 20px; height: 33px;
  border: 2px solid var(--border);
  border-radius: 10px; position: relative;
}
.scroll-mouse::before {
  content: ''; position: absolute;
  top: 5px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px;
  background: var(--blue); border-radius: 2px;
  animation: scrollBob 1.6s ease-in-out infinite;
}
@keyframes scrollBob { 0%,100% { transform:translateX(-50%) translateY(0);opacity:1; } 100% { transform:translateX(-50%) translateY(9px);opacity:0; } }

/* =====================================================
   SECTION COMMONS
   ===================================================== */
section { padding: 76px 5%; position: relative; overflow: hidden; }

.section-header { text-align: center; margin-bottom: 48px; }

.section-tag {
  display: inline-block;
  font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 12px;
  position: relative; padding: 0 18px;
}
.section-tag::before, .section-tag::after {
  content: ''; position: absolute; top: 50%;
  width: 28px; height: 1.5px; background: var(--blue); opacity: .45;
}
.section-tag::before { right: 100%; }
.section-tag::after  { left: 100%; }

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 12px; color: var(--text);
}
.section-sub {
  font-size: 1rem; color: var(--text-body);
  max-width: 520px; margin: 0 auto; line-height: 1.65;
}

/* Scroll reveal */
.reveal        { opacity:0; transform:translateY(32px); transition:opacity .65s ease,transform .65s ease; }
.reveal.visible { opacity:1; transform:none; }
.reveal-left   { opacity:0; transform:translateX(-32px); transition:opacity .65s ease,transform .65s ease; }
.reveal-left.visible { opacity:1; transform:none; }
.reveal-right  { opacity:0; transform:translateX(32px); transition:opacity .65s ease,transform .65s ease; }
.reveal-right.visible { opacity:1; transform:none; }

/* =====================================================
   ABOUT SECTION
   ===================================================== */
#about { background: var(--bg-2); }

.about-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 75% at 0% 50%, rgba(0,168,232,.05) 0%, transparent 60%);
  pointer-events: none;
}

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}

.about-image-wrap { position: relative; }
.about-img-frame {
  position: relative; border-radius: var(--radius-lg); overflow: visible;
}
.about-img-frame::before {
  content: '';
  position: absolute; top: -3px; left: -3px; right: -3px; bottom: -3px;
  background: var(--grad);
  border-radius: calc(var(--radius-lg) + 3px); z-index: -1;
}
.about-img-frame img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-blue);
}

.about-creds {
  position: absolute; bottom: -18px; right: -26px;
  display: flex; flex-direction: column; gap: 9px;
}
.cred-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 9px 14px;
  display: flex; align-items: center; gap: 11px;
  min-width: 210px; box-shadow: var(--shadow-md);
}
.cred-icon {
  width: 34px; height: 34px;
  background: var(--blue-faint);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: .85rem; flex-shrink: 0;
}
.cred-text { font-size: .76rem; color: var(--text-body); line-height: 1.4; font-weight: 500; }

.about-content .section-tag { text-align: left; }
.about-title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); font-weight: 700; margin-bottom: 6px; line-height: 1.2; }
.about-title span { color: var(--blue); }
.about-role { font-size: .95rem; color: var(--blue-mid); font-weight: 500; margin-bottom: 20px; }
.about-body { font-size: .96rem; color: var(--text-body); line-height: 1.75; margin-bottom: 22px; }

.about-highlights { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.highlight-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 12px 14px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.highlight-item:hover { border-color: rgba(0,168,232,.35); transform: translateX(4px); box-shadow: var(--shadow); }
.highlight-item i { color: var(--blue); font-size: .85rem; margin-top: 3px; flex-shrink: 0; }
.highlight-item div { font-size: .88rem; color: var(--text-body); line-height: 1.45; }
.highlight-item div strong { color: var(--blue-dark); font-weight: 700; display: block; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 1px; }

/* =====================================================
   SERVICES SECTION
   ===================================================== */
#services { background: var(--bg); }

.services-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,168,232,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,168,232,.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  pointer-events: none;
  animation: gridShift 22s linear infinite;
}
@keyframes gridShift { from { background-position:0 0,0 0; } to { background-position:56px 56px,56px 56px; } }

.services-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 22px;
  position: relative; overflow: hidden;
  transition: all var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,168,232,.04) 0%, transparent 60%);
  opacity: 0; transition: opacity var(--transition);
}
.service-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--grad);
  transform: scaleX(0); transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(0,168,232,.35); box-shadow: var(--shadow-blue); }
.service-card:hover::before { opacity: 1; }
.service-card:hover::after  { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  background: var(--blue-faint);
  border: 1px solid rgba(0,168,232,.18);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; color: var(--blue);
  margin-bottom: 16px;
  transition: all var(--transition);
}
.service-card:hover .service-icon {
  background: var(--grad); color: #fff;
  box-shadow: 0 6px 20px rgba(0,78,152,.25);
  transform: scale(1.06);
}

.service-title { font-size: 1.08rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.service-desc  { font-size: .87rem; color: var(--text-muted); line-height: 1.65; }
.service-num {
  position: absolute; top: 18px; right: 18px;
  font-size: 3rem; font-weight: 700; color: rgba(0,78,152,.04);
  line-height: 1; pointer-events: none; user-select: none;
  transition: color var(--transition);
}
.service-card:hover .service-num { color: rgba(0,78,152,.07); }

/* =====================================================
   BLOG SECTION
   ===================================================== */
#blog { background: var(--bg-2); }

.blog-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 50% at 80% 50%, rgba(0,168,232,.05) 0%, transparent 60%);
  pointer-events: none;
}

.blog-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
  margin-bottom: 40px;
}

.blog-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); border-color: rgba(0,168,232,.35); box-shadow: var(--shadow-blue); }

.blog-img { width: 100%; height: 185px; overflow: hidden; }
.blog-img-placeholder {
  width: 100%; height: 185px;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; color: var(--text-dim); position: relative;
}
.blog-img-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,168,232,.06) 0%, transparent 60%);
}
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-img img { transform: scale(1.05); }

.blog-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.blog-cat {
  display: inline-block; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 9px;
  background: var(--blue-faint); padding: 3px 9px; border-radius: 4px;
  border: 1px solid rgba(0,168,232,.15);
}
.blog-title {
  font-size: 1rem; font-weight: 600; color: var(--text);
  margin-bottom: 9px; line-height: 1.38; flex: 1;
  transition: color var(--transition);
}
.blog-card:hover .blog-title { color: var(--blue-dark); }
.blog-excerpt {
  font-size: .85rem; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: .76rem; color: var(--text-dim);
  border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto;
}
.blog-meta .author { display: flex; align-items: center; gap: 5px; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .8rem; font-weight: 600; color: var(--blue);
  transition: gap var(--transition);
}
.blog-read-more:hover { gap: 9px; }

.blog-empty { text-align: center; padding: 56px 20px; color: var(--text-muted); grid-column: 1/-1; }
.blog-empty i { font-size: 2.8rem; color: var(--text-dim); margin-bottom: 14px; display: block; }

.section-cta { text-align: center; }

/* =====================================================
   CONTACT SECTION
   ===================================================== */
#contact { background: var(--bg); }

.contact-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 45% 65% at 15% 50%, rgba(0,168,232,.05) 0%, transparent 60%);
  pointer-events: none;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }

.contact-info-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 7px; }
.contact-info-sub   { font-size: .92rem; color: var(--text-body); margin-bottom: 28px; line-height: 1.6; }

.contact-details { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.contact-item:hover { border-color: rgba(0,168,232,.35); transform: translateX(4px); box-shadow: var(--shadow); }
.contact-item-icon {
  width: 40px; height: 40px;
  background: var(--grad); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .85rem; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,78,152,.2);
}
.contact-item-label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 3px; font-weight: 700; }
.contact-item-value { font-size: .92rem; color: var(--text-body); line-height: 1.5; }
.contact-item-value a { color: var(--blue); transition: color var(--transition); }
.contact-item-value a:hover { color: var(--blue-dark); }

.contact-socials { display: flex; flex-wrap: wrap; gap: 8px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 50px; color: var(--text-muted);
  font-size: .82rem; font-weight: 500;
  transition: all var(--transition);
}
.social-btn:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); background: var(--blue-faint); box-shadow: var(--shadow); }
.social-btn i { font-size: .95rem; }

/* Contact Form */
.contact-form-wrap {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 34px;
  box-shadow: var(--shadow-md);
}
.contact-form-title { font-size: 1.2rem; font-weight: 600; margin-bottom: 22px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: .74rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-2); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 11px 14px;
  color: var(--text); font-family: var(--font); font-size: .93rem;
  outline: none; transition: all var(--transition);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,168,232,.1);
  background: #fff;
}
.form-group select option { background: #fff; color: var(--text); }
.form-group textarea { min-height: 100px; resize: vertical; }

.form-msg { margin-top: 10px; padding: 11px 14px; border-radius: var(--radius); font-size: .86rem; font-weight: 500; display: none; }
.form-msg.success { background: rgba(0,168,232,.08); border: 1px solid rgba(0,168,232,.25); color: var(--blue-dark); display: block; }
.form-msg.error   { background: rgba(220,50,50,.07); border: 1px solid rgba(220,50,50,.2); color: #c0392b; display: block; }

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  background: var(--text);
  color: rgba(255,255,255,.85);
  padding: 44px 5% 24px;
}
.footer-inner { display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 9px; font-size: 1.35rem; font-weight: 700; color: #fff; }
.footer-logo svg { width: 26px; height: 26px; filter: drop-shadow(0 0 4px rgba(0,168,232,.6)); }
.footer-logo span { color: var(--blue); }

.footer-links { display: flex; flex-wrap: wrap; gap: 3px; }
.footer-links a {
  padding: 5px 11px; font-size: .86rem;
  color: rgba(255,255,255,.6);
  border-radius: 6px; transition: all var(--transition);
}
.footer-links a:hover { color: #fff; background: rgba(255,255,255,.07); }

.footer-divider { height: 1px; background: rgba(255,255,255,.1); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-made { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-made span { color: var(--blue); }

/* =====================================================
   BLOG SINGLE PAGE
   ===================================================== */
.blog-single-wrap { max-width: 800px; margin: 0 auto; padding: 110px 5% 72px; }
.blog-single-back { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; color: var(--text-muted); margin-bottom: 28px; transition: all var(--transition); }
.blog-single-back:hover { color: var(--blue); transform: translateX(-4px); }
.blog-single-cat { margin-bottom: 14px; }
.blog-single-title { font-size: clamp(1.7rem, 3.2vw, 2.8rem); font-weight: 700; line-height: 1.18; margin-bottom: 14px; }
.blog-single-meta { display: flex; align-items: center; gap: 18px; font-size: .82rem; color: var(--text-muted); margin-bottom: 30px; flex-wrap: wrap; }
.blog-single-meta span { display: flex; align-items: center; gap: 6px; }
.blog-single-cover { width: 100%; max-height: 440px; object-fit: cover; border-radius: var(--radius-lg); margin-bottom: 36px; box-shadow: var(--shadow-md); }
.blog-single-content { font-size: 1.02rem; line-height: 1.82; color: var(--text-body); }
.blog-single-content h1,.blog-single-content h2,.blog-single-content h3 { color: var(--text); margin: 28px 0 12px; font-weight: 700; }
.blog-single-content p  { margin-bottom: 16px; }
.blog-single-content ul,.blog-single-content ol { margin: 0 0 16px 22px; }
.blog-single-content li { margin-bottom: 7px; }
.blog-single-content a  { color: var(--blue); }
.blog-single-content blockquote { border-left: 3px solid var(--blue); padding: 12px 18px; background: var(--blue-faint); border-radius: 0 7px 7px 0; margin: 22px 0; color: var(--text); }
.blog-single-content img  { border-radius: var(--radius); margin: 18px 0; }
.blog-single-content code { background: var(--bg-3); padding: 2px 7px; border-radius: 4px; font-size: .88em; color: var(--blue-dark); }
.blog-single-content pre  { background: var(--bg-3); padding: 18px; border-radius: var(--radius); overflow-x: auto; margin-bottom: 16px; }

/* =====================================================
   TOAST
   ===================================================== */
#toast {
  position: fixed; bottom: 26px; right: 26px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 13px 18px;
  color: var(--text); font-size: .88rem; font-weight: 500;
  box-shadow: var(--shadow-md); z-index: 9999;
  transform: translateY(90px); opacity: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: center; gap: 9px; min-width: 250px;
}
#toast.show { transform: translateY(0); opacity: 1; }
#toast i { font-size: .95rem; }
#toast.success i { color: var(--blue); }
#toast.error i   { color: #c0392b; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .hero-image-wrap { width: 300px; right: 2%; }
  .about-grid { gap: 44px; }
}
@media (max-width: 900px) {
  section { padding: 64px 5%; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid { grid-template-columns: repeat(2,1fr); }
  .hero-image-wrap { display: none; }
  .hero-content { max-width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { max-width: 400px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: fixed; top: 60px; left: 0; right: 0; background: rgba(255,255,255,.98); backdrop-filter: blur(14px); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); gap: 3px; box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 11px 14px; width: 100%; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .hero-stat::after { display: none; }
  .contact-form-wrap { padding: 22px 18px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
