/* Iman Innovations - Professional Website Styles
   Modern, clean, responsive design */

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #0f3460;
  --highlight: #e94560;
  --text: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --border: #e0e0e0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
  --font-main: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary);
  margin-bottom: 1rem;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

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

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

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  background: var(--primary);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 50px;
  width: auto;
  min-width: 150px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo {
    height: 40px;
    min-width: 120px;
  }
  
  .navbar .container {
    padding: 0 1rem;
    gap: 1rem;
  }
}

.logo-text {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--highlight);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--highlight);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--highlight);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--highlight);
  color: var(--white) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 5px;
}

.nav-cta:hover {
  background: #d63850;
}

.nav-cta::after {
  display: none;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--white);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
  color: var(--white);
  padding: 10rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
  background-size: 100px 100px;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--highlight);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--highlight);
  color: var(--white);
}

.btn-primary:hover {
  background: #d63850;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.btn-outline {
  background: transparent;
  color: var(--highlight);
  border: 2px solid var(--highlight);
}

.btn-outline:hover {
  background: var(--highlight);
  color: var(--white);
}

/* Sections */
section {
  padding: 5rem 0;
}

#services {
  padding-bottom: 3rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

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

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Ensure 4 cards fit on larger screens */
@media (min-width: 1200px) {
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

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

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--highlight), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
}

.card h3 {
  margin-bottom: 1rem;
}

.card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card .btn {
  margin-top: auto;
}

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

.about-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-item {
  text-align: center;
  padding: 1.5rem;
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--highlight), var(--accent));
  border-radius: 12px;
}

.value-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

.value-item h4 {
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-section {
  background: var(--light-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-item h4 {
  margin-bottom: 0.25rem;
}

.contact-item p {
  margin: 0;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--highlight);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

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

/* Videos Section */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.video-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.video-thumbnail {
  position: relative;
  padding-top: 56.25%;
  background: var(--secondary);
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--highlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  opacity: 0.9;
  transition: var(--transition);
}

.video-card:hover .video-play {
  transform: translate(-50%, -50%) scale(1.1);
  opacity: 1;
}

.video-info {
  padding: 1.5rem;
}

.video-info h4 {
  margin-bottom: 0.5rem;
}

.video-info p {
  font-size: 0.9rem;
  margin: 0;
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}

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

.footer-grid > div:not(.footer-brand) {
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

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

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

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

.footer-bottom a:hover {
  color: var(--highlight);
}

/* Page Headers */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  padding: 8rem 0 4rem;
  text-align: center;
}

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

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
}

/* Content Pages (Terms, Privacy) */
.content-page {
  padding: 3rem 0;
}

.content-page h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.content-page p {
  margin-bottom: 1rem;
}

.content-page ul {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.content-page li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--highlight), var(--accent));
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .btn-secondary {
  border-color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }

  .about-content {
    text-align: center;
  }

  .about-content .btn {
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    max-width: 80%;
    background: var(--primary);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    height: calc(100vh - 70px);
  }

  .nav-links.active {
    right: 0;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .hero {
    padding: 8rem 0 4rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }

  /* Stack hero buttons vertically on mobile */
  .hero .btn {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 1rem;
    text-align: center;
  }

  .hero .btn[style*="margin-left"] {
    margin-left: auto !important;
  }

  section {
    padding: 3rem 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-grid > div:not(.footer-brand) {
    padding-left: 0;
    border-left: none;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-bottom a {
    margin-left: 0.75rem;
  }
}

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ========================================
   Scroll Animations
   ======================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Enhanced Navbar Scroll Effect
   ======================================== */

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Enhanced Button Hover Effects
   ======================================== */

.btn {
  transform: translateY(0);
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ========================================
   SVG Icon Styles
   ======================================== */

.card-icon svg {
  width: 30px;
  height: 30px;
  fill: var(--white);
}

.card-icon--train {
  background: linear-gradient(135deg, var(--highlight), #ff6b6b);
}

.card-icon--enhance {
  background: linear-gradient(135deg, #4facfe, var(--accent));
}

.card-icon--resolve {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.card-icon--build {
  background: linear-gradient(135deg, #667eea, #764ba2);
}

/* ========================================
   Form Validation Styles
   ======================================== */

.form-group input.input-error,
.form-group textarea.input-error,
.form-group select.input-error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-error {
  display: block;
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.form-message {
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  display: none;
}

.form-message.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ========================================
   Consultation Page Styles
   ======================================== */

.consultation-benefits {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.consultation-benefits h3 {
  margin-bottom: 1rem;
}

.consultation-benefits ul {
  list-style: none;
  padding: 0;
}

.consultation-benefits li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.consultation-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--highlight);
  font-weight: bold;
}

.no-obligation-badge {
  display: inline-block;
  background: var(--highlight);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ========================================
   Service Detail Section (Services Page)
   ======================================== */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-detail-content ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-detail-content li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.service-detail-content li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--highlight);
}

.service-pricing {
  background: var(--light-bg);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1.5rem;
}

.service-pricing h4 {
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.service-pricing .price {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--highlight);
}

.service-pricing .price-note {
  font-size: 0.9rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail.reverse {
    direction: ltr;
  }
}

/* ========================================
   Developer Credit
   ======================================== */

.developer-credit {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.developer-credit a {
  color: rgba(255, 255, 255, 0.7);
}

.developer-credit a:hover {
  color: var(--highlight);
}

/* ========================================
   Portfolio Page
   ======================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.portfolio-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.portfolio-card-content {
  padding: 2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-card-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.portfolio-card-content p {
  margin-bottom: 1.25rem;
}

.portfolio-card-content .btn {
  margin-top: auto;
}

/* Browser Mockup */
.browser-mockup {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  /* overflow hidden moved here from .portfolio-card so tooltips aren't clipped */
}

.browser-titlebar {
  background: #2d2d2d;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.browser-address {
  flex: 1;
  background: #1a1a1a;
  color: #aaa;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: monospace;
}

.browser-body {
  padding: 3.5rem 2rem;
  text-align: center;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.browser-body--paw {
  background: linear-gradient(135deg, #3d5c5c 0%, #2e4a4a 50%, #1f3838 100%);
}

.browser-body--groomer {
  background: linear-gradient(135deg, #eaf4fc 0%, #BFD8F2 50%, #7fb6e8 100%);
}

.browser-body-logo {
  max-height: 140px;
  max-width: 80%;
  object-fit: contain;
}

.browser-body-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.browser-body-subtitle {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Portfolio Tags */
.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  justify-content: center;
}

.portfolio-tag {
  background: var(--light-bg);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--border);
  position: relative;
  cursor: default;
}

.portfolio-tag:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.portfolio-tag[data-tooltip]:hover::after,
.portfolio-tag[data-tooltip]:focus-visible::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 400;
  width: max-content;
  max-width: 220px;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

.portfolio-tag[data-tooltip]:hover::before,
.portfolio-tag[data-tooltip]:focus-visible::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--primary);
  z-index: 10;
  pointer-events: none;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Section Dividers
   ======================================== */

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0;
}

/* ========================================
   Testimonials
   ======================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.testimonial-stars {
  color: #f5a623;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  font-style: italic;
}

.testimonial-card blockquote p {
  margin: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: auto;
}

.testimonial-author strong {
  color: var(--text);
  font-size: 0.95rem;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.testimonial-source:hover {
  color: var(--primary);
}


