/* True-Care Clinic Website Styles */
/* Color Scheme from Logo: Primary Blue #1E4D8B, Teal #3FCCB4 */

:root {
  --primary-blue: #1E4D8B;
  --primary-teal: #3FCCB4;
  --teal-light: #5ED9C5;
  --teal-dark: #2EB8A3;
  --dark-blue: #163A6B;
  --light-blue: #E8F4FA;
  --accent-blue: #4A90D9;
  --text-dark: #1A202C;
  --text-gray: #4A5568;
  --text-light: #718096;
  --bg-white: #FFFFFF;
  --bg-gray: #F8FAFC;
  --bg-cream: #FDFCFB;
  --border-gray: #E2E8F0;
  --whatsapp-green: #25D366;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 12px rgba(30, 77, 139, 0.08);
  --shadow-md: 0 8px 20px rgba(30, 77, 139, 0.1);
  --shadow-lg: 0 12px 35px rgba(30, 77, 139, 0.12);
  --shadow-xl: 0 20px 50px rgba(30, 77, 139, 0.15);
  --transition-fast: 0.2s ease;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-blue);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.75rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  color: var(--text-gray);
  line-height: 1.8;
}

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

a:hover {
  color: var(--primary-teal);
}

/* Header */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow var(--transition);
}

header:hover {
  box-shadow: var(--shadow);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text h1 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin: 0;
}

.logo-text p {
  font-size: 0.875rem;
  color: var(--primary-teal);
  margin: 0;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav ul li a {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}

nav ul li a:hover {
  color: var(--primary-blue);
  background-color: var(--light-blue);
}

nav ul li a.active {
  color: var(--primary-teal);
  font-weight: 600;
}

nav ul li a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-teal), var(--teal-light));
  border-radius: 2px;
}

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

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-blue);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 77, 139, 0.9) 0%, rgba(63, 204, 180, 0.8) 50%, rgba(30, 77, 139, 0.85) 100%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--bg-white), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--bg-white);
  max-width: 850px;
  padding: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-content h1 {
  color: var(--bg-white);
  font-size: 3.25rem;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.25rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal) 0%, var(--teal-dark) 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(63, 204, 180, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--primary-teal) 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(63, 204, 180, 0.45);
  color: var(--bg-white);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(30, 77, 139, 0.15);
  border: 2px solid transparent;
}

.btn-secondary:hover {
  background-color: var(--light-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(30, 77, 139, 0.2);
  color: var(--primary-blue);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-teal), var(--teal-light));
  margin: 1.25rem auto;
  border-radius: 4px;
  position: relative;
}

.section-divider::before,
.section-divider::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary-teal);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.section-divider::before {
  left: -15px;
}

.section-divider::after {
  right: -15px;
}

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

.card {
  background-color: var(--bg-white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.6);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-teal), var(--teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(63, 204, 180, 0.3);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 1.75rem;
  width: 100%;
}

.card-title {
  font-size: 1.25rem;
  color: var(--primary-blue);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

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

.card-text {
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform var(--transition);
}

.card:hover .card-icon {
  transform: scale(1.1);
}

/* Service Cards */
.service-card {
  cursor: pointer;
  border: 2px solid var(--border-gray);
}

.service-card:hover {
  border-color: var(--primary-teal);
}

.service-card.active {
  border-color: var(--primary-blue);
  background-color: var(--light-blue);
}

/* Team Cards */
.team-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.5rem;
}

.team-card.clickable {
  cursor: pointer;
}

.team-card.non-clickable {
  cursor: default;
}

.team-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 30%;
  margin: 1.5rem auto 1rem;
  border: 5px solid var(--primary-teal);
  display: block;
  transition: all var(--transition);
  box-shadow: 0 8px 25px rgba(63, 204, 180, 0.25);
}

.team-card:hover .team-photo {
  transform: scale(1.05);
  border-color: var(--teal-light);
  box-shadow: 0 12px 35px rgba(63, 204, 180, 0.35);
}

/* Individual team member photo positioning for consistent face sizes */
img[src*="Durkhah.jpg"] {
  object-position: center 15% !important;
}

img[src*="Ng Sock Wen.jpg"] {
  object-position: center 18% !important;
}

img[src*="Salhah.jpg"] {
  object-position: center 20% !important;
}

img[src*="Haslin.jpg"] {
  object-position: center 10% !important;
  object-fit: cover !important;
  width: 220px !important;
  height: 220px !important;
}

img[src*="Anistasha.jpg"] {
  object-position: center 15% !important;
}

img[src*="Wani.jpg"] {
  object-position: center 18% !important;
}

.team-placeholder {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--light-blue), var(--primary-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 4rem;
  color: var(--bg-white);
  font-weight: bold;
}

.team-name {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.team-card:hover .team-name {
  color: var(--dark-blue);
}

.team-role {
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 2px solid var(--border-gray);
}

.modal-header h3 {
  margin: 0;
}

.close-modal {
  font-size: 2rem;
  color: var(--text-gray);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--primary-blue);
}

.modal-body {
  padding: 2rem;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
  border: 4px solid var(--primary-teal);
}

.profile-bio {
  line-height: 1.8;
  color: var(--text-gray);
}

.profile-bio p {
  margin-bottom: 1.25rem;
  text-align: justify;
}

.profile-bio p:last-child {
  margin-bottom: 0;
}

/* Contact Form */
.contact-form {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-gray);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all var(--transition);
  background-color: var(--bg-gray);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--primary-teal);
  background-color: var(--bg-white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(63, 204, 180, 0.1);
}

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

/* Contact Info */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info-card {
  text-align: center;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--bg-white) 100%);
  border-radius: 16px;
  transition: all var(--transition);
  border: 1px solid rgba(63, 204, 180, 0.1);
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(63, 204, 180, 0.3);
}

.contact-info-card i {
  font-size: 2.75rem;
  background: linear-gradient(135deg, var(--primary-teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.25rem;
}

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

.contact-info-card a {
  color: var(--primary-blue);
  font-weight: 600;
  transition: color var(--transition);
}

.contact-info-card a:hover {
  color: var(--primary-teal);
}

/* Map Container */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--bg-white);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  cursor: pointer;
  transition: all var(--transition);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  }
}

.whatsapp-float:hover {
  background: linear-gradient(135deg, #2EE370, #25D366);
  transform: scale(1.1) translateY(-3px);
  animation: none;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
  color: var(--bg-white);
}

.whatsapp-float i {
  font-size: 2rem;
}

/* Opening Hours Section */
.hours-section {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 50%, var(--primary-teal) 100%);
  color: var(--bg-white);
  padding: 3.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hours-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hours-section h3 {
  color: var(--bg-white);
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
}

.hours-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.25rem;
}

/* Trust Signals */
.trust-signals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  text-align: center;
  padding: 3rem 0;
}

.trust-item {
  padding: 1.5rem;
  border-radius: 16px;
  transition: all var(--transition);
}

.trust-item:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-5px);
}

.trust-item h3 {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.trust-item p {
  font-size: 1rem;
  color: var(--text-gray);
  font-weight: 500;
}

/* Footer */
footer {
  background: linear-gradient(180deg, var(--dark-blue) 0%, #0F2847 100%);
  color: var(--bg-white);
  padding: 4rem 2rem 2rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-teal), var(--primary-blue), var(--primary-teal));
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--primary-teal);
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.footer-section p,
.footer-section a {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  transition: color var(--transition);
}

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

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

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

.footer-section ul li a {
  position: relative;
  padding-left: 0;
  transition: all var(--transition);
}

.footer-section ul li a:hover {
  padding-left: 8px;
  color: var(--primary-teal);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.bg-gray {
  background-color: var(--bg-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 1rem;
  }

  .hero {
    height: 500px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

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

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float i {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 2rem 1rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .modal-content {
    margin: 1rem;
  }

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }
}

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

.container {
  animation: fadeIn 0.6s ease-out;
}

/* Selection styling */
::selection {
  background-color: var(--primary-teal);
  color: var(--bg-white);
}

::-moz-selection {
  background-color: var(--primary-teal);
  color: var(--bg-white);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-teal), var(--primary-blue));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--teal-light), var(--primary-teal));
}

/* Focus states for accessibility */
*:focus-visible {
  outline: 3px solid var(--primary-teal);
  outline-offset: 2px;
}

/* Image loading state */
img {
  transition: opacity var(--transition);
}

img[loading="lazy"] {
  opacity: 0;
}

img.loaded,
img:not([loading="lazy"]) {
  opacity: 1;
}
