/* Modern CompuOffice Website Styles */

:root {
  --primary-color: #012639;
  --secondary-color: #CC9900;
  --accent-color: #0000FF;
  --text-color: #333333;
  --bg-color: #FFFFFF;
  --light-bg: #FFF8F0;
  --nav-bg: #f8f9fa;
  --border-color: #dee2e6;
  --link-hover: #0056b3;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header and Banner */
.top-banner {
  background-color: var(--primary-color);
  color: #FFFFFF;
  text-align: center;
  padding: 15px 20px;
  font-size: 1.1rem;
}

.top-banner a {
  color: #FFFFFF;
  font-weight: 500;
}

.top-banner a:hover {
  text-decoration: underline;
}

.site-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, #024a6b 100%);
  padding: 20px 0;
  box-shadow: var(--shadow);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-title {
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
}

.equisoft-logo {
  max-width: 120px;
  filter: brightness(0) invert(1);
}

/* Navigation */
.main-nav {
  background-color: var(--nav-bg);
  border-bottom: 3px solid var(--secondary-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: block;
  padding: 15px 20px;
  color: var(--text-color);
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.nav-list a:hover,
.nav-list a.active {
  background-color: #FFFFFF;
  border-bottom-color: var(--secondary-color);
  text-decoration: none;
  color: var(--primary-color);
}

/* Main Content */
.main-content {
  padding: 40px 0;
  min-height: calc(100vh - 400px);
}

.content-wrapper {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

h1 {
  font-size: 2.5rem;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 10px;
  margin-bottom: 30px;
}

h2 {
  font-size: 2rem;
  margin-top: 30px;
}

h3 {
  font-size: 1.5rem;
  margin-top: 25px;
}

h4 {
  font-size: 1.25rem;
  color: #000099;
}

p {
  margin-bottom: 15px;
}

/* Lists */
ul {
  margin-left: 20px;
  margin-bottom: 20px;
}

ul.styled-list {
  list-style: none;
  margin-left: 0;
}

ul.styled-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

ul.styled-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

/* Cards and Sections */
.card {
  background-color: #FFFFFF;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
}

.section {
  margin-bottom: 40px;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: #FFFFFF;
  padding: 40px 0 20px;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 8px;
}

.footer-section p,
.footer-section a {
  color: #FFFFFF;
  opacity: 0.9;
  font-size: 0.95rem;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list a {
    border-bottom: 1px solid var(--border-color);
  }

  .content-wrapper {
    padding: 20px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .site-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .top-banner {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  .content-wrapper {
    padding: 15px;
  }

  h1 {
    font-size: 1.75rem;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

.highlight {
  background-color: #fff3cd;
  padding: 2px 6px;
  border-radius: 3px;
}

.trademark {
  font-size: 0.75em;
  vertical-align: super;
}
