/* WDI Israel - Main Stylesheet */
/* Modern, Professional Design with RTL Support */

/* ===== CSS Variables ===== */
:root {
  /* Brand Colors */
  --primary: #1a365d;
  --primary-light: #2d4a7c;
  --primary-dark: #0f2744;
  --secondary: #c9a227;
  --secondary-light: #dbb84a;
  --accent: #e8b923;
  
  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Typography */
  --font-hebrew: 'Assistant', 'Rubik', sans-serif;
  --font-english: 'Assistant', sans-serif;
  
  /* Spacing */
  --section-padding: 100px;
  --container-max: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-hebrew);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1.1rem;
  color: var(--gray-600);
}

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

a:hover {
  color: var(--secondary);
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding) 0;
}

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

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: transparent;
  padding: 20px 0;
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding: 12px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 50px;
  transition: height var(--transition-normal);
}

.header.scrolled .logo {
  height: 40px;
}

.logo img {
  height: 100%;
  width: auto;
}

/* Logo switching - white on dark, dark on light */
.logo .logo-dark {
  display: none;
}

.logo .logo-white {
  display: block;
}

.header.scrolled .logo .logo-dark {
  display: block;
}

.header.scrolled .logo .logo-white {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 10px 18px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.header.scrolled .nav-link {
  color: var(--gray-700);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.header.scrolled .nav-link:hover {
  background: var(--gray-100);
  color: var(--primary);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  padding: 8px;
}

.nav-dropdown:hover .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 12px 16px;
  color: var(--gray-700);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.nav-dropdown-link:hover {
  background: var(--gray-100);
  color: var(--primary);
}

/* Mobile Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
}

.header.scrolled .mobile-toggle span {
  background: var(--gray-800);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(145deg, #0a1628 0%, var(--primary-dark) 40%, #1a3a5c 100%);
  overflow: hidden;
}

/* Decorative background pattern when video is missing */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 54, 93, 0.55) 0%, rgba(15, 39, 68, 0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 600px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-hebrew);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--secondary);
  color: var(--gray-900);
}

.btn-primary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-800);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

/* ===== Values Section ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.value-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
}

.value-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.value-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  margin-bottom: 24px;
}

.value-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.value-card h3 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.8;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.service-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: 12px;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--primary);
}

.service-icon i {
  font-size: 1.3rem;
  color: var(--primary);
  transition: color var(--transition-fast);
}

.service-card:hover .service-icon i {
  color: var(--white);
}

.service-card h4 {
  margin-bottom: 12px;
  color: var(--gray-900);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* ===== Projects Section ===== */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--gray-100);
  color: var(--gray-600);
  border: none;
  border-radius: 100px;
  font-family: var(--font-hebrew);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card.hidden {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: background var(--transition-normal);
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.7) 100%);
}

.project-category {
  display: inline-block;
  padding: 6px 14px;
  background: var(--secondary);
  color: var(--gray-900);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}

.project-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.project-client {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.project-link {
  margin-top: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.project-card:hover .project-link {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Team Section ===== */
/* Team sections */
.team-section {
  margin-bottom: 60px;
}

.team-section:last-child {
  margin-bottom: 0;
}

.team-section-title {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 40px;
  position: relative;
}

.team-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Team grid - 3 columns */
.team-grid {
  display: grid;
  gap: 40px;
}

.team-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.team-grid-admin {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 400px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
}

.team-image {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gray-100);
  transition: all var(--transition-normal);
}

.team-card:hover .team-image {
  border-color: var(--secondary);
  transform: scale(1.05);
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.team-position {
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border-radius: 50%;
  margin-top: 16px;
  transition: all var(--transition-fast);
}

.team-linkedin:hover {
  background: #0077b5;
  color: var(--white);
}

/* ===== Team Member Modal ===== */
.team-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  animation: modalFadeIn 0.3s ease;
}

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

.team-modal-content {
  background: var(--white);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.team-modal-close {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--gray-100);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 1;
}

.team-modal-close:hover {
  background: var(--gray-200);
}

.team-modal-header {
  display: flex;
  gap: 24px;
  padding: 32px;
  border-bottom: 1px solid var(--gray-200);
}

.team-modal-image {
  flex-shrink: 0;
}

.team-modal-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.team-modal-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-modal-info h2 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.team-modal-position {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-modal-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0077b5;
  text-decoration: none;
  font-size: 0.9rem;
}

.team-modal-linkedin:hover {
  text-decoration: underline;
}

.team-modal-body {
  padding: 32px;
}

.team-modal-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.team-modal-details p {
  margin-bottom: 8px;
  font-size: 1rem;
}

.team-modal-details strong {
  color: var(--gray-900);
}

.team-modal-degrees {
  margin-top: 16px;
}

.team-modal-degrees ul {
  margin-top: 8px;
  padding-right: 24px;
  list-style-type: disc;
}

.team-modal-degrees li {
  margin-bottom: 6px;
  color: var(--gray-600);
}

@media (max-width: 600px) {
  .team-modal-header {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .team-modal-image img {
    width: 100px;
    height: 100px;
  }

  .team-modal-body {
    padding: 24px;
  }
}

/* ===== Testimonials Container ===== */
.testimonials-slider {
  /* Container for testimonials grid - no width restriction */
}

/* ===== Clients Logos ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 40px;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all var(--transition-normal);
}

.client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo img {
  max-width: 120px;
  max-height: 60px;
  object-fit: contain;
}

/* ===== Contact Section ===== */
.contact-section {
  background: var(--primary-dark);
  color: var(--white);
}

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

.contact-info h2 {
  color: var(--white);
  margin-bottom: 24px;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 1.2rem;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-hebrew);
  font-size: 1rem;
  transition: border-color var(--transition-fast);
  background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
}

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

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--secondary);
}

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

.footer-social a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: 10px;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--secondary);
  color: var(--gray-900);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-credit a {
  color: var(--secondary);
}

.daflash-logo {
  width: 80px;
  height: auto;
  vertical-align: middle;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
  margin-right: 8px;
}

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

/* ===== Share Buttons ===== */
.share-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.share-buttons-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-left: 8px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
  text-decoration: none;
  font-size: 0.9rem;
}

.share-btn:hover {
  transform: scale(1.1);
}

.share-btn.whatsapp {
  background: #25D366;
}

.share-btn.facebook {
  background: #1877F2;
}

.share-btn.email {
  background: var(--gray-600);
}

.share-btn.linkedin {
  background: #0A66C2;
}

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 160px 0 80px;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb span {
  color: var(--secondary);
}

/* ===== Service Detail Page ===== */
.service-detail {
  padding: 80px 0;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 60px;
}

.service-content h2 {
  margin-bottom: 24px;
}

.service-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.9;
}

.service-features {
  background: var(--gray-50);
  padding: 30px;
  border-radius: 16px;
  margin-top: 40px;
}

.service-features h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li i {
  color: var(--secondary);
}

.service-sidebar {
  position: sticky;
  top: 100px;
}

.other-services {
  background: var(--gray-50);
  padding: 30px;
  border-radius: 16px;
}

.other-services h4 {
  margin-bottom: 20px;
}

.other-services a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-700);
  font-size: 0.95rem;
}

.other-services a:last-child {
  border-bottom: none;
}

.other-services a:hover {
  color: var(--primary);
}

/* ===== Project Detail Page ===== */
.project-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 60px;
}

.project-hero-content h1 {
  color: var(--white);
  margin-bottom: 12px;
}

.project-hero-content .project-client {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
}

.project-detail-content {
  padding: 60px 0;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  background: var(--gray-50);
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.meta-item h4 {
  color: var(--gray-500);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.meta-item p {
  color: var(--gray-900);
  font-weight: 600;
  font-size: 1.1rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
  }
  
  .nav {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }
  
  .nav.active .nav-link {
    color: var(--gray-700);
    padding: 14px 20px;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }

  /* Team responsive - tablet */
  .team-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 100%;
  }

  .team-grid-admin {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  /* Team responsive - mobile */
  .team-grid-3 {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }

  .team-grid-admin {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 25px 20px;
  }
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.bg-gray { background: var(--gray-50); }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

[data-animate] {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Duns Badge ===== */
.duns-badge {
  display: none; /* Hidden until proper image is provided */
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 100;
  transition: transform var(--transition-fast);
}

.duns-badge:hover {
  transform: scale(1.05);
}

.duns-badge img {
  width: 80px;
  height: auto;
}

/* ===== Testimonials Grid (All visible) ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}

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

.testimonial-quote-icon {
  color: var(--secondary);
  font-size: 2rem;
  margin-bottom: 15px;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
  flex-grow: 1;
  margin-bottom: 20px;
}

.testimonial-author-info {
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author-info strong {
  color: var(--primary);
  font-size: 1.1rem;
}

.testimonial-author-info span {
  color: var(--gray-500);
  font-size: 0.95rem;
}

.testimonial-letter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 10px 16px;
  background: var(--gray-50);
  color: var(--primary);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
  align-self: flex-start;
}

.testimonial-letter-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.testimonial-letter-btn i {
  color: #dc2626;
}

.testimonial-letter-btn:hover i {
  color: var(--white);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 25px;
  }
}
