/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap');

/* Base Styles */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* Logo Styling */
.logo {
  height: 138px; /* Increased from 64px to make nav logo larger */
  padding: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease-in-out;
}

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

/* Hero Carousel */
.swiper-container {
  height: 100vh;
  width: 100%;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide .hero-text {
  z-index: 10;
  max-width: 90%;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.swiper-slide-active .hero-text {
  transform: translateY(0);
  opacity: 1;
}

/* Ensure Centering */
.swiper-slide .absolute {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Text Shadow for Readability */
.hero-text h1, .hero-text p, .hero-text a {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Navigation Buttons */
.swiper-button-prev, .swiper-button-next {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  border-radius: 50%;
}

.swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #0077b6;
}

/* Portfolio Cards */
.portfolio-card {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-card .hover-content {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.portfolio-card:hover .hover-content {
  opacity: 1;
}

.portfolio-card .hover-content div {
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.portfolio-card:hover .hover-content div {
  transform: translateY(0);
  opacity: 1;
}

/* Image Container */
.img-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fit Images to Prevent Cropping */
.fit-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
  image-rendering: -webkit-optimize-contrast; /* Prioritized for Edge compatibility */
  image-rendering: optimizeQuality; /* Modern replacement for crisp-edges */
}

/* Client Logos */
.client-logo {
  height: 48px;
  max-width: 120px;
  object-fit: contain;
  border-radius: 0.375rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.client-logo:hover {
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

/* Service Cards */
.service-card:hover .service-icon {
  color: #f97316;
  transform: scale(1.2);
  transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Contact Form */
.contact-form {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-form[data-aos="fade-up"] {
  transform: translateY(20px);
  opacity: 0;
}

.contact-form[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

.contact-input {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-input:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-button:hover {
  transform: translateY(-2px);
}

/* reCAPTCHA Styling */
.recaptcha-wrapper {
  transform: scale(0.9);
  transform-origin: center;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .recaptcha-wrapper {
    transform: scale(0.8);
  }
}

/* Keyframe for Fade-Up Animation */
@keyframes fadeUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Footer Branding */
.footer-branding p {
  margin: 0.5rem 0;
}

/* Orange Text for IT */
.text-orange {
  color: #f97316; /* Tailwind's orange-500 */
}

/* Honeypot Field for Forms */
.honeypot-field {
  display: none;
}