/* Beautiful Gary Beane Website - Compiled CSS from SCSS */

/* CSS Custom Properties for Colors */
:root {
  --deep-indigo: #1E3A8A;
  --vibrant-teal: #14B8A6;
  --warm-amber: #F59E0B;
  --soft-pearl: #F3F4F6;
  --coral-pink: #FB7185;
  --charcoal: #0A0A0A;
}

/* Progressive enhancement and animations */
html {
  --vh: 1vh;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  perspective: 1000px;
}

* {
  will-change: auto;
  transform-style: preserve-3d;
}

/* Page load animation */
body {
  animation: pageLoad 0.8s ease-out forwards;
}

@keyframes pageLoad {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation utilities */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-up-delay-1 { animation-delay: 0.1s; }
.animate-fade-up-delay-2 { animation-delay: 0.2s; }
.animate-fade-up-delay-3 { animation-delay: 0.3s; }
.animate-fade-up-delay-4 { animation-delay: 0.4s; }

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideLeft 0.8s ease-out forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideRight 0.8s ease-out forwards;
}

@keyframes slideLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Base body styles */
body {
  text-align: left;
  background-color: #FFFFFF;
  font-family: 'Nunito', sans-serif;
  color: var(--charcoal);
  font-size: 1.25rem;
  line-height: 1.7;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
}

body.nav-fixed {
  padding-top: 0 !important;
}

/* Typography */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--deep-indigo);
  line-height: 1.1;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

h1, .h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2, .h2 {
  font-size: 2.5rem;
  margin-top: 3rem;
}

h3, .h3 {
  font-size: 1.75rem;
}

h4, .h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

/* Links with beautiful hover effects */
a {
  color: var(--vibrant-teal);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #14B8A6, #F59E0B);
  transition: width 0.3s ease;
}

a:hover {
  color: var(--warm-amber);
  transform: translateY(-1px);
}

a:hover::after {
  width: 100%;
}

a:focus {
  outline: 2px solid var(--vibrant-teal);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Header and Navigation */
#quarto-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
  margin: 0;
  border: 0;
  padding-top: env(safe-area-inset-top, 0);
}

.navbar {
  background-color: hsla(0, 0%, 100%, 0.98) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 0.35rem 1.5rem !important;
  min-height: 45px !important;
  max-height: 45px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  margin: 0;
  border-radius: 0;
  width: 100%;
}

/* Hide Home button on desktop, show only in mobile hamburger menu */
@media (min-width: 992px) {
  .navbar-nav.me-auto {
    display: none !important;
  }
}

.navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.25rem !important;
  color: var(--deep-indigo) !important;
  padding: 0.25rem 0 !important;
  line-height: 1.2 !important;
}

.navbar-brand:hover {
  color: var(--vibrant-teal) !important;
}

.navbar .nav-link {
  color: rgba(10, 10, 10, 0.85) !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  padding: 0.4rem 1rem !important;
  margin: 0 0.25rem !important;
  border-radius: 6px !important;
  background-color: transparent !important;
  border: 1px solid transparent !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  position: relative !important;
  overflow: hidden !important;
}

.navbar .nav-link:hover {
  background-color: rgba(20, 184, 166, 0.08) !important;
  border-color: rgba(20, 184, 166, 0.3) !important;
  color: var(--vibrant-teal) !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.15) !important;
}

.navbar .nav-link.active {
  background-color: rgba(30, 58, 138, 0.08) !important;
  border-color: var(--deep-indigo) !important;
  color: var(--deep-indigo) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.1) !important;
}

/* Content containers - important resets */
body, #quarto-content, .quarto-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}

.quarto-container {
  max-width: none !important;
  width: 100% !important;
}

.page-layout-custom {
  margin: 0 !important;
  padding: 0 !important;
}

.navbar-nav {
  align-items: center !important;
}

.nav-item {
  display: flex !important;
  align-items: center !important;
}

/* Beautiful Buttons */
button, .btn {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  display: inline-block;
  margin: 0.5rem 0.5rem 0.5rem 0;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--vibrant-teal);
  color: #FFFFFF !important;
  border: 2px solid var(--vibrant-teal);
  box-shadow: 0 2px 4px rgba(20, 184, 166, 0.2);
}

.btn-primary:hover {
  background-color: rgb(16, 147.2, 132.8);
  border-color: rgb(16, 147.2, 132.8);
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.4);
  transform: translateY(-3px) scale(1.02);
}

.btn-secondary {
  background-color: transparent;
  color: var(--deep-indigo) !important;
  border: 2px solid var(--deep-indigo);
}

.btn-secondary:hover {
  background-color: var(--deep-indigo);
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

/* Fullscreen sections */
.fullscreen-section {
  min-height: 100vh;
  min-height: 100svh;
  min-height: calc(var(--vh, 1vh) * 100);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  margin: 0;
  border: 0;
}

.fullscreen-section:nth-child(even) {
  background-color: #FFFFFF;
}

.fullscreen-section:nth-child(odd) {
  background-color: var(--soft-pearl);
}

.fullscreen-section:first-child {
  margin-top: 0 !important;
}

/* HERO SPLIT LAYOUT - The Beautiful Design Center */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  height: 100%;
  max-height: calc(var(--vh, 1vh) * 90);
}

/* Hero animations - The beautiful slide-in effects */
.hero-split .hero-text {
  animation: slideInFromLeft 1s ease-out forwards;
}

.hero-split .hero-image {
  animation: slideInFromRight 1s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 380px;
  max-height: calc(var(--vh, 1vh) * 50);
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 1/1;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text h1, .hero-text .h1 {
  font-size: 3.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text h2, .hero-text .h2 {
  font-size: 1.75rem;
  margin-top: 0;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--deep-indigo);
}

.hero-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.8);
  margin-bottom: 1.5rem;
}

/* Section content styling */
.section-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
}

.section-content h2, .section-content .h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 2rem;
}

.section-content h3, .section-content .h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--deep-indigo);
}

.section-content p, .section-content ul {
  font-size: 1.25rem;
  line-height: 1.7;
}

.section-content ul {
  list-style-type: none;
  padding-left: 0;
}

.section-content ul li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.section-content ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--vibrant-teal);
  font-weight: bold;
}

/* Beautiful Scroll arrows */
.scroll-arrow-container {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.scroll-arrow {
  display: block;
  width: 50px;
  height: 50px;
  background: hsla(0, 0%, 100%, 0.9);
  border: 2px solid var(--vibrant-teal);
  border-radius: 50%;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0;
  line-height: 0;
  color: transparent;
  position: relative;
  animation: gentleBounce 2s ease-in-out infinite;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -65%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 10px solid var(--vibrant-teal);
}

.scroll-arrow:hover {
  background: rgba(20, 184, 166, 0.1);
  border-color: var(--warm-amber);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.scroll-arrow:hover::after {
  border-top-color: var(--warm-amber);
}

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

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-text h1, .hero-text .h1 {
    font-size: 2.5rem;
  }
  
  .hero-text h2, .hero-text .h2 {
    font-size: 1.5rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }
}

/* Mobile responsive design - preserving beauty */
@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 1rem 3rem 1rem !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  .hero-image {
    order: 1;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-image img {
    width: 160px !important;
    height: 160px !important;
    max-width: 160px !important;
    max-height: 160px !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    border-radius: 1rem !important;
    margin: 0 !important;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15) !important;
  }
  
  .hero-text {
    order: 2;
    text-align: center;
    padding: 0;
  }
  
  .hero-text h1, .hero-text .h1 {
    font-size: 1.35rem !important;
    margin: 0 0 0.4rem 0 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
  }
  
  .hero-text h2, .hero-text .h2 {
    font-size: 1rem !important;
    margin: 0 0 0.5rem 0 !important;
    font-weight: 500 !important;
    opacity: 0.9 !important;
  }
  
  .hero-text p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin: 0 0 0.75rem 0 !important;
    font-weight: 400 !important;
  }
  
  .hero-text .btn {
    margin: 0.25rem 0.25rem;
    padding: 0.55rem 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
  }
}

/* Additional beautiful components */
.project-card {
  background: rgba(243, 244, 246, 0.3);
  border: 1px solid rgba(20, 184, 166, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(20, 184, 166, 0.2);
  border-color: rgba(20, 184, 166, 0.3);
}

.project-card h3, .project-card .h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: var(--deep-indigo);
  transition: color 0.3s ease;
}

.project-card:hover h3, .project-card:hover .h3 {
  color: var(--vibrant-teal);
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0 2rem 0;
}

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

/* Newsletter and forms */
.newsletter-signup {
  background: var(--soft-pearl);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.newsletter-signup .form-group {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 1rem auto;
}

.newsletter-signup .form-group input[type="email"] {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  background: #FFFFFF;
  transition: all 0.3s ease;
}

.newsletter-signup .form-group input[type="email"]:focus {
  outline: none;
  border-color: var(--vibrant-teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

/* Utility classes */
.text-accent {
  color: var(--vibrant-teal);
}

.text-highlight {
  color: var(--warm-amber);
}

.bg-light {
  background-color: var(--soft-pearl);
}

/* Accessibility - reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Footer styling */
.site-footer {
  background: linear-gradient(135deg, var(--deep-indigo) 0%, rgba(30, 58, 138, 0.95) 100%);
  color: white;
  border-top: 1px solid rgba(20, 184, 166, 0.3);
  padding: 2rem 0;
  margin-top: 4rem;
  font-size: 1.125rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-newsletter {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-newsletter h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-newsletter-form .form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-newsletter-form .form-group input[type="email"] {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: 1rem;
  background: #FFFFFF;
  transition: all 0.3s ease;
}

.footer-newsletter-form .form-group input[type="email"]:focus {
  outline: none;
  border-color: var(--vibrant-teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.footer-newsletter-form .btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-newsletter-form .btn-primary {
  background: var(--vibrant-teal);
  color: white;
}

.footer-newsletter-form .btn-primary:hover {
  background: rgba(20, 184, 166, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-section h5 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
  color: var(--vibrant-teal);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-newsletter-form .form-group {
    flex-direction: column;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer Bottom Copyright Section */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Legacy footer class support */
.page-footer {
  background-color: var(--soft-pearl);
  border-top: 1px solid rgba(30, 58, 138, 0.1);
  padding: 2rem 0;
  margin-top: 4rem;
  font-size: 1.125rem;
}

/* Additional Mobile Optimizations - Missing from SCSS compilation */

/* Mobile-specific hero image optimizations */
@media (max-width: 768px) {
  /* CRITICAL: Fix head cutoff in photos on mobile */
  .hero-image img {
    width: 160px !important;
    height: 160px !important;
    max-width: 160px !important;
    max-height: 160px !important;
    object-fit: cover !important;
    object-position: center 20% !important; /* Focus on upper portion to keep head visible */
    border-radius: 1rem !important;
    margin: 0 !important;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.15) !important;
  }

  /* Mobile hero layout optimization */
  .hero-split {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: 100vh !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 1rem 3rem 1rem !important;
    box-sizing: border-box;
    overflow: hidden;
  }

  .hero-image {
    order: 1;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-text {
    order: 2;
    text-align: center;
    padding: 0;
  }

  .hero-text h1 {
    font-size: 1.35rem !important;
    margin: 0 0 0.4rem 0 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
  }

  .hero-text h2 {
    font-size: 1rem !important;
    margin: 0 0 0.5rem 0 !important;
    font-weight: 500 !important;
    opacity: 0.9 !important;
  }

  .hero-text p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin: 0 0 0.75rem 0 !important;
    font-weight: 400 !important;
  }

  .hero-text .btn {
    margin: 0.25rem 0.25rem;
    padding: 0.55rem 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
  }
}

/* Small mobile devices optimization */
@media (max-width: 480px) {
  .hero-image img {
    width: 140px !important;
    height: 140px !important;
    max-width: 140px !important;
    max-height: 140px !important;
    object-position: center 20% !important;
    border-radius: 50% !important; /* Circular on small screens */
  }

  .hero-text h1 {
    font-size: 1.2rem !important;
    margin-bottom: 0.3rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
  }

  .hero-text h2 {
    font-size: 0.9rem !important;
    margin-bottom: 0.4rem !important;
    font-weight: 500 !important;
    opacity: 0.9 !important;
  }

  .hero-text p {
    font-size: 0.8rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
  }
}

/* Workflow diagram enhancements */
.workflow-diagram {
  max-width: 900px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.1);
}

.aani-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 2rem 0;
}

@media (max-width: 968px) {
  .aani-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .workflow-diagram {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    background-color: white !important;
    padding: 0.5rem !important;
  }

  .hero-image .workflow-diagram {
    max-width: 280px !important;
    max-height: 200px !important;
    margin: 0 auto !important;
  }
}

/* Enhanced animations */
@keyframes gentleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Button enhancements */
.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

/* Focus states */
.btn:focus {
  outline: 2px solid var(--vibrant-teal);
  outline-offset: 2px;
}

/* Projects grid */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0 2rem 0;
}

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

.project-card {
  background: rgba(243, 244, 246, 0.3);
  border: 1px solid rgba(20, 184, 166, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  will-change: transform, box-shadow, border-color;
  backface-visibility: hidden;
}

.project-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.05), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.project-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(20, 184, 166, 0.2);
  border-color: rgba(20, 184, 166, 0.3);
}

.project-card:hover::after {
  left: 100%;
}

.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: var(--deep-indigo);
  transition: color 0.3s ease;
}

.project-card:hover h3 {
  color: var(--vibrant-teal);
}