/* Custom logo styling */
.logo img {
  max-height: 150px; /* Increased from 120px to 150px */
  width: auto;
  object-fit: contain;
  display: block;
  padding: 4px 0;
  background-color: transparent;
  /* Add a professional shadow effect for depth */
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
  /* Smooth image rendering */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  /* Smooth transition for hover effects */
  transition: transform 0.2s ease, filter 0.2s ease;
  /* Ensure proper color rendering for SVG */
  color-interpolation-filters: sRGB;
}

/* Add some padding around the logo for better visual balance */
.logo a {
  padding: 8px;
  display: flex;
  align-items: center;
  text-decoration: none;
  /* Create a subtle hover effect */
}

/* Add hover effect to make the logo interactive */
.logo a:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.25));
}

/* Add a container class for better logo positioning */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 15px 0;
  max-width: 100%;
  text-align: center;
}

/* Footer logo styling */
.footer-branding img.footer-logo {
  max-height: 80px;
  width: auto;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
  opacity: 0.95; /* Slightly subdued in footer */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-branding img.footer-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  .logo img {
    max-height: 130px; /* Increased from 100px to 130px */
  }
  
  .footer-branding img.footer-logo {
    max-height: 90px; /* Increased from 60px to 90px */
  }
}

/* Small mobile adjustments */
@media screen and (max-width: 480px) {
  .logo img {
    max-height: 110px; /* Increased from 80px to 110px */
  }
  
  .footer-branding img.footer-logo {
    max-height: 75px; /* Increased from 50px to 75px */
  }
}

/* Logo centered presentation for homepage or special sections */
.logo-presentation {
  text-align: center;
  padding: 80px 20px 60px;
  margin: 0 auto;
  max-width: 1200px;
  /* Improve presentation container */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-presentation img {
  max-width: 550px; /* Increased from 380px to 550px */
  width: 90%; /* Makes it more responsive */
  height: auto;
  margin-bottom: 40px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
  /* Enhance logo presentation */
  transform-origin: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 3;
  position: relative;
}

.logo-presentation:before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,134,222,0.08) 0%, rgba(46,134,222,0) 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.logo-presentation:hover img {
  transform: scale(1.03) translateY(-5px);
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
}

/* Company name styling when paired with logo */
.logo-company-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #2c2c2c;
  margin-top: 15px;
  letter-spacing: 1px;
  text-transform: lowercase;
}
