/* Base */
:root {
  --primary: #745B4A;
  --primary-light: #8a6e5b;
  --primary-dark: #5c493b;
  --secondary: #d4b59e;
  --secondary-dark: #c0a08a;
  --bg: #ffffff;
  --bg-light: #f9f9f9;
  --text: #2d3436;
  --text-light: #636e72;
  --muted: #f4f4f5;
  --line: #e0e0e0;
  --accent: var(--primary);
  --accent-2: #6b7280;
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-hover: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  --transition: all 0.3s ease;
  --border-radius: 12px;
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  --animation-delay-step: 0.1s;
}

* { box-sizing: border-box; }
html { 
  scroll-behavior: smooth;
  --animate-duration: 0.8s;
  --animate-delay: 0.1s;
}

/* Prevent horizontal scroll on landing page */
html, body { max-width: 100%; overflow-x: hidden; }

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

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate {
  animation-duration: var(--animate-duration);
  animation-fill-mode: both;
  opacity: 0;
}

.animated {
  animation-duration: var(--animate-duration);
  animation-fill-mode: both;
}

.fade-in {
  animation-name: fadeIn;
  opacity: 1;
}

.fade-in-left {
  animation-name: fadeInLeft;
  opacity: 1;
}

.fade-in-right {
  animation-name: fadeInRight;
  opacity: 1;
}

.delay-1 { animation-delay: calc(var(--animate-delay) * 1); }
.delay-2 { animation-delay: calc(var(--animate-delay) * 2); }
.delay-3 { animation-delay: calc(var(--animate-delay) * 3); }
.delay-4 { animation-delay: calc(var(--animate-delay) * 4); }
.delay-5 { animation-delay: calc(var(--animate-delay) * 5); }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 1.2rem + 2.5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.3rem); }
p { margin: 0 0 1em; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 50px;
  padding: 0 24px;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  color: white;
  background: var(--gradient);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hover);
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

/* Global button hover - excluded from social buttons */
.btn:not(.btn-facebook):not(.btn-instagram):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn:not(.btn-facebook):not(.btn-instagram):hover::after {
  opacity: 1;
}
:root {
  --button-color: #745B4A;
  --button-hover: #5c493b;
}

.btn-primary { 
  background: var(--primary);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-ghost { 
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(116, 91, 74, 0.1);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section.pad { 
  padding: clamp(48px, 6vw, 96px) 0;
  transition-delay: 0.2s;
}
.section.muted { background: var(--muted); }

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Normalize inner spacing for two-col text blocks so sections look identical */
.two-col .text > *:first-child { margin-top: 0; }
.two-col .text > *:last-child { margin-bottom: 0; }
.two-col .text h2 { margin-bottom: 12px; }
.two-col .text p { margin-bottom: 16px; }

.two-col.visible {
  opacity: 1;
  transform: translateY(0);
}

.two-col .col {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.two-col.visible .col {
  opacity: 1;
  transform: translateY(0);
}

.two-col .col:first-child {
  transition-delay: 0.2s;
}

.two-col .col:last-child {
  transition-delay: 0.4s;
}
.two-col.reverse { grid-template-columns: 1.2fr 0.8fr; }
/* Make the image column wider in the 'Sekite mus' block */
.two-col.follow-us { grid-template-columns: 0.8fr 1.2fr; }


.media-frame {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin: 0; /* remove default figure margins */
}

/* Ensure consistent visual size for specific sections only (DO NOT affect 'Apie mus') */
.two-col.reverse .visual .media-frame,
.two-col.follow-us .visual .media-frame { aspect-ratio: 4 / 3; }

.media-frame img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block;
  transition: transform 0.5s ease;
}
.media-frame:hover img {
  transform: scale(1.03);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.gallery-grid .media-frame {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  background: linear-gradient(180deg, #fff, #fafafa);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.gallery-grid .media-frame img { 
  filter: saturate(1.02) contrast(1.03); 
  object-fit: contain;
  background: #fff;
}

.gallery-grid .media-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  filter: saturate(1.05);
}

.gallery-grid .media-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.25) 100%);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
  border-radius: 18px;
}

.gallery-grid .media-frame::after {
  content: "\f00e"; /* fa-magnifying-glass-plus */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  color: #fff;
  background: rgba(0,0,0,0.35);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease, background .25s ease;
  pointer-events: none;
}

.gallery-grid .media-frame:hover::before,
.gallery-grid .media-frame:focus-visible::before { opacity: 1; }

.gallery-grid .media-frame:hover::after,
.gallery-grid .media-frame:focus-visible::after { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.gallery-grid .media-frame { outline: none; }

.gallery-grid .media-frame:focus-visible { box-shadow: 0 0 0 3px rgba(116,91,74,0.35); border-radius: 18px; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 24px;
}

.gallery-lightbox.active { display: flex; }

.glb-content {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  z-index: 1;
}

#glbImage {
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  background: #111;
  display: block;
}

.glb-counter {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: .9rem;
  border-radius: 10px;
  letter-spacing: .5px;
}

.glb-close,
.glb-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(2px);
  transition: background .2s ease, transform .2s ease;
  z-index: 2;
}

.glb-close:hover,
.glb-nav:hover { background: rgba(255,255,255,0.18); transform: scale(1.03); }

.glb-close { top: 24px; right: 24px; font-size: 28px; line-height: 1; }
.glb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.glb-next { right: 24px; top: 50%; transform: translateY(-50%); }

.glb-prev::before,
.glb-next::before {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.glb-prev::before { border-right: 14px solid #fff; margin-left: -2px; }
.glb-next::before { border-left: 14px solid #fff; margin-right: -2px; }

@media (max-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
  .glb-prev, .glb-next { width: 44px; height: 44px; }
  .glb-close { width: 44px; height: 44px; }
}

.cta-buttons {
  display: flex;
  gap: 15px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-buttons .btn i {
  font-size: 1.1em;
}

/* Base button styles */
.cta-buttons .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-buttons .btn i {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

.cta-buttons .btn span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
}

/* Facebook button */
.cta-buttons .btn-facebook {
  background: #1877f2;
  color: white;
  border: 2px solid #1877f2;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-buttons .btn-facebook:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Instagram button */
.cta-buttons .btn-instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  color: white;
  border: 2px solid transparent;
  background-size: 400% 400%;
  animation: gradient 8s ease infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.cta-buttons .btn-instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 100%;
    margin: 0 auto 40px;
    padding: 0 30px;
  }
  /* Mobile stacking: image above text */
  .two-col .text {
    order: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
  }
  .two-col .visual {
    order: 1;
    max-width: 600px;
    margin: 0 auto;
  }
  /* Ensure follow-us also collapses to a single column (override desktop-specific grid) */
  .two-col.follow-us { grid-template-columns: 1fr !important; }
  .two-col.follow-us .visual { order: 1; }
  .two-col.follow-us .text { order: 2; }
  .two-col .visual, .two-col .text { width: 100%; }
  .two-col.reverse .text { order: 2; }
  .two-col.reverse .visual { order: 1; }
  .media-frame { max-width: 100%; margin: 0 auto; }
}
@media (max-width: 768px) {
  .two-col {
    padding: 0 20px;
    gap: 30px;
  }
  .text h2 { font-size: 1.8rem; }
  .cta-buttons { flex-direction: column; gap: 15px; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
}

@media (max-width: 576px) {
  .two-col {
    padding: 0 15px;
  }
  
  .two-col .text h2 {
    font-size: 1.6rem;
  }
  
  .two-col .text p {
    font-size: 0.95rem;
  }
  
  /* Keep follow-us image same container width as other sections on small phones */
  .two-col.follow-us .visual .media-frame { width: 100% !important; margin: 0 !important; border-radius: 18px !important; box-shadow: var(--shadow) !important; }
  .two-col.follow-us .visual .media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
}

@media (max-width: 400px) {
  .two-col {
    padding: 0 12px;
  }
  
  .two-col .text h2 {
    font-size: 1.5rem;
  }
  
  .two-col .text p {
    font-size: 0.9rem;
  }
  
  .two-col .text h2 {
    font-size: 1.6rem;
  }
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  color: #fff;
  padding: 20px 0;
}
.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.brand { 
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand img.logo {
  height: 80px;
  width: auto;
  transition: opacity 0.2s ease;
}
.brand img.logo:hover {
  opacity: 0.9;
}
.brand-mark { color: var(--accent); margin-right: 8px; }

.main-nav ul { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.main-nav a { color: #fff; text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.main-nav a:hover, .main-nav .active a { background: rgba(255,255,255,0.12); color: #fff; }

/* Removed decorative underline accent for desktop */

.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; border-radius: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s ease; }

/* Subpage header overrides (services.html uses <body class="sub">) */
body.sub .site-header {
  position: relative; /* not sticky */
  background: var(--primary);
  color: #fff;
  border-bottom: none;
}
body.sub .main-nav a { color: #fff; }
body.sub .main-nav a:hover,
body.sub .main-nav .active a { background: rgba(255,255,255,0.12); color: #fff; }
body.sub .nav-toggle span { background: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
  animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  text-transform: uppercase;
  animation: fadeIn 1s ease-out 0.3s both;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  margin: 0 0 20px;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out 0.2s both;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  max-width: 600px;
  margin: 0 auto 50px;
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.6;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-cta .btn {
  min-width: 180px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta .btn:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 20px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-grid.visible {
  opacity: 1;
  transform: translateY(0);
}

.team-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.team-grid.visible .team-card {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for team cards */
.team-grid.visible .team-card:nth-child(1) { transition-delay: 0.1s; }
.team-grid.visible .team-card:nth-child(2) { transition-delay: 0.2s; }
.team-grid.visible .team-card:nth-child(3) { transition-delay: 0.3s; }
.team-grid.visible .team-card:nth-child(4) { transition-delay: 0.4s; }
.team-grid.visible .team-card:nth-child(5) { transition-delay: 0.5s; }
.team-grid.visible .team-card:nth-child(6) { transition-delay: 0.6s; }

.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  opacity: 0;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.team-card:hover::before {
  opacity: 1;
}

.team-card .avatar {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
  transition: var(--transition);
}

.team-card:hover .avatar {
  transform: scale(1.03);
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .avatar img {
  transform: scale(1.05);
}

.team-card .avatar.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.team-card .avatar.placeholder::before {
  content: '👨\a0\a0\a0\a0👩';
  white-space: pre;
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.8;
  transition: var(--transition);
}

.team-card:hover .avatar.placeholder::before {
  transform: scale(1.1);
  opacity: 1;
}

.team-card .meta {
  padding: 25px 25px 20px;
  position: relative;
  z-index: 1;
  background: white;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.team-card:hover { background: #fcfcfc; }
.team-card:hover .meta { background: transparent; }

.team-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
  color: var(--primary-dark);
  transition: var(--transition);
  font-weight: 700;
}

.team-card:hover h3 {
  color: var(--primary);
}

.team-card .role {
  display: block;
  color: var(--secondary-dark);
  font-size: 0.95rem;
  margin-bottom: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.team-card:hover .role {
  color: var(--secondary);
}

.team-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 8px 0;
  transition: var(--transition);
  position: relative;
  margin-top: auto;
}

.team-card .more::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

.team-card .more:hover {
  color: var(--primary-dark);
  transform: translateX(3px);
}

.team-card .more:hover::after {
  width: 100%;
}

.team-card .more svg {
  transition: transform 0.3s ease;
}

.team-card .more:hover svg {
  transform: translateX(3px);
}

.team-card .bio {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s ease;
  padding: 0 25px;
  background: linear-gradient(to bottom, #f9f9f9, #f0f4f8);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card[aria-expanded="true"] .bio {
  max-height: 1000px;
  padding: 25px;
  opacity: 1;
  transform: translateY(0);
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.03);
}

.team-card .bio p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-light);
}

.team-card .bio h4 {
  margin: 20px 0 10px;
  color: var(--primary-dark);
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 5px;
}

.team-card .bio h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
}

.team-card .bio ul {
  padding-left: 20px;
  margin: 0 0 15px;
}

.team-card .bio li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
  color: var(--text-light);
  line-height: 1.5;
}

.team-card .bio li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
}

/* Modal Styles */
.team-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.team-modal.active {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 1;
}

.modal-content {
  background: white;
  border-radius: 12px;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 0;
}

.team-modal.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
  border-radius: 12px 12px 0 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #718096;
  transition: color 0.2s;
  line-height: 1;
  padding: 5px;
  margin-left: 10px;
}

.modal-close:hover {
  color: #e53e3e;
}

.modal-body {
  padding: 20px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
}

.modal-avatar {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.modal-bio h3 {
  margin-top: 0;
  color: #1a365d;
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.modal-role {
  color: #4a5568;
  font-size: 1.1rem;
  margin-bottom: 20px;
  display: block;
  font-weight: 500;
}

.modal-bio-content {
  line-height: 1.6;
  color: #4a5568;
}

.modal-bio-content h4 {
  margin: 1.5em 0 0.5em;
  color: #2d3748;
  font-size: 1.2rem;
}

.modal-bio-content ul {
  padding-left: 20px;
  margin: 0.5em 0;
}

.modal-bio-content li {
  margin-bottom: 0.5em;
  line-height: 1.5;
}

/* Hide the old bio */
.team-card .bio {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-body {
    grid-template-columns: 1fr;
  }
  
  .modal-avatar {
    height: 300px;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .modal-bio {
    padding-top: 20px;
  }
  
  .modal-content {
    width: 95%;
  }
}

/* Animation for modal content */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-modal .modal-content {
  animation: modalFadeIn 0.3s ease-out;
}

/* Price table */
.table-wrap { overflow: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { text-align: left; background: var(--muted); font-weight: 700; padding: 14px 16px; }
.price-table td { padding: 12px 16px; border-top: 1px solid var(--line); }
.price-table tbody tr:hover { background: #fafafa; }

/* Checklist (services: "Atliekamos paslaugos") */
.checklist {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 18px;
}

.checklist li {
  position: relative;
  padding-left: 34px;
  line-height: 1.6;
}

/* Use Font Awesome checkmark in a colored circle without changing HTML */
.checklist li::before {
  content: "\f00c"; /* fa-check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900; /* solid */
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (min-width: 768px) {
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Page hero */
.page-hero { padding: 56px 0 24px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fafafa); }
.page-hero p { color: #4b5563; }

/* Contact Section */
/* Background gradient and decorative shapes for the contacts area */
#kontaktai {
  position: relative;
  background:
    radial-gradient(800px 300px at 0% 0%, rgba(116, 91, 74, 0.06), transparent 60%),
    radial-gradient(600px 260px at 100% 10%, rgba(212, 181, 158, 0.12), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #faf7f4 100%);
}

#kontaktai::before,
#kontaktai::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

#kontaktai::before {
  top: -40px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(116, 91, 74, 0.15), rgba(116, 91, 74, 0.0) 70%);
  filter: blur(2px);
}

#kontaktai::after {
  bottom: -60px;
  right: -40px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 60%, rgba(212, 181, 158, 0.18), rgba(212, 181, 158, 0.0) 70%);
  filter: blur(3px);
}
.contact-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #fdfcfa 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 40px auto;
  max-width: 1200px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 1;
}

.contact-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  min-height: 500px;
}

.contact-con.two-col {
  display: flex;
  gap: 80px;
  align-items: center;
  margin: 20px 0 60px;
  max-width: 1200px;
  padding: 0 40px 0 120px;
}

.contact-info {
  flex: 1 1 350px;
  padding: 50px 40px;
  background: var(--primary);
  color: white;
  position: relative;
  z-index: 1;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDMpIj48L3JlY3Q+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI3BhdHRlcm4pIiBvcGFjaXR5PSIwLjEiPjwvcmVjdD48L3N2Zz4=');
  z-index: -1;
  opacity: 0.1;
}

.contact-info h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.contact-info h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 3px;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  position: relative;
  padding-left: 50px;
}

.contact-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(2px);
}

.contact-item:hover .contact-icon {
  background: white;
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-text h4 {
  margin: 0 0 5px;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-text p, 
.contact-text a.follow-us {
  margin: 15px 0 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.9;
}

.contact-text a {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: white;
  text-decoration: underline;
}

/* Social Media Section */
.social-section {
  margin-top: 40px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.social-section h4 {
  color: white;
  margin: 0 0 15px 0;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-bottom: 12px;
}

.social-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
}

.social-section h4 i {
  color: var(--secondary);
  font-size: 1.5rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-link {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .social-section {
    padding: 20px;
    margin-top: 30px;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .social-section h4 {
    justify-content: center;
    text-align: center;
  }
  
  .social-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .follow-us {
    text-align: center;
  }
}

.contact-form-container {
  flex: 1 1 500px;
  padding: 50px 40px;
  background: white;
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--primary-dark);
  position: relative;
  padding-bottom: 15px;
}

.contact-form h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f9f9f9;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(116, 91, 74, 0.1);
  background: white;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(116, 91, 74, 0.3);
}

.submit-btn i {
  transition: transform 0.3s ease;
}

.submit-btn:hover i {
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 992px) {
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info,
  .contact-form-container {
    padding: 40px 30px;
  }
  
  .contact-info {
    border-radius: 20px 20px 0 0;
  }
  
  .contact-form-container {
    border-radius: 0 0 20px 20px;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
  .contact-info,
  .contact-form-container {
    padding: 30px 20px;
  }
  
  .contact-info h2,
  .contact-form h3 {
    font-size: 1.8rem;
  }
  
  .contact-item {
    padding-left: 45px;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* CTA */
.cta .cta-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
}

.cta .cta-box.cta-modern {
  background: linear-gradient(180deg, #ffffff 0%, #fdfcfb 100%);
  border: 1px solid #e7e7e7;
  border-radius: 18px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2vw, 28px);
}

.cta .cta-modern .cta-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 280px;
}

.cta .cta-modern .cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.cta .cta-modern .cta-text h3 {
  margin: 0 0 6px;
  font-size: clamp(1.15rem, 0.9rem + 0.9vw, 1.6rem);
  color: var(--primary-dark);
}

.cta .cta-modern .cta-text p {
  margin: 0;
  color: var(--text-light);
}

.cta .cta-modern .cta-actions {
  display: flex;
  gap: 10px; /* slightly tighter */
  flex-wrap: wrap;
  align-items: center;
}

.cta .cta-modern .cta-actions .btn {
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
}

.cta .cta-modern .btn-call {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

@media (max-width: 768px) {
  .cta .cta-box.cta-modern {
    flex-direction: column;
    align-items: stretch;
  }
  .cta .cta-modern .cta-content { align-items: flex-start; }
  .cta .cta-modern .cta-actions { width: 100%; }
  .cta .cta-modern .cta-actions .btn { width: 100%; justify-content: center; }
}

.cta .cta-box h3 {
  margin: 0;
  font-size: clamp(1.2rem, 0.9rem + 1vw, 1.6rem);
  color: var(--primary-dark);
}

.cta .cta-box p {
  margin: 0;
  color: var(--text-light);
}

.cta .cta-box .btn {
  margin-left: 0; /* keep button near the text */
}

@media (max-width: 576px) {
  .cta .cta-box { flex-direction: column; align-items: flex-start; padding: 24px; }
  .cta .cta-box .btn { width: 100%; text-align: center; }
}

/* =====================
   Footer
   ===================== */
.site-footer {
  background: var(--primary);
  color: white;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Desktop: lock footer to 4 clean, equal columns and align tops (scoped for specificity) */
@media (min-width: 993px) {
  .site-footer .footer-content {
    grid-template-columns: 1.2fr 1fr 1fr; /* logo, contacts, hours */
    gap: 40px;
    align-items: start;
    justify-items: start;
  }
  .site-footer .footer-content > * { align-self: start; justify-self: start; margin-top: 0; }
  .site-footer .footer-content h4 { margin-top: 0; line-height: 1.2; }
  /* Nudge the logo block slightly so tops align visually with column headings */
  .site-footer .footer-logo { padding-top: 4px; }
  /* Nudge 'Kontaktai' heading slightly upwards for perfect baseline alignment */
  .site-footer .footer-contact h4 { transform: translateY(-2px); }
}

.footer-logo img {
  margin-bottom: 15px;
  filter: brightness(0) invert(1);
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social a:hover {
  background: var(--secondary);
  transform: translateY(-3px);
  text-decoration: none;
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
  color: white;
  font-size: 1.1rem;
  margin: 0 0 14px;
  position: relative;
}

.footer-links ul,
.footer-contact ul,
/* Reset UL spacing for all footer columns */
.footer-links ul,
.footer-contact ul,
.footer-hours ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li,
.footer-hours li {
  margin-bottom: 12px;
}
.footer-links li:last-child,
.footer-contact li:last-child,
.footer-hours li:last-child { margin-bottom: 0; }

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: white;
  text-decoration: underline;
}

.footer-contact i {
  width: 20px;
  margin-right: 10px;
  color: var(--secondary);
  text-align: center;
}

/* Neat alignment of contact rows */
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-hours span {
  font-weight: 500;
  color: white;
  min-width: 150px;
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: white;
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }
}

.footer-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer-logo {
  margin-bottom: 20px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

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

.footer-contact {
  margin: 0; /* remove top margin so column aligns with others */
  line-height: 1.8;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin: 20px 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
  color: white;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 960px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .team-card .bio { position: static; width: 100%; height: auto; transform: none; opacity: 1; border: none; box-shadow: none; padding: 14px; border-top: 1px solid var(--line); display: none; }
  .team-card:hover .bio { display: none; }
  .team-card.expanded .bio { display: block; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  /* Full-width slide-down panel */
  .main-nav ul {
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    border: 0;
    border-radius: 0 0 16px 16px;
    padding: 12px 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    gap: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
    z-index: 100;
  }
  .main-nav[aria-expanded="true"] ul, .main-nav.open ul { transform: translateY(0); opacity: 1; pointer-events: auto; }
  /* Mobile dropdown: dark text on white background for readability */
  .site-header .main-nav ul a { color: var(--text); display: block; padding: 16px 12px; border-radius: 10px; }
  .site-header .main-nav ul li + li { border-top: 1px solid var(--line); }
  .site-header .main-nav ul a:hover,
  .site-header .main-nav ul .active a { background: var(--muted); color: var(--primary-dark); }
  /* Hamburger animation */
  .main-nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .main-nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .main-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}


 
