/* General */
body {
font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5faff;
  color: #333; 
  
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('../images/index_back2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #333;

}

header {
  background: #1B3E68; /* Updated to logo dark blue */
  color: white;
  padding: 1px;
  text-align: center;
  position: relative;
}

header img {
  display: block;
  margin: 0 auto 10px;
  width: 500px; /* Add this line */
}

.dark-toggle {
  position: absolute;
  top: 15px;
  right: 20px;
  background: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

nav {
  background: #2A548A; /* Slightly lighter shade of brand blue */
  padding: 10px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
  color: #B0B0B0; /* Gray accent from logo */
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Customers */
.customers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

.index_ {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
  object-fit: cover; /* This is the key! It prevents distortion. */
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  border: 1px solid #1B3E68; /* Subtle blue accent */
}

footer {
  text-align: center;
  background: #1B3E68; /* Brand blue */
  color: white;
  padding: 15px;
  margin-top: 20px;
}

/* Dark Mode */
.dark-mode {
  /* background: #1a1a1a; */
  background-image: url('../images/index_back4.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #eee;
}

.dark-mode header,
.dark-mode nav,
.dark-mode footer {
  background: #000;
}

.dark-mode .card {
  background: #222;
  color: #ddd;
}

/* Add spacing for main content */
main {
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
}


/* Headings inside sections */
main h2 {
  text-align: center;
  margin-bottom: 15px;
  color: #1B3E68; /* Brand blue */
}

.dark-mode main h2 {
  color: #66aaff;
}

.section-banner {
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.section-banner4 {
  width: 100%;
  max-height: 330px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}
