/* Steel Building Company - Professional Industrial Design */

:root {
  --primary-steel: #1a252f;
  --secondary-blue: #2980b9;
  --accent-gray: #5d6d7e;
  --light-gray: #2c3e50;
  --dark-gray: #1a252f;
  --white: #ffffff;
  --text-dark: #ecf0f1;
  --text-light: #bdc3c7;
  --gradient-primary: linear-gradient(135deg, #1a252f 0%, #2980b9 100%);
  --gradient-secondary: linear-gradient(135deg, #5d6d7e 0%, #7f8c8d 100%);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--dark-gray);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

h1 {
  font-size: 2.8rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.1rem;
}

/* Navigation */
.navbar {
  background: var(--gradient-primary) !important;
  box-shadow: var(--shadow);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: translateY(-2px);
}

/* Logo Styling */
.logo-img {
  height: 50px;
  width: auto;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.logo-img:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
  border-color: rgba(52, 152, 219, 0.5);
  filter: brightness(1.1) contrast(1.1);
}

.brand-text {
  font-weight: 700;
  background: linear-gradient(135deg, var(--white) 0%, var(--secondary-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.navbar-brand:hover .brand-text {
  background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--white) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.5rem 1rem !important;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.navbar-toggler {
  border: none;
  color: var(--white);
}

/* Hero Section */
.hero {
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('4.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
  animation: heroBackground 15s infinite;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: -1;
}

@keyframes heroBackground {
  0% { background-image: url('4.jpeg'); }
  50% { background-image: url('5.jpeg'); }
  100% { background-image: url('4.jpeg'); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(0, 0, 0, 0.05);
  padding: 3rem;
  border-radius: 15px;
  backdrop-filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-carousel {
  position: relative;
  z-index: 2;
}

.hero-carousel .carousel {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-carousel .carousel-item img {
  height: 400px;
  object-fit: cover;
  width: 100%;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-carousel .carousel-control-prev {
  left: 15px;
}

.hero-carousel .carousel-control-next {
  right: 15px;
}

.hero-carousel .carousel-indicators {
  bottom: 15px;
}

.hero-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

.hero-buttons {
  margin-top: 2rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 4px 4px 16px rgba(0, 0, 0, 1), 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 1);
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 1), 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* Buttons */
.btn-primary {
  background: var(--primary-steel);
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  background: var(--dark-gray);
  color: var(--white);
}

.btn-outline-primary {
  border: 2px solid var(--secondary-blue);
  color: var(--secondary-blue);
  padding: 10px 25px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background: var(--secondary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  overflow: hidden;
  background: var(--light-gray);
  color: var(--white);
}

.card h5, .card p, .card label {
  color: var(--white);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  padding: 1.5rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.card-body {
  padding: 2rem;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: var(--primary-steel);
  color: var(--white);
}

.services h2, .services p {
  color: var(--white);
}

.service-card {
  text-align: center;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  color: var(--white);
}

.service-card h4, .service-card p {
  color: var(--white);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: var(--dark-gray);
  color: var(--white);
}

.about h2, .about p, .about li {
  color: var(--white);
}

.about-image img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
}

.about-content {
  background: var(--primary-steel);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  color: var(--white);
}

.about-content h2, .about-content p, .about-content li {
  color: var(--white);
}

/* Projects Section */
.projects {
  padding: 6rem 0;
  background: var(--primary-steel);
  color: var(--white);
}

.projects h2, .projects p {
  color: var(--white);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 200px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover img {
  transform: scale(1.05);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 62, 80, 0.8);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 1.5rem;
  text-align: center;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-description {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: var(--dark-gray);
  color: var(--white);
}

.contact h2, .contact p, .contact h5, .contact label {
  color: var(--white);
}

.contact-form {
  background: var(--primary-steel);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  color: var(--white);
}

.contact-form h5, .contact-form label {
  color: var(--white);
  font-weight: 600;
}

/* Form labels styling */
.form-label {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--white);
  color: #333;
}

.form-select {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: var(--white);
  color: #333;
}

.form-select:focus {
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
  background-color: var(--white);
  color: #333;
}

.form-select option {
  background-color: var(--white);
  color: #333;
  padding: 8px 12px;
  font-weight: 500;
}

/* Additional styling for better visibility */
.form-select option:hover {
  background-color: #f8f9fa;
  color: #333;
}

.form-select option:checked {
  background-color: var(--secondary-blue);
  color: var(--white);
}

.form-control:focus {
  border-color: var(--secondary-blue);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

/* Ensure all text elements are white */
li, span, div, a {
  color: var(--white);
}

/* Override any inherited colors */
* {
  color: var(--white);
}

/* Specific overrides for better visibility */
.lead {
  color: var(--white) !important;
}

.text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

.text-dark {
  color: var(--white) !important;
}

/* Bootstrap overrides for white text */
.text-primary {
  color: var(--white) !important;
}

.text-secondary {
  color: var(--white) !important;
}

.text-success {
  color: var(--white) !important;
}

.text-danger {
  color: var(--white) !important;
}

.text-warning {
  color: var(--white) !important;
}

.text-info {
  color: var(--white) !important;
}

.text-light {
  color: var(--white) !important;
}

/* Ensure all links are visible */
a {
  color: var(--white) !important;
  text-decoration: none;
}

a:hover {
  color: var(--secondary-blue) !important;
}

/* Button text overrides */
.btn-outline-primary {
  color: var(--white) !important;
  border-color: var(--white) !important;
}

.btn-outline-primary:hover {
  color: var(--primary-steel) !important;
  background-color: var(--white) !important;
}

/* Button Light Override */
.btn-light {
  background-color: var(--primary-steel) !important;
  color: var(--white) !important;
  border: 1px solid var(--primary-steel) !important;
}

.btn-light:hover {
  background-color: var(--dark-gray) !important;
  color: var(--white) !important;
  border-color: var(--dark-gray) !important;
}

/* Footer */
.footer {
  background: var(--primary-steel);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1rem;
}

/* Footer Logo Styling */
.footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.1);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  filter: drop-shadow(0 4px 8px rgba(52, 152, 219, 0.2));
}

.footer-logo-img:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 10px 30px rgba(52, 152, 219, 0.4);
  border-color: rgba(52, 152, 219, 0.5);
  filter: brightness(1.1) contrast(1.1) drop-shadow(0 6px 12px rgba(52, 152, 219, 0.3));
}

.footer p, .footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--secondary-blue);
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--secondary-blue);
  color: var(--white);
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.social-icons a i {
  color: var(--white);
}

.social-icons a:hover {
  background: var(--white);
  color: var(--secondary-blue);
  transform: translateY(-3px);
}

/* Contact Information Icons */
.contact .fas, .contact .fab {
  color: var(--secondary-blue);
}

.contact a {
  color: var(--white);
  text-decoration: none;
}

.contact a:hover {
  color: var(--secondary-blue);
}

/* Carousel */
.carousel-item {
  height: 400px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 15px;
  padding: 1.5rem;
  bottom: 20px;
  left: 20px;
  right: 20px;
  text-align: left;
}

.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white !important;
}

.carousel-caption p {
  font-size: 1rem;
  margin-bottom: 0;
  color: white !important;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-indicators {
  bottom: 10px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 5px;
}

.carousel-indicators .active {
  background-color: var(--secondary-blue);
}

/* Modal */
.modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 15px 15px 0 0;
}

.modal-body img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Utilities */
.text-primary {
  color: var(--secondary-blue) !important;
}

.bg-primary {
  background: var(--gradient-primary) !important;
}

.bg-light {
  background: var(--primary-steel) !important;
}

.shadow {
  box-shadow: var(--shadow) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* Logo Animation Keyframes */
@keyframes logoGlow {
  0%, 100% { 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 0 rgba(52, 152, 219, 0);
  }
  50% { 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 20px rgba(52, 152, 219, 0.3);
  }
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

/* Logo Animation Classes */
.logo-img {
  animation: logoFloat 4s ease-in-out infinite;
}

.logo-img:hover {
  animation: logoGlow 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero {
    padding: 2rem 0 2rem;
    min-height: 50vh;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-carousel .carousel-item img {
    height: 300px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .carousel-item {
    height: 300px;
  }
  
  .project-card {
    height: 250px;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .about-content {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  /* Mobile Logo Adjustments */
  .logo-img {
    height: 40px;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    gap: 0.5rem;
  }
  
  .footer-logo-img {
    height: 50px;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 1.5rem 0 1.5rem;
    min-height: 40vh;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .carousel-item {
    height: 250px;
  }
  
  .project-card {
    height: 200px;
  }
  
  .btn-primary, .btn-outline-primary {
    padding: 10px 20px;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .about-content {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Small Screen Logo Adjustments */
  .logo-img {
    height: 35px;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
    gap: 0.4rem;
  }
  
  .brand-text {
    display: none; /* Hide text on very small screens */
  }
  
  .footer-logo-img {
    height: 45px;
  }
}

/* Enhanced Benefits Section */
.benefits {
  background: linear-gradient(135deg, var(--primary-steel) 0%, var(--dark-gray) 100%);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.benefits h2, .benefits p, .benefits h4 {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.benefit-item {
  background: linear-gradient(145deg, var(--light-gray) 0%, rgba(52, 152, 219, 0.1) 100%);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.benefit-item:hover::before {
  left: 100%;
}

.benefit-item h4, .benefit-item p {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.benefit-item h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.benefit-item h4 i {
  color: var(--secondary-blue);
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--secondary-blue), #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.benefit-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(52, 152, 219, 0.3);
}

/* Enhanced Applications Section */
.applications {
  background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-steel) 100%);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.applications::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(41, 128, 185, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.applications h2, .applications p {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.application-card {
  background: linear-gradient(145deg, var(--primary-steel) 0%, rgba(52, 152, 219, 0.05) 100%);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  text-align: center;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.application-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(52, 152, 219, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.application-card:hover::after {
  opacity: 1;
}

.application-card h4, .application-card p {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.application-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.application-card p {
  line-height: 1.6;
  font-size: 1rem;
}

.application-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(52, 152, 219, 0.3);
}

.application-icon {
  font-size: 4rem;
  color: var(--secondary-blue);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--secondary-blue), #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  display: inline-block;
}

.application-card:hover .application-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Enhanced Process Section */
.process {
  background: linear-gradient(135deg, var(--primary-steel) 0%, var(--dark-gray) 100%);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.4;
  z-index: 1;
}

.process h2, .process p {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.process-step {
  background: linear-gradient(145deg, var(--light-gray) 0%, rgba(52, 152, 219, 0.08) 100%);
  padding: 3rem 2rem 2rem;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  text-align: center;
  color: var(--white);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: visible;
  backdrop-filter: blur(10px);
  margin-top: 30px;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(52, 152, 219, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.process-step:hover::before {
  opacity: 1;
}

.process-step h4, .process-step p {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.process-step h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.process-step p {
  line-height: 1.6;
  font-size: 1rem;
}

.process-step:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(52, 152, 219, 0.3);
}

.step-number {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-blue), #3498db);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
  border: 4px solid var(--primary-steel);
  transition: all 0.3s ease;
  z-index: 10;
}

.process-step:hover .step-number {
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
}

.social-sharing .btn {
  margin-bottom: 0.5rem;
}

/* Enhanced Card Animations */
@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.benefit-item, .application-card, .process-step {
  animation: cardFloat 6s ease-in-out infinite;
}

.benefit-item:nth-child(2n) {
  animation-delay: -2s;
}

.benefit-item:nth-child(3n) {
  animation-delay: -4s;
}

.application-card:nth-child(2n) {
  animation-delay: -1.5s;
}

.application-card:nth-child(3n) {
  animation-delay: -3s;
}

.process-step:nth-child(2n) {
  animation-delay: -2.5s;
}

.process-step:nth-child(3n) {
  animation-delay: -5s;
}

/* Enhanced Hover Effects */
.benefit-item:hover {
  animation-play-state: paused;
}

.application-card:hover {
  animation-play-state: paused;
}

.process-step:hover {
  animation-play-state: paused;
}

/* Glassmorphism Effect */
.benefit-item, .application-card, .process-step {
  background: rgba(44, 62, 80, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Icons */
.benefit-item h4 i,
.application-icon {
  filter: drop-shadow(0 2px 4px rgba(52, 152, 219, 0.3));
}

/* Ensure step numbers are always visible */
.process-step .step-number {
  position: absolute;
  z-index: 100;
  background: linear-gradient(135deg, var(--secondary-blue), #3498db) !important;
  border: 4px solid var(--primary-steel) !important;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.6) !important;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .benefit-item, .application-card, .process-step {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .benefit-item h4, .application-card h4, .process-step h4 {
    font-size: 1.2rem;
  }
  
  .application-icon {
    font-size: 3rem;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    top: -22px;
    border: 3px solid var(--primary-steel);
  }
}

@media (max-width: 576px) {
  .benefit-item, .application-card, .process-step {
    padding: 1.5rem 1rem;
  }
  
  .benefit-item h4, .application-card h4, .process-step h4 {
    font-size: 1.1rem;
  }
  
  .application-icon {
    font-size: 2.5rem;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    top: -20px;
    border: 3px solid var(--primary-steel);
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
