:root {
  --background-color: #1e1e1e; /* dark grey background */
  --text-color: #ffffff;       /* white text for all content */
  --accent-color: #6A0DAD;     /* purple accent for banners and buttons */
  --header-height: 60px;
  --container-width: 90%;
  --max-width: 1200px;
}

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

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.container {
  width: var(--container-width);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 0;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: var(--header-height);
  background-color: var(--accent-color); /* purple banner */
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-color);
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  font-size: 1rem;
  transition: color 0.3s ease;
  color: var(--text-color); /* white links */
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  /* Add a background image with overlay */
  background: 
    linear-gradient(135deg, rgba(18,18,18,0.8) 0%, rgba(30,30,30,0.8) 100%),
    url('images/hero-bg.jpg') no-repeat center center/cover;
  text-align: center;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 12px 30px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #7c1ac5;
}

/* Section Styles */
.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  /* Set all section headings to white */
  color: var(--text-color);
}

/* About Section Image - force smaller size */
section.about img.about-image {
  display: block;
  margin: 0 auto 20px;
  width: 100px !important;      /* Set the width to 100px */
  max-width: 100px !important;  /* Ensure it doesn't scale larger */
  border-radius: 8px;
}

/* Solution Card Icons - force larger icons */
section.solutions .card img.card-icon {
  display: block;
  margin: 0 auto 10px;
  width: 120px !important;      /* Fixed width of 120px */
  max-width: 120px !important;
}



.card {
  background-color: #2c2c2c;
  padding: 20px;
  border-radius: 8px;
  transition: transform 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
}

.card img.card-icon {
  max-width: 80px;
  margin-bottom: 10px;
}
.card h3 {
  margin-bottom: 10px;
  color: var(--text-color);
}

/* News Section */
.news-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.news-item {
  background-color: #2c2c2c;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.news-item img.news-thumbnail {
  max-width: 100%;
  margin-bottom: 10px;
}
.news-item h3 {
  margin-bottom: 10px;
  color: var(--text-color);
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  color: var(--text-color);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.read-more:hover {
  border-color: var(--text-color);
}

/* Contact Section */
#contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

#contact-form input,
#contact-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 4px;
  background-color: #3a3a3a;
  color: var(--text-color);
}

#contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

#contact-form button {
  padding: 12px;
  background-color: var(--accent-color);
  border: none;
  border-radius: 4px;
  color: var(--text-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-form button:hover {
  background-color: #7c1ac5;
}

/* Footer */
footer {
  background-color: var(--accent-color); /* purple banner */
  padding: 20px 0;
  text-align: center;
}

footer p {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-color);
}

footer .social a {
  margin: 0 10px;
  color: var(--text-color);
  font-size: 1.2rem;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: var(--text-color);
  margin-bottom: 4px;
  border-radius: 3px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    left: -100%;
    top: var(--header-height);
    flex-direction: column;
    background-color: var(--accent-color);
    width: 100%;
    transition: left 0.3s ease;
  }
  
  .nav-links li {
    margin: 20px 0;
    text-align: center;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
}
