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

body {
  font-family: "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.7;
  color: #333;
}

/* Hero */
.hero {
  background: linear-gradient(to bottom, rgba(0, 60, 180, 0.9), rgba(0, 60, 180, 0.8)),
              url('images/shutterstock_1519371521.jpg') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.hero .logo {
  max-width: 300px;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  padding: 10px 30px;
  background: white;
  color: #004aad;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}

/* Intro */
.intro,.quotes {
  width: 80%;
  margin: 60px auto;
  max-width: 900px;
}

.intro h3, .quotes h3 {
  color: #004aad;
  margin-top: 30px;
  margin-bottom: 10px;
}
.intro p, .quotes p {
  color: #000000;
  margin-top: 1rem;
  margin-bottom: 10px;
}

.data-cert {
  background: #eeeeee;
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
  text-align: center;
}

.data-cert img {
  max-width: 130px;
  margin-top: 10px;
}

/* Applications */
.applications {
  background: #2A2A72;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 30px;
  justify-items: center;
  align-items: start;
  margin-top: 30px;
}

.app-item {
  text-align: center;
  padding: 10px;
}

.app-item img {
  max-width: 60px;
  margin-bottom: 10px;
}

/* Quotes */
.quote {
  border: solid #eeeeee 1px;
  padding: 25px;
  border-radius: 8px;
  margin-top: 30px;
  text-align: center;
}

.quote img {
  max-width: 130px;
  margin-top: 10px;
}

/* Clients */
.clients {
  text-align: center;
  padding: 60px 20px;
  background: #eeeeee;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 columns */
  gap: 30px;
  justify-items: center;
  align-items: center;
  margin-top: 30px;
}

.client-grid img {
  max-width: 200px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.client-grid img:hover {
  opacity: 1;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-top: 1px solid #ddd;
  font-size: 0.9rem;
}

footer a {
  color: #004aad;
  text-decoration: none;
}
/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1000;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #4fc3f7;
  text-decoration: underline;
}

.cookie-banner button {
  background: #f9972b;
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.cookie-banner button:hover {
  background: #e88c25;
}

/* --- Cards Section --- */
.cards-section {
  text-align: center;
  padding: 80px 20px;
  background: #f8faff;
}

.cards-section h2 {
  color: #004aad;
  margin-bottom: 40px;
  font-size: 1.8rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 20px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card img {
  max-width: 100%;
  margin-bottom: 20px;
}

.card h3 {
  color: #004aad;
  margin-bottom: 10px;
}

.card p {
  color: #555;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-btn {
  display: inline-block;
  background: #004aad;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.card-btn:hover {
  background: #007bff;
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
  .hero {
    padding: 60px 15px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .intro, .quotes {
    width: 90%;
  }

 .app-grid,
  .client-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }

  .app-item {
    width: 100%;
    max-width: 250px;
  }

  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.3rem;
  }

  .btn {
    padding: 8px 20px;
    font-size: 0.9rem;
  }
 .app-grid,
  .client-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 column on mobile */
  }
 .card-grid {
    grid-template-columns: 1fr;
  }
}
