/* Advanced Modern Corporate Styles for Nashco Global v2 */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  line-height: 1.6;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

header {
  background-color: #003366; /* Dark Navy Blue */
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav li {
  margin: 0 1rem;
}

nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
}

nav a:hover {
  color: #87ceeb; /* Light Blue */
  transform: scale(1.05);
}

.hero {
  background: linear-gradient(135deg, #003366 0%, #0056b3 50%, #87ceeb 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('banner.jpg') center/cover no-repeat;
  opacity: 0.3;
  z-index: -1;
}

.hero h1 {
  margin: 0;
  font-size: 4rem;
  animation: bounceIn 1s ease-out;
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

.hero p {
  font-size: 1.5rem;
  margin: 1rem 0;
  animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.section {
  padding: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-card {
  background-color: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

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

.service-card img {
  width: 100px;
  height: 100px;
  margin-bottom: 1rem;
  border-radius: 50%;
  transition: transform 0.3s;
}

.service-card:hover img {
  transform: rotate(360deg);
}

footer {
  background-color: #6c757d; /* Grey */
  color: white;
  text-align: center;
  padding: 2rem;
}

.button {
  background-color: #003366; /* Dark Navy Blue */
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s, transform 0.3s;
  font-weight: bold;
}

.button:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

input, textarea {
  width: 100%;
  padding: 1rem;
  margin: 0.5rem 0;
  border: 1px solid #ced4da;
  border-radius: 0.5rem;
  transition: border-color 0.3s;
}

input:focus, textarea:focus {
  border-color: #003366;
  outline: none;
}

/* Additional animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}

.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}