/* ============================================
   JAY VERMA PORTFOLIO  ·  style.css
   Light theme · Teal accent · Sidebar layout
   ============================================ */

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

:root {
  --teal:      #149ddd;
  --teal-dark: #1187c1;
  --dark:      #2c2c2c;
  --sidebar-bg:#040b14;
  --sidebar-w: 300px;
  --text:      #444;
  --muted:     #777;
  --light-bg:  #f5f8fd;
  --white:     #ffffff;
  --border:    #e8e8e8;
  --radius:    4px;
  --ff-body:   'Poppins', sans-serif;
  --ff-head:   'Raleway', sans-serif;
  --tr:        0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  display: flex;
  min-height: 100vh;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 3px; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  width: var(--sidebar-w);
  background: var(--sidebar-bg);
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  z-index: 100;
}

.sidebar-top {
  padding: 30px 20px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
}

.avatar-wrap { margin-bottom: 15px; display: flex; justify-content: center; }

.avatar-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  border: 4px solid rgba(255,255,255,0.15);
}

.sb-name {
  color: #fff;
  font-family: var(--ff-head);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.sb-role {
  color: #aaa;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.sb-socials {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding-bottom: 5px;
}
.sb-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #ccc;
  font-size: 0.8rem;
  text-decoration: none;
  transition: background var(--tr), color var(--tr);
}
.sb-socials a:hover { background: var(--teal); color: #fff; }

/* NAV */
.sb-nav {
  width: 100%;
  padding: 20px 0;
  flex: 1;
}
.sb-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px;
  color: #a8a9b4;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color var(--tr), background var(--tr);
  border-left: 3px solid transparent;
}
.sb-link i { font-size: 0.8rem; width: 16px; text-align: center; }
.sb-link:hover { color: #fff; background: rgba(255,255,255,0.05); border-left-color: var(--teal); }
.sb-link.active { color: #fff; background: rgba(20,157,221,0.12); border-left-color: var(--teal); }

.sb-copy {
  color: #555;
  font-size: 0.72rem;
  padding: 15px;
  text-align: center;
}

/* ============================================
   MAIN
   ============================================ */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
}

/* BANNER */
.banner {
  position: relative;
  background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&auto=format&fit=crop&q=60') center/cover no-repeat;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 60px 50px;
}
.banner-overlay {
  position: absolute; inset: 0;
  background: rgba(5, 13, 24, 0.82);
}
.banner-body {
  position: relative;
  z-index: 1;
}
.banner-name {
  font-family: var(--ff-head);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.banner-sub {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 1px;
}
.banner-sub #typed {
  color: var(--teal);
  font-weight: 600;
}
.blinking-cursor {
  color: var(--teal);
  font-weight: 300;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ============================================
   SECTIONS
   ============================================ */
.sec {
  padding: 60px 50px;
}
.sec-alt {
  background: var(--light-bg);
}

.sec-head {
  margin-bottom: 30px;
}
.sec-head h2 {
  font-family: var(--ff-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  padding-bottom: 12px;
}
.sec-head h2::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 3px;
  background: var(--teal);
  border-radius: 2px;
}
.sec-line { display: none; }

.sec-intro {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 720px;
  margin-top: 10px;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  margin-top: 30px;
  align-items: start;
}

.photo-box {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8f4fd, #cce8f6);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal);
  border: 3px solid var(--teal);
}

.about-title {
  font-family: var(--ff-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin: 18px 0;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ai-row {
  display: flex;
  gap: 6px;
  font-size: 0.88rem;
  align-items: center;
}
.ai-key {
  color: var(--dark);
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
}
.ai-key i { color: var(--teal); font-size: 0.75rem; }
.ai-val { color: var(--muted); }
.ai-val.green { color: #28a745; font-weight: 600; }

.hire-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 28px;
  background: var(--teal);
  color: #fff;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background var(--tr), transform var(--tr);
}
.hire-btn:hover { background: var(--teal-dark); transform: translateY(-2px); }

/* ============================================
   FACTS
   ============================================ */
.facts-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.fact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: transform var(--tr), box-shadow var(--tr);
}
.fact-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(20,157,221,0.12); }
.fact-ico {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 12px;
}
.fact-num {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.fact-card p {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================
   SKILLS
   ============================================ */
.skills-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 50px;
  margin-top: 30px;
}
.sk-item { margin-bottom: 18px; }
.sk-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 500;
}
.sk-bar {
  height: 8px;
  background: #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}
.sk-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 4px;
  width: 0;
  transition: width 1.3s cubic-bezier(.4,0,.2,1);
}

/* ============================================
   RESUME
   ============================================ */
.resume-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}
.res-group {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
}
.res-group i { color: var(--teal); }

.tl-item {
  position: relative;
  padding: 16px 16px 16px 20px;
  margin-bottom: 16px;
  border-left: 2px solid #dde;
  background: var(--white);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.tl-item::before {
  content: '';
  position: absolute;
  left: -7px; top: 18px;
  width: 12px; height: 12px;
  background: var(--teal);
  border-radius: 50%;
  border: 2px solid #fff;
}
.tl-summary { border-left-color: var(--teal); }

.tl-date-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}
.tl-item h4 {
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.tl-org {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.tl-item p { color: var(--muted); font-size: 0.86rem; line-height: 1.75; }
.tl-item ul {
  padding-left: 16px;
  margin-top: 6px;
}
.tl-item ul li {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
  margin-bottom: 3px;
}

/* ============================================
   PORTFOLIO
   ============================================ */
.pf-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}
.pf-btn {
  padding: 6px 18px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--tr);
}
.pf-btn:hover, .pf-btn.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pf-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--tr);
}
.pf-card:hover { transform: translateY(-4px); }
.pf-thumb {
  width: 100%;
  padding-top: 70%;
  background-size: cover;
  background-position: center;
}
.pf-t1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.pf-t2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.pf-t3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.pf-t4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.pf-t5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.pf-t6 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }

.pf-hover {
  position: absolute;
  inset: 0;
  background: rgba(20,157,221,0.88);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--tr);
  padding: 20px;
  text-align: center;
}
.pf-card:hover .pf-hover { opacity: 1; }
.pf-hover h4 { color: #fff; font-family: var(--ff-head); font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.pf-hover p { color: rgba(255,255,255,0.85); font-size: 0.8rem; }
.pf-card.hidden { display: none; }

/* ============================================
   SERVICES
   ============================================ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 22px;
  transition: transform var(--tr), box-shadow var(--tr);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(20,157,221,0.1); }
.svc-ico {
  width: 52px; height: 52px;
  background: rgba(20,157,221,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--teal);
  margin-bottom: 16px;
  transition: background var(--tr), color var(--tr);
}
.svc-card:hover .svc-ico { background: var(--teal); color: #fff; }
.svc-card h4 {
  font-family: var(--ff-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.svc-card p { color: var(--muted); font-size: 0.86rem; line-height: 1.75; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 26px 22px;
  position: relative;
  transition: box-shadow var(--tr);
}
.testi-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 10px; right: 20px;
  font-size: 4rem;
  color: rgba(20,157,221,0.15);
  font-family: Georgia, serif;
  line-height: 1;
}
.testi-text {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.8;
  margin-bottom: 18px;
  font-style: italic;
}
.testi-author {
  display: flex;
  gap: 12px;
  align-items: center;
}
.testi-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.9rem; color: var(--dark); }
.testi-author span { font-size: 0.78rem; color: var(--teal); }

/* ============================================
   CONTACT
   ============================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  margin-top: 30px;
}
.ci-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.ci-icon {
  width: 44px; height: 44px;
  background: var(--teal);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.ci-row strong { display: block; font-size: 0.9rem; color: var(--dark); font-weight: 600; }
.ci-row span { font-size: 0.85rem; color: var(--muted); }

.map-box {
  margin-top: 10px;
  background: #e8f4fd;
  border: 1px solid #c9e4f4;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--teal);
}
.map-pin { font-size: 2rem; }
.map-box span { font-size: 0.85rem; color: var(--muted); text-align: center; }

/* FORM */
.contact-form-wrap { padding-top: 4px; }
.cf-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.contact-form-wrap input,
.contact-form-wrap textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--ff-body);
  font-size: 0.88rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--tr);
  outline: none;
  resize: none;
}
.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus { border-color: var(--teal); }
.contact-form-wrap textarea { margin-bottom: 14px; display: block; }

.send-btn {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 11px 32px;
  border-radius: 30px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
  letter-spacing: 0.3px;
}
.send-btn:hover { background: var(--teal-dark); transform: translateY(-2px); }

.success-msg {
  display: none;
  margin-top: 12px;
  padding: 10px 16px;
  background: #e8f8ee;
  border: 1px solid #b2dfdb;
  border-radius: 4px;
  color: #2e7d32;
  font-size: 0.86rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--sidebar-bg);
  color: #aaa;
  text-align: center;
  padding: 20px 40px;
  font-size: 0.82rem;
}
.footer strong { color: var(--teal); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --sidebar-w: 250px; }
  .about-grid { grid-template-columns: 180px 1fr; }
  .resume-wrap { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: repeat(2, 1fr); }
  .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --sidebar-w: 0px; }
  .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .sidebar.open { transform: translateX(0); width: 260px; }
  .main { margin-left: 0; }
  .sec { padding: 40px 24px; }
  .banner { padding: 40px 24px; }
  .banner-name { font-size: 2rem; }
  .about-grid { grid-template-columns: 1fr; }
  .skills-wrap { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .testi-row { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .cf-row2 { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}


/* ============================================
   PORTFOLIO — CARD STYLE
   ============================================ */
.pf-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}
.pf-btn {
  padding: 6px 18px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--tr);
}
.pf-btn:hover, .pf-btn.active {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--tr), box-shadow var(--tr);
  cursor: pointer;
}
.pf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(20,157,221,0.13);
}
.pf-thumb {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 0;
}
.pf-thumb-icon {
  font-size: 3rem;
  color: rgba(255,255,255,0.9);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}
.pf-t1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.pf-t2 { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.pf-t3 { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.pf-t4 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.pf-t5 { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.pf-t6 { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }

.pf-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pf-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pf-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.pf-tag-py  { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.pf-tag-se  { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.pf-tag-js  { background: #f3e5f5; color: #6a1b9a; border: 1px solid #ce93d8; }
.pf-tag-tl  { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }

.pf-body h4 {
  font-family: var(--ff-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
}
.pf-body p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}
.pf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  gap: 8px;
  flex-wrap: wrap;
}
.pf-purchases {
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.pf-purchases i { color: var(--teal); }
.pf-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  padding: 5px 14px;
  border: 1px solid var(--teal);
  border-radius: 20px;
  transition: background var(--tr), color var(--tr), gap var(--tr);
  white-space: nowrap;
}
.pf-view-btn:hover {
  background: var(--teal);
  color: #fff;
  gap: 10px;
}
.pf-hover { display: none; }
.pf-card.hidden { display: none; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testi-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  position: relative;
}
.testi-row {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scroll-behavior: smooth;
  flex: 1;
}
.testi-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 22px 20px;
  min-width: calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: box-shadow var(--tr);
}
.testi-card:hover { box-shadow: 0 6px 24px rgba(20,157,221,0.10); }
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 10px; right: 18px;
  font-size: 4rem;
  color: rgba(20,157,221,0.12);
  font-family: Georgia, serif;
  line-height: 1;
}
.testi-top {
  display: flex;
  gap: 12px;
  align-items: center;
}
.testi-av {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.testi-top strong { display: block; font-size: 0.9rem; color: var(--dark); }
.testi-top span   { font-size: 0.76rem; color: var(--teal); }
.testi-text {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}
.read-more-btn {
  background: none;
  border: none;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-family: var(--ff-body);
  transition: color var(--tr);
  align-self: flex-start;
}
.read-more-btn:hover { color: var(--teal-dark); }

/* Arrows */
.testi-arrow {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--teal);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--tr), color var(--tr);
}
.testi-arrow:hover { background: var(--teal); color: #fff; }

/* Modal */
.testi-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}
.testi-modal.open { display: flex; }
.testi-modal-box {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 520px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}
.testi-modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: none;
  font-size: 1rem;
  color: var(--muted);
  cursor: pointer;
  transition: color var(--tr);
}
.testi-modal-close:hover { color: var(--dark); }
.testi-modal-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.testi-modal-av {
  width: 52px; height: 52px;
  font-size: 1rem;
}
.testi-modal-top strong { display: block; font-size: 1rem; color: var(--dark); }
.testi-modal-top span   { font-size: 0.82rem; color: var(--teal); }
.testi-modal-box p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
  font-style: italic;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
  align-items: stretch;
}
.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: transform var(--tr), box-shadow var(--tr);
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}
.contact-card-ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.contact-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.contact-card-body strong {
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 600;
}
.contact-card-body span {
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-card-arrow {
  color: var(--border);
  font-size: 0.8rem;
  transition: color var(--tr), transform var(--tr);
  flex-shrink: 0;
}
.contact-card:hover .contact-card-arrow {
  color: var(--teal);
  transform: translateX(4px);
}
.contact-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 300px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: block;
}

@media (max-width: 960px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-map  { min-height: 250px; }
}
@media (max-width: 560px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* BANNER */
.banner {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  padding: 60px 50px;
  overflow: hidden;
}
.banner-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.banner-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.banner-slide.active { opacity: 1; }

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 13, 24, 0.78);
  z-index: 1;
}
.banner-body {
  position: relative;
  z-index: 2;
  flex: 1;
}
.banner-name {
  font-family: var(--ff-head);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.banner-sub {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 1px;
}
.banner-sub #typed { color: var(--teal); font-weight: 600; }
.blinking-cursor {
  color: var(--teal);
  font-weight: 300;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* CTA wrap */
.banner-cta-wrap {
  position: absolute;
  bottom: 28px;
  right: 44px;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  animation: fadeUp 0.5s ease;
}
.banner-cta-wrap.active { display: flex; }

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

.banner-cta-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.banner-cta-label i { color: var(--teal); }

.banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--teal);
  color: #fff;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  box-shadow: 0 4px 16px rgba(20,157,221,0.4);
}
.banner-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,157,221,0.5);
}
.banner-cta i { font-size: 0.78rem; }

/* Dots */
.banner-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.banner-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
}
.banner-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}