/* ============================================
   PT. Binav Maju Sejahtera - Enhanced Styles
   ============================================ */

/* CSS Variables */
:root {
  --primary-color: #011b2b;
  --secondary-color: #02253a;
  --accent-color: #0066cc;
  --accent-hover: #0052a3;
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  --border-color: #dddddd;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* Section Separator Lines */
section + section {
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

/* ============================================
   HERO SECTION
   ============================================ */
.intro-image {
  height: 100vh;
  min-height: 600px;
  background-image: url(../images/intro4.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  position: relative;
}

.intro-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(180deg, rgba(1, 27, 43, 0.3) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(1, 27, 43, 0.7) 85%, rgba(2, 30, 48, 1) 100%);
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--text-light);
  padding: 2rem;
}

.content-inner {
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
}

.text-content h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-content h4 {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.8;
}

.button-container {
  margin-top: 2rem;
}

.cta-button {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  color: var(--text-light);
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--accent-hover) 0%, #003d7a 100%);
}

.cta-button:active {
  transform: translateY(-1px);
}

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

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

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  padding: 0.8rem 0;
  z-index: 9999;
}

.navbar-scrolled {
  background-color: rgba(1, 27, 43, 0.95);
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
}

.logo {
  height: 60px;
  width: auto;
  transition: transform var(--transition-fast);
}

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

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color var(--transition-fast);
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--accent-color);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Mobile Navbar */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: rgba(1, 27, 43, 0.98);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-md);
  }

  .navbar-nav {
    padding: 0.5rem 0;
  }

  .navbar-dark .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }

  .navbar-dark .navbar-nav .nav-link::after {
    display: none;
  }
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.bg-about {
  background: linear-gradient(180deg, #021e30 0%, #01263d 50%, #022842 100%);
  position: relative;
  overflow: hidden;
}

.bg-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(0, 168, 142, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(0, 102, 204, 0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

#about img {
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

#about img:hover {
  transform: scale(1.02);
}

.desc-content h2 {
  color: var(--text-light);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.desc-content h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.desc-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.service-section {
  background: linear-gradient(180deg, #011b2b 0%, #0a1e2e 50%, #021e30 100%);
  position: relative;
  overflow: hidden;
}

.service-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(99, 102, 241, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.012'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.service-types {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.service-types .btn {
  padding: 12px 24px;
  font-weight: 500;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-normal);
  border-width: 2px;
}

.service-types .btn.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background-color: var(--text-light);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin: 0 0 1rem 0;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.service-card p,
.service-card ul {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.service-card ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.service-card ul li {
  margin-bottom: 0.5rem;
}

.card-text {
  max-height: 100px;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.card-text.expanded {
  max-height: 1000px;
}

.view-more {
  background-color: var(--accent-color);
  color: var(--text-light);
  border: none;
  margin-top: auto;
  padding: 10px 24px;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  align-self: flex-start;
}

.view-more:hover {
  background-color: var(--accent-hover);
  transform: translateX(5px);
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.bg-gallery {
  background: linear-gradient(180deg, #02253a 0%, #01294a 50%, #022444 100%);
  position: relative;
  overflow: hidden;
}

.bg-gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 168, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(0, 102, 204, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.carousel1-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}

.carousel1 {
  display: flex;
  transition: transform 0.1s linear;
}

.carousel1-item {
  min-width: 280px;
  margin: 0 12px;
  flex-shrink: 0;
}

.carousel1-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.carousel1-item:hover img {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   VIDEO SECTION
   ============================================ */
.video-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.video-wrapper {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-color: #000;
  margin: 0 auto;
  max-width: 100%;
}

.video-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
}

.video-container.portrait {
  max-width: 560px;
  margin: 0 auto;
}

.video-container.landscape {
  padding-top: 56.25%;
  max-width: 900px;
  margin: 0 auto;
}

.video-container.portrait .video-player {
  width: 100%;
  max-height: 80vh;
}

.video-container.landscape .video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-player {
  display: block;
  object-fit: contain;
  background-color: #000;
}

/* ============================================
   PRAKUALIFIKASI SECTION
   ============================================ */
.bg-grid-container {
  background: linear-gradient(180deg, #011b2b 0%, #021f32 50%, #01253c 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.bg-grid-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 60% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 70%, rgba(0, 102, 204, 0.03) 0%, transparent 50%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.012'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

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

.grid-container img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.grid-container img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   CLIENTS SECTION
   ============================================ */
.bg-section {
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.25rem;
  justify-items: center;
}

.client-item {
  width: 140px;
  height: 140px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--text-light);
  border-radius: var(--border-radius-md);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.client-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.client-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: filter var(--transition-fast);
}

.client-item:hover img {
  filter: brightness(0.8);
}

.client-item .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 102, 204, 0.95), rgba(0, 102, 204, 0.7));
  color: var(--text-light);
  padding: 8px;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
  font-size: 11px;
  font-weight: 500;
}

.client-item:hover .overlay {
  opacity: 1;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--text-light);
}

.contact-form {
  flex: 2;
  min-width: 300px;
  padding: 2.5rem;
}

.contact-form h2 {
  color: var(--primary-color);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-form h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info h2 {
  color: var(--text-light);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-info i {
  color: var(--accent-color);
  margin-top: 4px;
  min-width: 20px;
}

/* Form Inputs */
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  transition: all var(--transition-fast);
  background-color: #fafafa;
  margin-bottom: 1rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: var(--text-light);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-input::placeholder {
  color: #999;
}

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

/* Submit Button */
.contact-form .btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
  border: none;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  width: 100%;
  max-width: 200px;
}

.contact-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--accent-hover) 0%, #003d7a 100%);
}

/* Alert Messages */
.alert {
  border-radius: var(--border-radius-md);
  margin-bottom: 1.5rem;
  animation: fadeIn 0.3s ease-out;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background-color: var(--primary-color);
}

footer a {
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

.bg-footer {
  background-color: var(--primary-color);
  position: relative;
}

.bg-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.bg-footer h5 {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.bg-footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

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

.bg-footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  display: inline-block;
  transition: all var(--transition-fast);
}

.bg-footer ul li a:hover {
  color: var(--accent-color);
  transform: translateX(5px);
}

footer .fab {
  font-size: 1.25rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

footer .fab:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Tablets */
@media (max-width: 992px) {
  .intro-image {
    background-attachment: scroll;
  }

  .content {
    padding: 6rem 2rem 2rem;
  }

  .logo {
    height: 50px;
  }

  .client-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
  }

  .client-item {
    width: 120px;
    height: 120px;
  }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .intro-image {
    min-height: 500px;
  }

  .content {
    padding: 5rem 1.5rem 2rem;
  }

  .text-content h1 {
    font-size: 1.6rem;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  #about img {
    max-height: 300px;
    margin-bottom: 1.5rem;
  }

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

  .service-types {
    flex-direction: column;
  }

  .service-types .btn {
    width: 100%;
  }

  .carousel1-item {
    min-width: 240px;
  }

  .carousel1-item img {
    height: 200px;
  }

  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-container.portrait {
    max-width: 100%;
  }

  .video-container.portrait .video-player {
    max-height: 60vh;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .intro-image {
    min-height: 450px;
  }

  .content {
    padding: 4rem 1rem 1.5rem;
  }

  .text-content h4 {
    font-size: 0.95rem;
  }

  .logo {
    height: 40px;
  }

  .client-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .client-item {
    width: 100%;
    height: 100px;
    padding: 8px;
  }

  .carousel1-item {
    min-width: 200px;
    margin: 0 8px;
  }

  .carousel1-item img {
    height: 160px;
  }

  .contact-form .btn-primary {
    max-width: 100%;
  }

  .grid-container {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-item {
    height: 90px;
  }
}

/* ============================================
   ACCESSIBILITY & PRINT
   ============================================ */

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

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

  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .navbar,
  .video-section,
  .cta-button,
  footer .fab {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .intro-image {
    background: none;
    height: auto;
    min-height: auto;
  }

  .content {
    color: #000;
    padding: 1rem;
  }
}

/* ============================================
   SCROLL TO TOP BUTTON (Optional)
   ============================================ */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

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

/* Loading animation for images */
.img-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
