@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap");
@import url("color-schemes.css");

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

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

::-webkit-scrollbar {
  width: 6px;
  background-color: var(--scrollbar-bg);
}

::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb);
}

body {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: var(--text-secondary);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Lazy Loading Styles */
.lazy-load {
  opacity: 0;
  transition: opacity 1s ease-in-out;
  filter: blur(5px);
  position: relative;
  z-index: 2;
}

.lazy-load[src],
.loaded {
  opacity: 1;
  filter: blur(0);
  transition: opacity 1s ease-in-out, filter 1s ease-in-out;
}

/* Image placeholder for lazy loading */
.image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(15px);
  z-index: 1;
  transform: scale(1.1);
}

/* Background lazy loading */
section[data-src] {
  background-color: var(--dark-bg);
  /* Placeholder color before image loads */
  transition: background-image 0.5s ease-in-out;
  position: relative;
}

/* Section animations */
.section-hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: none;
}

.section-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.background-loaded {
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0.7;
  }

  to {
    opacity: 1;
  }
}

/* Add staggered animation for service cards */
.service-grid .service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out,
    box-shadow 0.3s ease, transform 0.3s ease;
}

.section-visible .service-card:nth-child(1) {
  transition-delay: 0.1s;
}

.section-visible .service-card:nth-child(2) {
  transition-delay: 0.2s;
}

.section-visible .service-card:nth-child(3) {
  transition-delay: 0.3s;
}

.section-visible .service-card:nth-child(4) {
  transition-delay: 0.4s;
}

.section-visible .service-card {
  opacity: 1;
  transform: translateY(0);
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--btn-primary-text);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  background-color: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  color: var(--btn-primary-text);
  text-decoration: none;
}

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

.section-label {
  color: var(--section-label-color);
  font-size: 18px;
  font-weight: 700;
  line-height: 40px;
  text-transform: uppercase;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--header-bg);
  padding: 10px 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

header.scrolled {
  background-color: var(--header-bg);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

header.inner-header {
  background-color: var(--header-bg);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.logo img {
  height: 60px;
}

nav ul {
  display: flex;
  margin: 0;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: var(--nav-link-color);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--nav-link-hover);
  background-color: rgba(99, 102, 241, 0.1);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.cta-button .btn {
  border-radius: 100px;
  background: var(--btn-secondary-bg);
  box-shadow: 0px 20px 50px 0px rgba(230, 0, 19, 0.05);
  display: flex;
  width: 250px;
  height: 35px;
  padding: 20px;
  justify-content: center;
  align-items: center;
  color: var(--btn-secondary-text);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  outline: none;
  border: 0;
}

.hero-content .btn {
  border-radius: 100px;
  background: var(--btn-secondary-bg);
  box-shadow: 0px 20px 50px 0px rgba(230, 0, 19, 0.05);
  display: flex;
  width: 250px;
  height: 40px;
  padding: 20px;
  justify-content: center;
  align-items: center;
  color: var(--btn-secondary-text);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  outline: none;
  border: 0;
}

.about-button .btn {
  border-radius: 100px;
  background: var(--btn-primary-text);
  box-shadow: 0px 20px 50px 0px rgba(230, 0, 19, 0.05);
  display: flex;
  width: 200px;
  height: 40px;
  padding: 20px 40px;
  justify-content: center;
  align-items: center;
  color: var(--primary-dark);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  outline: none;
  border: 0;
}

/* Hero Section */
.hero {
  padding: 100px 0 20px 0;
  background-color: var(--background-white);
  position: relative;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 80vh;
}

.hero-content {
  flex: 1;
  opacity: 1 !important;
  transform: none !important;
}

.hero-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  right: 0;
  top: 80px;
  height: 450px;
  border-bottom-left-radius: 55px;
}

.hero h1 {
  color: var(--text-dark);
  font-family: Lato;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 70px;
  text-transform: capitalize;
  margin-bottom: 25px;
}

.hero p {
  color: var(--text-dark);
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px;
  margin-bottom: 30px;
}

/* Intro Section */
.intro {
  padding: 50px 0;
  text-align: center;
  background-color: var(--background-white);
}

.intro p {
  font-size: 1.2rem;
  max-width: 900px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 50px 0;
  background-color: var(--background-light);
}

.about.inner-about {
  padding: 80px 0 50px 0;
  margin-top: 20px;
}

.about .about-container {
  display: flex;
  align-items: center;
  border-radius: 35px;
  background: var(--about-bg);
  gap: 40px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.about .inner-about-content {
  background: transparent;
  border: 0;
  box-shadow: none;
  align-items: flex-start;
}

.about-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.about-content {
  flex: 1;
  padding: 0;
}

.about h2 {
  color: var(--text-medium);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 400;
  line-height: 25px;
}

/* Capabilities Section */
.capabilities {
  padding: 80px 0;
  background-color: var(--background-white);
  text-align: center;
}

.capabilities.inner-capabilities {
  padding-top: 80px;
  margin-top: 20px;
}

.capabilities h2 {
  color: var(--text-section);
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  line-height: 55px;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  overflow: hidden;
  border-radius: 20px;
  background: var(--background-card);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-image {
  height: 220px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-card h3 {
  margin: 25px 0 15px;
  color: var(--text-section);
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
}

.service-card p {
  padding: 0 25px 25px;
  color: var(--text-secondary);
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--text-light);
  padding: 50px 0 20px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo img {
  height: 60px;
}

.footer-details {
  display: flex;
  justify-content: space-between;
  margin: 0 auto 30px;
  text-align: center;
  align-items: end;
}

.address {
  text-align: left;
}

.address p {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 5px;
}

.footer-details p {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 5px;
}

.footer-details a {
  color: var(--text-light);
  text-decoration: underline;
}

.copyright {
  text-align: left;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.copyright p {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 400;
  line-height: 27px;
  margin: 0;
}

/* Contact Section */
.contact-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-card {
  background-color: var(--contact-card-bg);
  color: var(--contact-card-text);
  padding: 40px 30px;
  width: 31%;
  min-height: 200px;
  border-radius: 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contact-card i {
  font-size: 24px;
  margin-right: 8px;
}

.contact-card p {
  color: var(--contact-card-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}

.icon-row {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.icon-row i {
  margin-right: 12px;
  background: var(--primary-color);
  color: var(--contact-card-text);
  padding: 12px;
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-card a {
  color: var(--contact-card-text);
  text-decoration: underline;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 15px;
}

.inner-title h2 {
  color: var(--text-section);
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 55px;
}

/* Quote Section */
section.quote-section {
  padding-top: 80px;
  padding-bottom: 50px;
  background: var(--background-white);
}

.quote-section .container {
    max-width: 1340px;
}

.quotation-block {
  border-radius: 10px;
  padding: 10px 40px 20px 40px;
  background: var(--background-white);
}

.quote-header {
  text-align: center;
}

.quote-header h3 {
  color: var(--text-section);
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.6px;
}

.quote-header h3 span {
  color: var(--section-label-color);
}

.quote-header p {
  color: var(--text-muted);
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.quotation-block .form-control {
  border-radius: 8px;
  border: 1px solid var(--border-form);
  background: var(--background-white);
  padding: 5px;
  height: 40px;
  box-shadow: none;
}

.quotation-block label {
  color: var(--text-form);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}

.quotation-block .astrick {
  color: var(--error-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
}

.quotation-block .text-muted {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-top: 10px;
  margin-bottom: 0;
}

.send-btn {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: end;
}

.send-btn .btn-reset {
  border-radius: 8px;
  border: 1px solid var(--btn-reset-border);
  background: var(--btn-reset-bg);
  padding: 15px 45px;
  color: var(--btn-reset-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.32px;
  outline: none;
}

.send-btn .btn-submit {
  border-radius: 8px;
  background: var(--btn-submit-bg);
  padding: 15px 45px;
  color: var(--btn-submit-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.32px;
  border: 1px solid var(--btn-submit-border);
  outline: none;
}

.upload-box {
  border: 1px dashed var(--border-dashed);
  border-radius: 4px;
  padding: 15px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.upload-box input[type="file"] {
  display: none;
}

.upload-box p {
  color: var(--text-form);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin: 0;
}

.upload-box label {
  color: var(--text-form);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  margin: 0;
  text-decoration: underline;
}

/* Equipment Section Styles */
.equipment-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.equipment-section h3 {
  color: var(--text-primary);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.equipment-item {
  background-color: var(--card-bg);
  padding: 0;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.equipment-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.equipment-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--background-light);
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.equipment-item:hover .equipment-image img {
  transform: scale(1.05);
}

.equipment-item h4 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
  margin: 20px 20px 12px 20px;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
}

.equipment-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 20px 20px 20px;
  font-weight: 400;
}

/* Responsive Design */
@media screen and (max-width: 1199px) {
  .hero-image img {
    position: relative;
    top: 0;
  }
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 50px;
  }

  .about .about-container {
    align-items: self-start;
  }

  nav ul li {
    margin-left: 10px;
  }

  nav ul li a {
    letter-spacing: 0;
    font-size: 14px;
  }

  .cta-button .btn {
    width: 225px;
    padding: 20px;
    font-size: 15px;
}
}

@media (max-width: 768px) {
  header .container {
    flex-wrap: wrap;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100vh;
    background-color: var(--header-bg);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: left 0.3s ease;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 20px 30px 30px;
  }

  nav ul li {
    margin: 15px 0;
  }

  .mobile-menu-toggle {
    display: block;
    z-index: 1001;
    color: var(--btn-secondary-bg);
  }

  .hero .container,
  .about .container {
    flex-direction: column;
  }

  .hero-content,
  .about-content,
  .about-image {
    width: 100%;
    padding: 0;
    margin: 0 0 30px 0;
  }

  .hero-content {
    margin: 30px 0 30px 0;
  }

  .hero-image img {
    display: none;
  }

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

  .hero .container {
    height: auto;
  }

  .hero h1,
  .hero p {
    color: var(--text-light);
  }

  .footer-details {
    flex-direction: column;
    align-items: center;
  }

  .address {
    text-align: center;
  }

  .address,
  .contact,
  .hours {
    margin-bottom: 20px;
  }

  .about .about-container {
    display: block;
  }

  .about-image {
    margin: 0;
  }

  .about-image img {
    width: 100%;
  }

  .about-content {
    padding: 30px;
  }

  .copyright {
    text-align: center;
  }

  .contact-card {
    width: 100%;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .equipment-item {
    padding: 20px;
  }
  
  .equipment-section h3 {
    font-size: 24px;
  }
}

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

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

  .intro p,
  .about-content p {
    font-size: 16px;
  }
}

.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-container .loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--loader-bg);
  border-radius: 50%;
  border-top: 5px solid var(--loader-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* 404 Error Page Styles */
.error-404 {
  padding: 120px 0 60px 0;
  background-color: var(--background-white);
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.error-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 60px;
}

.error-visual {
  flex: 1;
  text-align: center;
  position: relative;
}

.error-number {
  font-size: 12rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 0.8;
  opacity: 0.1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.error-icon {
  position: relative;
  z-index: 2;
}

.error-icon i {
  font-size: 6rem;
  color: var(--primary-color);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

.error-text {
  flex: 1;
}

.error-text h1 {
  color: var(--text-dark);
  font-family: Lato;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.error-description {
  color: var(--text-secondary);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.error-suggestions {
  margin-bottom: 2.5rem;
}

.error-suggestions h3 {
  color: var(--text-dark);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.error-suggestions ul {
  list-style: none;
  padding: 0;
}

.error-suggestions ul li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.error-suggestions ul li i {
  color: var(--primary-color);
  margin-right: 0.8rem;
  font-size: 1rem;
  width: 20px;
}

.error-suggestions ul li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.error-suggestions ul li a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.error-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.error-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.error-actions .btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

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

.error-actions .btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Quick Links Section */
.quick-links {
  text-align: center;
  padding-top: 60px;
  border-top: 1px solid #e5e5e5;
}

.quick-links h2 {
  color: var(--text-dark);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

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

.link-card {
  background: var(--background-card);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.link-icon {
  margin-bottom: 1rem;
}

.link-icon i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.link-card h4 {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.link-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.link-btn {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.link-btn:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Responsive Design for 404 Page */
@media (max-width: 992px) {
  .error-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .error-visual {
    order: 2;
  }
  
  .error-text {
    order: 1;
  }
  
  .error-number {
    font-size: 8rem;
  }
  
  .error-icon i {
    font-size: 4rem;
  }
  
  .error-text h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .error-404 {
    padding: 80px 0 40px 0;
  }
  
  .error-number {
    font-size: 6rem;
  }
  
  .error-icon i {
    font-size: 3rem;
  }
  
  .error-text h1 {
    font-size: 2.2rem;
  }
  
  .error-description {
    font-size: 1rem;
  }
  
  .error-actions {
    justify-content: center;
  }
  
  .error-actions .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .quick-links h2 {
    font-size: 2rem;
  }
  
  .links-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .link-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .error-text h1 {
    font-size: 1.8rem;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-actions .btn {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
}