/* General */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }

/* For tablets */
@media (max-width: 768px) {
    .container {
      width: 95%;
    }
  }
  
  /* For mobile phones */
  @media (max-width: 480px) {
    .container {
      width: 100%;
      padding: 10px;
    }
  }

  img, video {
    max-width: 100%;
    height: auto;
  }  
    
h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

section {
    padding: 3rem 0;
}

/* Header */
.header {
    background-color: #0e57d6;
    color: white;
    text-align: center;
    padding: 2rem;
}

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

.logo {
    max-height: 120px;
    width: auto;
}

.header-text {
    flex: 1;
    text-align: center;
}

/* Navigation */
.nav {
    background-color: #333;
    padding: 1rem;
    text-align: center;
}

.nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
}

.nav a:hover {
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

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

.product-card {
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    width: fit-content !important;
}

.cta-button:hover {
    background-color: #0056b3;
}

.cta-button:focus {
    outline: none;
}

.confirmation-message {
    display: none;
    text-align: center;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: green;
}

.blog-section {
    display: flex;
    justify-content: center;
    width: 100%;
}

.blog-link {
    text-decoration: none;
    display: inline-block;
    text-align: center;
    margin-top: 1rem;
}

.blog-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.blog-content:hover {
    background-color: #f5f5f5;
}

.blog-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.article-title {
    color: #0066cc;
    font-size: 1rem;
    margin: 0;
    text-align: center;
}

.product-card a {
    width: fit-content;
    margin: 0 auto;
}

/* Contact Form */
/* General Section Styling */
#contact {
    text-align: center;
    font-family: 'Arial', sans-serif;
    padding: 2rem;
}

#contact h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

#contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #333;
}

/* Form Styling */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin: 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.contact-form textarea {
    resize: none;
}

/* Align checkbox and label */
.form-check {
    display: fixed;
    align-items: center;
    gap: 0.0rem; /* Add space between the checkbox and the label */
    margin-bottom: 0.5rem;
}

.form-check input[type="checkbox"] {
    transform: scale(1.2); /* Slightly enlarge the checkbox */
    margin: 2; /* Remove default margins */
}

.form-check label {
    font-size: 1rem;
    color: #555; /* Optional: adjust the text color */
    cursor: pointer; /* Allow label to be clickable */
}

/* Button Styling */
.elegant-button {
    display: inline-block;
    background: none;
    color: #333;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border: 2px solid #333;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.elegant-button:hover {
    background-color: #333;
    color: #fff;
}

.elegant-button:focus {
    outline: none;
}
