/* Variables */
:root {
  --primary-color: #002b5b;
  --accent-color: #d4af37;
  --text-color: #333333;
  --light-bg: #f8f9fa;
  --white: #ffffff;
}

/* Global Styles */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Account for fixed header */
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar .navbar-brand img {
  transition: all 0.3s ease;
}

/* Company name styling and mobile hide */
.company-name {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
}

.navbar .nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--primary-color);
}

/* Navbar Toggler Icons */

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

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

.open-icon,
.close-icon {
  font-size: 1.2rem;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.navbar-toggler:hover .open-icon,
.navbar-toggler:hover .close-icon {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slider .swiper-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-slider .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 43, 91, 0.9),
    rgba(0, 43, 91, 0.7)
  );
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    transparent 0%,
    rgba(0, 43, 91, 0.3) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 8px 16px;
  border-radius: 25px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--accent-color);
  margin-right: 8px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-title-main {
  display: block;
  color: var(--white);
}

.hero-title-sub {
  display: block;
  color: var(--accent-color);
  font-size: 0.8em;
}

.hero-subtitle {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
}

.typing-text {
  position: relative;
}

.hero-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: var(--accent-color);
  border: none;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-btn-primary:hover {
  background: #b38f2d;
  transform: translateY(-2px);
}

.hero-btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--white);
}

.hero-btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

/* Swiper Pagination Styles */
.hero-slider .swiper-pagination {
  bottom: 30px;
}

.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--white);
  opacity: 0.5;
}

.hero-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent-color);
}

/* Buttons */
.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #b38f2d;
  border-color: #b38f2d;
  transform: translateY(-2px);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Section Styles */
section {
  scroll-margin-top: 100px; /* Ensure sections have proper scroll offset */
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.section-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Intro Section Enhancements */
.intro-content {
  padding: 2rem 0;
}

.animated-title {
  position: relative;
  overflow: hidden;
}

.title-line {
  display: block;
  color: var(--primary-color);
}

.title-highlight {
  display: block;
  color: var(--accent-color);
  position: relative;
}

.animated-text {
  color: #666;
  line-height: 1.8;
  position: relative;
}

.intro-features {
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateX(5px);
}

.feature-item i {
  color: var(--accent-color);
  margin-right: 1rem;
  font-size: 1.1rem;
}

.feature-item span {
  color: var(--text-color);
  font-weight: 500;
}

.intro-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.intro-image-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.intro-image-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.intro-image {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.3s ease;
}

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 43, 91, 0.9));
  color: white;
  padding: 2rem;
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.intro-image-container:hover .image-overlay {
  transform: translateY(0);
}

.overlay-content h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.overlay-content p {
  margin: 0;
  opacity: 0.9;
}

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

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

.service-card-inner {
  padding: 2.5rem 2rem;
  position: relative;
}

.clickable-card {
  cursor: pointer;
  user-select: none;
}

.clickable-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.clickable-card:hover .service-icon {
  color: var(--primary-color);
}

.service-card .service-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  display: block;
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-weight: 600;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Service Card List Alignment */
.service-card .list-unstyled {
  width: 80%;
  margin: 0 auto;
  padding: 0;
}

.service-card .list-unstyled li {
  text-align: left;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.service-card .list-unstyled li:last-child {
  margin-bottom: 0;
}

.service-card .list-unstyled li i {
  flex-shrink: 0;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-tag {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.3s ease;
}

.clickable-card:hover .feature-tag {
  background: rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
}

.card-arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-color), #f4d03f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  color: white;
  font-size: 0.9rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(rgba(0, 43, 91, 0.9), rgba(0, 43, 91, 0.9)),
    url("../images/cta-bg.webp") center/cover no-repeat;
  color: var(--white);
  text-align: center;
}

.cta .section-title {
  color: var(--white);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
}
.footer p {
  margin: 0;
}

.footer h5 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.footer .social-links a {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.footer .social-links a:last-child {
  margin-right: 0;
}

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

.foot-cont-sec {
  padding: 6rem 0;
}

.copiright-section {
  padding: 2rem 0;
}

/* Powered by ILM UX Section */
.powered-by-section {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.powered-by-text {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.powered-label {
  font-weight: 400;
}

.ilmux-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.ilmux-logo {
  height: 40px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.ilmux-link:hover .ilmux-logo {
  transform: scale(1.1);
}

/* Mobile responsive for powered by section */
@media (max-width: 576px) {
  .powered-by-text {
    flex-direction: column;
    gap: 0.25rem;
  }

  .powered-by-section {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
}

/* Page Header */
.page-header {
  background: linear-gradient(rgba(0, 43, 91, 0.8), rgba(0, 43, 91, 0.8)),
    url("../images/header-bg.webp") center/cover no-repeat;
  padding: 150px 0 60px;
  color: var(--white);
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form .form-control {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 43, 91, 0.25);
}

/* Form Validation Styles */
.contact-form .form-group {
  position: relative;
}

.contact-form .form-control.is-valid {
  border-color: #28a745 !important;
  background-image: none !important;
  padding-right: 0.75rem !important;
}

.contact-form .form-control.is-valid:focus {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
  background-image: none !important;
}

.contact-form .form-control.is-invalid {
  border-color: #dc3545 !important;
  background-image: none !important;
  padding-right: 0.75rem !important;
}

.contact-form .form-control.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
  background-image: none !important;
}

/* Validation Icons */
.form-group .validation-icon {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.form-group .validation-icon.show {
  opacity: 1;
}

.form-group .validation-icon.valid {
  color: #28a745;
}

.form-group .validation-icon.invalid {
  color: #dc3545;
}

/* Adjust for textarea */
.form-group:has(textarea) .validation-icon {
  top: auto;
  transform: none;
  bottom: 12px;
}

/* Error Messages */
.error-message {
  display: none;
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
  padding-left: 0.5rem;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.error-message.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.error-message i {
  margin-right: 0.25rem;
}

/* Form Group Spacing */
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form .form-label {
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

/* Info Cards */
.info-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

/* Industrial Solutions Subsections */
.subsection {
  margin-bottom: 4rem;
}

.subsection-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.subsection-title i {
  color: var(--accent-color);
  font-size: 1.8rem;
}

.subsection-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 1.5rem;
}

.subsection-content {
  padding: 2rem 0;
}

/* Safety Features Grid */
.safety-features {
  padding: 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.safety-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.safety-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.safety-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.safety-item span {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1rem;
}

/* Maintenance Services */
.maintenance-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 2rem;
}

.service-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item i {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-right: 1rem;
  width: 30px;
  text-align: center;
}

.service-item span {
  font-weight: 500;
  color: var(--primary-color);
}

/* Tools Showcase */
.tools-showcase img {
  transition: all 0.3s ease;
}

.tools-showcase:hover img {
  transform: scale(1.02);
}

/* Fabrication Services */
.fabrication-services {
  padding: 2rem;
}

.fab-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.fab-item {
  display: flex;
  align-items: center;
  padding: 0.8rem;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.fab-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fab-item i {
  font-size: 1.2rem;
  color: var(--accent-color);
  margin-right: 0.8rem;
  width: 25px;
  text-align: center;
}

.fab-item span {
  font-weight: 500;
  color: var(--primary-color);
}

/* Clients Section */
.clients {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.client-item {
  background: var(--white);
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}

.client-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.client-item:hover::before {
  left: 100%;
}

.client-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.client-item img {
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
}

.client-item:hover img {
  transform: scale(1.2);
}

/* Circular Infographic Styles */
.industries-infographic {
  position: relative;
  overflow: hidden;
}

.circular-infographic {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

.circle-container {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-item {
  position: absolute;
  width: 140px;
  height: 140px;
  cursor: pointer;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
  /* Initial position - all at center, will be overridden by specific positioning */
  opacity: 0;
}

.sector-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 4px solid var(--white);
  transition: all 0.3s ease;
}

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

.sector-item:hover .sector-image {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
  border-color: var(--accent-color);
}

.sector-label {
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  background: var(--white);
  padding: 5px 10px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.sector-item:hover .sector-label {
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-5px);
}

/* Sector Positioning */
.sector-item.defense {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.sector-item.construction {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.sector-item.oil-gas {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.sector-item.government {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

/* Center Circle */
.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--primary-color), #003d7a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 40px rgba(0, 43, 91, 0.3);
  z-index: 1;
}

.center-content {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.center-logo {
  width: 80px;
  height: 80px;
  filter: brightness(0) invert(1);
}

/* Connecting Lines */
.circle-container::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 50%;
  z-index: 0;
}

.breadcrumb-item a {
  color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item.active {
  color: var(--white);
}

/* Animation Classes */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* Scroll Up Button */
#scrollUpBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 999;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  outline: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.3s, opacity 0.3s;
  opacity: 0.8;
}
#scrollUpBtn:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  opacity: 1;
}

/* Page transition fade */
body.fade-out {
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.fade-in {
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pointer-events-auto {
  pointer-events: auto;
}

.pointer-events-none {
  pointer-events: none;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  max-width: 350px;
}

.custom-toast {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  margin-bottom: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: auto;
}

.custom-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.custom-toast.success {
  border-color: #28a745;
  background-color: #ddffdf;
}

.custom-toast.error {
  border-color: #dc3545;
  background-color: #fff1f2;
}

.toast-content {
  display: flex;
  align-items: center;
  flex: 1;
}

.toast-icon {
  font-size: 1.2rem;
  margin-right: 12px;
  width: 20px;
  text-align: center;
}

.toast-icon.success {
  color: #28a745;
}

.toast-icon.error {
  color: #dc3545;
}

.toast-message {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toast-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-color);
}

/* Toast animations */
@keyframes toastSlideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Responsive toast */
@media (max-width: 768px) {
  .company-name {
    display: none !important;
  }

  .navbar-nav {
    margin-top: 20px;
  }

  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .custom-toast {
    transform: translateY(-100px);
  }

  .custom-toast.show {
    transform: translateY(0);
  }

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

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

  .foot-cont-sec {
    padding: 4rem 0;
  }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.8rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .intro-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Infographic Responsive */
  .circular-infographic {
    max-width: 500px;
    padding: 1.5rem;
  }

  .circle-container {
    height: 400px;
  }

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

  .sector-image {
    width: 80px;
    height: 80px;
  }

  .center-circle {
    width: 150px;
    height: 150px;
  }

  .center-logo {
    width: 60px;
    height: 60px;
  }

  .circle-container::before {
    width: 250px;
    height: 250px;
  }

  /* Clients Section Tablet */
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .info-card {
    padding: 8px;
  }
}

@media (max-width: 767.98px) {
  .hero-content {
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .intro-content {
    padding: 1rem 0;
  }

  .feature-item:hover {
    transform: translateX(5px);
  }

  /* Mobile Infographic */
  .circular-infographic {
    max-width: 400px;
    padding: 1rem;
  }

  .circle-container {
    height: 350px;
  }

  .sector-item {
    width: 100px;
    height: 100px;
  }

  .sector-image {
    width: 70px;
    height: 70px;
  }

  .sector-label {
    font-size: 0.8rem;
    padding: 3px 8px;
  }

  .center-circle {
    width: 120px;
    height: 120px;
  }

  .center-logo {
    width: 50px;
    height: 50px;
  }

  .circle-container::before {
    width: 200px;
    height: 200px;
  }

  /* Adjust sector positions for mobile */
  .sector-item.defense {
    top: 10px;
  }

  .sector-item.construction {
    right: 10px;
  }

  .sector-item.oil-gas {
    bottom: 10px;
  }

  .sector-item.government {
    left: 10px;
  }

  /* Industrial Solutions Mobile Styles */
  .subsection-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .subsection-text {
    font-size: 1rem;
  }

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

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

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

  .fab-item {
    font-size: 0.85rem;
    padding: 0.6rem;
  }

  .safety-item {
    padding: 1rem;
  }

  .safety-item i {
    font-size: 2rem;
  }

  .subsection-content {
    padding: 1rem 0;
  }

  .subsection {
    margin-bottom: 2rem;
  }

  /* Clients Section Mobile */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .client-item {
    padding: 1rem;
    min-height: 100px;
  }

  .client-item img {
    max-height: 60px;
  }
}
