/* Tailwind-inspired CSS for Axenta website */

/* Base styles */
:root {
  --axenta-blue: #1F3698;
  --axenta-dark-blue: #23406E;
  --axenta-gray-light: #FFFFFF;
  --axenta-gray-medium: #879109;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: #333;
  line-height: 1.5;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header styles */
header {
  width: 100%;
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.logo {
  width: 180px;
  height: auto;
}

nav {
  display: none;
}

.nav-link {
  color: var(--axenta-dark-blue);
  padding: 0.75rem;
  margin: 0 0.25rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--axenta-blue);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background-color: var(--axenta-dark-blue);
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem;
  color: var(--axenta-dark-blue);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #eee;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* Hero section */
.hero {
  width: 100%;
  background-color: var(--axenta-dark-blue);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn {
  display: inline-block;
  background-color: var(--axenta-blue);
  color: white;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s;
  font-size: 1.125rem;
}

.btn:hover {
  background-color: rgba(31, 54, 152, 0.8);
}

/* Section styles */
section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  color: var(--axenta-dark-blue);
  margin-bottom: 3rem;
}

/* About section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.about-text {
  color: var(--axenta-dark-blue);
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

/* Services section */
.services-container {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 2rem;
  scroll-snap-type: x mandatory;
}

.service-card {
  flex: 0 0 auto;
  width: 315px;
  min-height: 430px;
  background-color: #f9fafb;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow 0.3s;
  scroll-snap-align: start;
}

.service-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.service-image {
  width: 100%;
  height: 12rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.25rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--axenta-blue);
  margin-bottom: 0.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-description {
  color: var(--axenta-dark-blue);
  font-size: 0.875rem;
  flex-grow: 1;
}

/* Why Axenta section */
.why-axenta {
  background: linear-gradient(to bottom right, #EBF2FD, #E6EEFF);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.feature-card {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 450px;
  transition: all 0.5s ease-in-out;
}

.feature-card:hover {
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.feature-image {
  width: 12rem;
  height: 12rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.25rem;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--axenta-blue);
  margin-bottom: 0.75rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-description {
  color: var(--axenta-dark-blue);
  font-size: 1rem;
  flex-grow: 1;
}

/* Partners section */
.partners-description {
  text-align: center;
  color: var(--axenta-dark-blue);
  max-width: 36rem;
  margin: 0 auto 3rem;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem 4rem;
}

.partner-logo {
  width: 8rem;
  height: 5rem;
  position: relative;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.partner-logo:hover {
  filter: grayscale(0%);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Location section */
.map-container {
  width: 100%;
  height: 450px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--axenta-dark-blue);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

/* Hide scrollbar */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Media queries */
@media (min-width: 768px) {
  nav {
    display: block;
  }
  
  .mobile-menu-btn {
    display: none;
  }
  
  .hero {
    padding: 8rem 0;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-title {
    font-size: 4rem;
  }
}
