/* Custom styles for SRES website with Tailwind CSS */

/* Base styles */
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Custom animations and transitions */
.transition-all {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

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

/* Custom button styles */
.btn-custom {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary-custom {
  background-color: #1e88e5;
  color: white;
}

.btn-primary-custom:hover {
  background-color: #1565c0;
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
  transform: translateY(-2px);
}

.btn-outline-custom {
  background-color: transparent;
  color: #1e88e5;
  border: 2px solid #1e88e5;
}

.btn-outline-custom:hover {
  background-color: #1e88e5;
  color: white;
  transform: translateY(-2px);
}

/* Team card styles */
.team-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.team-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.bio-text {
  height: 75px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Property card styles */
.property-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.property-card:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

/* Modern Navigation styles */
.nav-link-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #6b7280;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  position: relative;
  min-width: 80px;
  background: transparent;
}

.nav-link-modern i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.nav-link-modern span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.nav-link-modern:hover {
  color: #264D66;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(38, 77, 102, 0.15);
}

.nav-link-modern:hover i {
  transform: scale(1.1);
  color: #264D66;
}

.nav-link-modern:hover span {
  color: #264D66;
}

.nav-link-modern.active {
  color: #264D66;
  background: linear-gradient(135deg, #264D66 0%, #1e88e5 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(38, 77, 102, 0.25);
}

.nav-link-modern.active i,
.nav-link-modern.active span {
  color: white;
}

.nav-link-modern.active:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(38, 77, 102, 0.3);
}

/* Legacy nav-link-desktop for compatibility */
.nav-link-desktop {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link-desktop::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #264D66, #1e88e5);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link-desktop:hover {
  color: #264D66;
  background-color: #f8fafc;
  transform: translateY(-2px);
}

.nav-link-desktop:hover::before {
  width: 80%;
}

.nav-link-desktop.active {
  color: #264D66;
  background-color: #f1f5f9;
}

.nav-link-desktop.active::before {
  width: 80%;
}

/* Mobile menu button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #264D66, #1e88e5);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-menu-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(38, 77, 102, 0.3);
}

.mobile-menu-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(38, 77, 102, 0.2);
}

/* Hamburger icon */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 16px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-btn.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile menu container */
.mobile-menu-container {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.3s ease-out;
}

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

.mobile-menu-content {
  max-width: 7xl;
  margin: 0 auto;
  padding: 1rem;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.mobile-close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none;
  border-radius: 0.5rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-close-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.mobile-menu-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Modern Mobile Navigation */
.mobile-nav-link-modern {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: #374151;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  background: white;
  border: 1px solid #e5e7eb;
  margin-bottom: 0.5rem;
}

.mobile-nav-link-modern:hover {
  background: linear-gradient(135deg, #264D66, #1e88e5);
  color: white;
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 8px 25px rgba(38, 77, 102, 0.25);
}

.mobile-nav-link-modern.active {
  background: linear-gradient(135deg, #264D66, #1e88e5);
  color: white;
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(38, 77, 102, 0.3);
}

.mobile-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border-radius: 0.5rem;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.mobile-nav-link-modern:hover .mobile-nav-icon {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.mobile-nav-link-modern.active .mobile-nav-icon {
  background: rgba(255, 255, 255, 0.2);
}

.mobile-nav-icon i {
  font-size: 1.25rem;
  color: #6b7280;
  transition: all 0.3s ease;
}

.mobile-nav-link-modern:hover .mobile-nav-icon i,
.mobile-nav-link-modern.active .mobile-nav-icon i {
  color: white;
}

.mobile-nav-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mobile-nav-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
}

.mobile-nav-subtitle {
  font-size: 0.75rem;
  color: #6b7280;
  transition: all 0.3s ease;
}

.mobile-nav-link-modern:hover .mobile-nav-subtitle,
.mobile-nav-link-modern.active .mobile-nav-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

/* Legacy mobile-nav-link for compatibility */
.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: 1rem;
  color: #374151;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  background: white;
  border: 1px solid #e5e7eb;
}

.mobile-nav-link:hover {
  background: linear-gradient(135deg, #264D66, #1e88e5);
  color: white;
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(38, 77, 102, 0.2);
}

.mobile-nav-link i {
  width: 1.5rem;
  margin-right: 0.75rem;
  text-align: center;
}

.mobile-menu-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

/* Form styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #1e88e5;
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}



/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background-color: #1e88e5;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #1565c0;
  transform: scale(1.1);
}

/* Testimonial styles */
.testimonial-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Contact item styles */
.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-item i {
  color: #1e88e5;
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* Modern Contact Items */
.contact-item-modern {
  display: flex;
  align-items: flex-start;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-item-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #264D66, #1e88e5);
  border-radius: 0.75rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 1.25rem;
}

.contact-content {
  flex: 1;
}

/* Social Links */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #264D66, #1e88e5);
  color: white;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(38, 77, 102, 0.3);
  color: white;
}

.social-link i {
  font-size: 1.25rem;
}

/* FAQ Styles */
.faq-item {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: #f8fafc;
}

.faq-question i {
  color: #1e88e5;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.faq-answer p {
  padding: 1.5rem 0;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* Privacy Policy Styles */
.policy-nav-link {
  color: #374151;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem 0;
  border-radius: 0.5rem;
  padding-left: 0.5rem;
}

.policy-nav-link:hover {
  color: #264D66;
  background-color: #f8fafc;
  transform: translateX(4px);
}

.policy-list {
  list-style-type: none;
  padding-left: 0;
}

.policy-number {
  font-weight: 600;
  color: #264D66;
  min-width: 3rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Property Features */
.property-feature {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background-color: #f8fafc;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

/* Modern Feature Cards */
.feature-card {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  min-height: 3.5rem;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.1);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  margin-right: 0.75rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-icon i {
  font-size: 1rem;
  transition: all 0.3s ease;
}

.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-label {
  font-size: 0.625rem;
  color: #6b7280;
  font-weight: 500;
  margin-bottom: 0.125rem;
  line-height: 1.2;
}

.feature-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1f2937;
  transition: all 0.3s ease;
  line-height: 1.2;
}

.feature-card:hover .feature-value {
  color: #264D66;
}

/* Pagination Styles */
.pagination-link {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: #374151;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-weight: 500;
}

.pagination-link:hover {
  background-color: #f3f4f6;
  color: #264D66;
  transform: translateY(-1px);
}

.pagination-active {
  background-color: #264D66;
  color: white;
}

.pagination-active:hover {
  background-color: #1e3a8a;
  color: white;
}

/* Clean Pagination Styles */
.pagination-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  color: #374151;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.875rem;
}

.pagination-nav-btn:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}

.pagination-nav-btn.pagination-disabled {
  background-color: #f3f4f6;
  border-color: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}

.pagination-number-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0.125rem;
  color: #374151;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: #ffffff;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.875rem;
}

.pagination-number-btn:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
  color: #111827;
}

.pagination-number-btn.pagination-active {
  background-color: #264D66;
  border-color: #264D66;
  color: white;
}

.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #9ca3af;
  font-weight: 500;
  font-size: 1rem;
  user-select: none;
  margin: 0 0.125rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .pagination-nav-btn {
    min-width: 2rem;
    height: 2rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }

  .pagination-number-btn {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }

  .pagination-ellipsis {
    width: 2rem;
    height: 2rem;
    font-size: 0.875rem;
  }
}

/* Property Gallery Styles */
.property-gallery {
  position: relative;
}

.property-thumbnails {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

.property-thumbnails::-webkit-scrollbar {
  height: 6px;
}

.property-thumbnails::-webkit-scrollbar-thumb {
  background-color: rgba(0,0,0,0.2);
  border-radius: 3px;
}

.thumbnail-wrapper {
  border: 2px solid transparent;
  padding: 2px;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.thumbnail-wrapper.active {
  border-color: #264D66;
}

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

/* Carousel Styles */
.carousel-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-item.active {
  opacity: 1;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive property carousel image - adapts to any size/aspect ratio */
.property-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: #1e293b; /* slate-800 behind image */
}

/* For landscape images (wider), use cover for a better fill */
@media (min-width: 768px) {
  .property-carousel-img {
    object-fit: contain;
  }
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(38, 77, 102, 0.8);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-control-prev {
  left: 1rem;
}

.carousel-control-next {
  right: 1rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: rgba(38, 77, 102, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-size: 100% 100%;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
}

/* Footer styles */
.footer-link {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: white;
  text-decoration: none;
}

/* Responsive image placeholder */
placeholder-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  margin: 2rem;
  padding: 1rem;
}

/* Override some Tailwind defaults for better UX */
.shadow-custom {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-custom-lg {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Header scroll effect */
header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile menu styles */
@media (max-width: 1024px) {
  .mobile-menu-container {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 40;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  
  .mobile-nav-link {
    margin-bottom: 0.25rem;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-link-desktop {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .mobile-menu-btn {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* Small mobile adjustments */
@media (max-width: 640px) {
  .mobile-menu-content {
    padding: 0.75rem;
  }
  
  .mobile-nav-link {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  
  .mobile-menu-header h3 {
    font-size: 1rem;
  }
}

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

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

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

/* Focus styles for accessibility */
.focus-ring:focus {
  @apply outline-none ring-2 ring-primary-blue ring-opacity-50;
}

/* Line clamp utilities */
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}