@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@200;300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #0d9488;
  --primary-light: #14b8a6;
  --primary-dark: #0f766e;
  --primary-subtle: #f0fdfa;
  --primary-surface: #ccfbf1;
  --cyan-accent: #06b6d4;
  --cyan-dark: #0891b2;
  
  --dark-bg: #0b1329;
  --dark-surface: #111e38;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --surface-card: #ffffff;
  --surface-border: #e2e8f0;
  --border-focus: #0d9488;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(13, 148, 136, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(13, 148, 136, 0.12), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(13, 148, 136, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.25);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  direction: rtl;
  text-align: right;
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #fcfefe;
  font-size: 16px;
  line-height: 1.65;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 80% -20%, rgba(6, 182, 212, 0.07) 0%, transparent 50%),
              radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.05) 0%, transparent 40%),
              #fafdfd;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Header & Sticky Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(13, 148, 136, 0.12);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.95);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 112px;
  row-gap: 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  order: 3;
  flex-basis: 100%;
  min-height: 42px;
  gap: 0.25rem;
  justify-content: center;
  border-top: 1px solid rgba(13, 148, 136, 0.1);
}

.nav-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: #334155;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  right: 10px;
  left: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-accent), var(--primary));
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  order: 2;
  gap: 0.5rem;
  flex-shrink: 0;
}

.header-actions .btn-ghost {
  padding-left: 8px;
  padding-right: 8px;
}

.header-actions .btn-primary {
  min-height: 42px;
  padding-left: 14px;
  padding-right: 14px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.22);
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan-accent) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--cyan-dark) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
}

.btn-outline {
  background: #ffffff;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-subtle);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #475569;
}

.btn-ghost:hover {
  color: var(--primary);
  background: rgba(13, 148, 136, 0.08);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #334155;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 90px 0 110px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fcfc 0%, #ffffff 100%);
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 450px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(6, 182, 212, 0.18) 0%, rgba(13, 148, 136, 0.05) 60%, transparent 100%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 148, 136, 0.09);
  border: 1px solid rgba(13, 148, 136, 0.25);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-accent);
  box-shadow: 0 0 8px var(--cyan-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, var(--primary) 0%, var(--cyan-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.hero-stat-item .num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}

.hero-stat-item .label {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 500;
}

/* Hero Graphic Illustration */
.hero-visual {
  position: relative;
}

.hero-card-preview {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(13, 148, 136, 0.1);
  transition: transform var(--transition-normal);
}

.hero-card-preview:hover {
  transform: translateY(-4px);
}

.floating-badge {
  position: absolute;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(13, 148, 136, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.badge-top-left {
  top: -24px;
  left: -20px;
}

.badge-bottom-right {
  bottom: -24px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Section Common Styling */
.section {
  padding: 90px 0;
  position: relative;
}

.section-light {
  background: #ffffff;
}

.section-tint {
  background: linear-gradient(180deg, #f0fdfa 0%, #fafdfd 100%);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px auto;
}

.section-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(13, 148, 136, 0.1);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.8;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid #edf2f7;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan-accent), var(--primary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(13, 148, 136, 0.3);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(13, 148, 136, 0.15));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--cyan-accent));
  color: #ffffff;
  transform: scale(1.08) rotate(-4deg);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.service-summary {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li i {
  color: var(--primary);
  font-size: 0.85rem;
}

.service-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  gap: 10px;
}

/* Projects Showcase */
.projects-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(6, 182, 212, 0.4);
}

.project-thumb {
  position: relative;
  overflow: hidden;
  height: 230px;
  background: #f1f5f9;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

.project-card-link {
  color: inherit;
  text-decoration: none;
}

.project-card-link:focus-visible {
  outline: 3px solid rgba(6, 182, 212, 0.4);
  outline-offset: 4px;
}

/* Project Detail */
.project-detail-hero {
  padding: 70px 0;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 65%);
  border-bottom: 1px solid #e2e8f0;
}

.project-detail-hero-grid,
.project-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 3.5rem;
  align-items: center;
}

.project-back-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.project-detail-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.35;
  font-weight: 900;
  margin: 0.75rem 0 1rem;
}

.project-detail-lead {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.project-meta-row i { color: var(--primary); margin-left: 5px; }

.project-detail-cover {
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.project-detail-cover img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.project-detail-layout { align-items: start; }
.project-detail-section { margin-bottom: 4rem; }
.detail-section-heading { margin-bottom: 1.5rem; }
.detail-section-heading h2 { font-size: 1.75rem; font-weight: 800; margin-top: 0.5rem; }

.project-features-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.project-feature-detail { display: flex; gap: 12px; padding: 1.25rem; border: 1px solid #e2e8f0; border-radius: var(--radius-md); background: #fff; }
.project-feature-detail > span { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--primary); background: var(--primary-surface); }
.project-feature-detail h3, .project-guides-detail h3 { font-size: 1rem; font-weight: 800; margin-bottom: 0.35rem; }
.project-feature-detail p, .project-guides-detail p { color: #64748b; font-size: 0.9rem; line-height: 1.75; }

.project-gallery-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.project-gallery-detail figure { overflow: hidden; border: 1px solid #e2e8f0; border-radius: var(--radius-md); background: #fff; }
.project-gallery-detail img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.project-gallery-detail figcaption { display: flex; flex-direction: column; gap: 3px; padding: 0.8rem 1rem; font-size: 0.82rem; color: #64748b; }
.project-gallery-detail figcaption strong { color: #334155; }

.project-guides-detail { display: flex; flex-direction: column; gap: 1rem; }
.project-guides-detail article { display: flex; gap: 1rem; padding: 1rem; border-radius: var(--radius-md); background: #f8fafc; }
.guide-number { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--primary), var(--cyan-accent)); font-weight: 800; }

.project-faq-detail { display: flex; flex-direction: column; gap: 0.75rem; }
.project-faq-detail details { padding: 1rem 1.25rem; border: 1px solid #e2e8f0; border-radius: var(--radius-md); background: #fff; }
.project-faq-detail summary { cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; font-weight: 700; color: #334155; }
.project-faq-detail summary i { color: var(--primary); transition: transform var(--transition-fast); }
.project-faq-detail details[open] summary i { transform: rotate(180deg); }
.project-faq-detail p { color: #64748b; line-height: 1.8; margin-top: 0.8rem; }

.project-detail-sidebar { display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 100px; }
.detail-side-card { padding: 1.5rem; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.detail-side-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 1rem; }
.detail-side-card h3 i { color: var(--primary); margin-left: 7px; }
.detail-side-card > p { color: #64748b; line-height: 1.8; font-size: 0.9rem; }
.demo-card { background: linear-gradient(145deg, #0b1329, #134e4a); color: #fff; border: 0; }
.demo-card h3 { color: #fff; }
.demo-credential { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 0.65rem 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; }
.demo-credential code { color: #99f6e4; }
.demo-instructions { color: #cbd5e1 !important; font-size: .82rem !important; margin-top: .75rem; }
.project-clients-detail { display: flex; flex-direction: column; gap: 1rem; }
.project-clients-detail > div { padding-bottom: 1rem; border-bottom: 1px solid #f1f5f9; }
.project-clients-detail > div:last-child { padding-bottom: 0; border-bottom: 0; }
.project-clients-detail strong { display: block; margin-bottom: .3rem; }
.project-clients-detail a { color: var(--primary); font-size: .82rem; font-weight: 700; }
.project-clients-detail p { color: #64748b; font-size: .82rem; margin-top: .4rem; }

.project-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.project-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.project-client {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-tech {
  font-size: 0.8rem;
  color: #94a3b8;
  background: #f8fafc;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid #edf2f7;
}

/* About Us Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feat-item {
  display: flex;
  gap: 12px;
}

.about-feat-item i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 3px;
}

.about-feat-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.about-feat-item p {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.team-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.3);
}

.team-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.25rem auto;
  border: 3px solid #f0fdfa;
  box-shadow: 0 0 0 2px var(--primary-light);
  overflow: hidden;
}

.team-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.team-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.team-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.team-social-link:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.rating-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 1.75rem;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.testimonial-user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.testimonial-user-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.testimonial-user-info span {
  font-size: 0.8rem;
  color: #64748b;
}

/* Blog Preview Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.blog-thumb {
  height: 200px;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}

.blog-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.blog-title:hover {
  color: var(--primary);
}

.blog-summary {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Contact & CTA Section */
.cta-banner {
  background: linear-gradient(135deg, #0b1329 0%, #134e4a 100%);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #ffffff;
}

.cta-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  font-family: inherit;
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: #0f172a;
  background: #ffffff;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

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

/* Alert Notification */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 70px 0 30px 0;
  border-top: 1px solid #1e293b;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #94a3b8;
  margin-top: 1.25rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  width: 28px;
  height: 2.5px;
  background: var(--primary-light);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-right: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-list i {
  color: var(--primary-light);
  font-size: 1rem;
  margin-top: 3px;
}

.social-bar {
  display: flex;
  gap: 10px;
  margin-top: 1.5rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .nav-wrap {
    min-height: 108px;
  }

  .nav-link {
    font-size: 0.82rem;
    padding-left: 7px;
    padding-right: 7px;
  }

  .hide-mobile {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .hero-stats {
    max-width: 550px;
    margin: 0 auto;
  }
  .services-grid, .projects-grid, .testimonials-grid, .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-wrap {
    min-height: 68px;
    flex-wrap: nowrap;
  }

  .brand-logo img {
    height: 38px;
  }

  .nav-menu {
    order: initial;
    flex-basis: auto;
    min-height: 0;
    border-top: 0;
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e2e8f0;
  }
  .nav-menu.show {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }

  .header-actions .btn-primary {
    min-height: 38px;
    padding-left: 11px;
    padding-right: 11px;
    font-size: 0.78rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .project-detail-hero-grid, .project-detail-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .project-detail-sidebar { position: static; }
  .project-features-detail, .project-gallery-detail { grid-template-columns: 1fr; }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .services-grid, .projects-grid, .testimonials-grid, .blog-grid, .team-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 2.5rem 1.5rem;
  }
}
