/* style.css for Wittosoft */

/* General reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  color: #1a1a1a;
  background-color: #F8F9FA;
  line-height: 1.5;
}

/* Use the Poppins font for the whole site */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

/* Header container */
header {
  background-color: #ffffff;             /* solid white background */
  display: flex;
  align-items: center;
  justify-content: space-between;
    
  box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* soft shadow for corporate look */
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo block */
header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
header .logo img {
  height: 240px; /* adjust to your logo */
}
header .logo-text-block {
  display: flex;
  flex-direction: column;
}
header .logo-text {
  color: #0D3B66;        /* dark blue */
  font-size: 1.3rem;
  font-weight: bold;
}
header .logo-subtext {
  color: #007BFF;        /* bright blue accent */
  font-size: 0.85rem;
}

/* Navigation links */
header nav {
  display: flex;
  align-items: center;
}
header nav a {
  margin-left: 50px;
  color: #0D3B66;         /* dark blue text */
  text-decoration: none;
  font-weight: 500;
  font-size: 2rem;
  transition: color 0.3s ease;
}
header nav a:hover {
  color: #007BFF;         /* hover blue */
}

/* Call-to-action button */
header .cta-button {
  background-color: #007BFF;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
header .cta-button:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 8px 20px;
  }
  header nav {
    margin-top: 10px;
    flex-wrap: wrap;
  }
  header nav a {
    margin-left: 0;
    margin-right: 15px;
    font-size: 0.9rem;
  }
}


/* Hero */
#home {
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 180px 20px 120px;
  color: #fff;
  position: relative;
}

#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

#home > div {
  position: relative;
  z-index: 1;
}

#home h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

#home p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

#home a {
  display: inline-block;
  padding: 22px 42px;
  background: #007BFF;
  color: #fff;
  border-radius: 15px;
  text-decoration: none;
  transition: background 0.3s ease;
}

#home a:hover {
  background: #007BFF;
}

/* Sections */
section {
  padding: 100px 20px;
}

section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

section p {
  max-width: 800px;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
}

/* Products grid */
#products .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

#products .card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

#products .card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

#products .card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Contact */
#contact iframe {
  width: 100%;
  height: 400px;
  border: none;
  margin-bottom: 2rem;
}

#contact form {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

#contact input,
#contact textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

#contact button {
  padding: 12px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

#contact button:hover {
  background: #1e4fcf;
}

/* Footer */
footer {
  background: #01d700;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}
