/* 
   Avosira Systems - Main Stylesheet
   Theme: Modern Corporate
   Colors: Navy (#2E2C42), Purple (#673DE6)
*/

:root {
  --color-primary: #2E2C42;
  --color-accent: #673DE6;
  --color-accent-hover: #5632bf;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg-light: #F4F5FF;
  --color-white: #ffffff;
  --font-main: 'DM Sans', sans-serif;
  --container-width: 1200px;
  --header-height: 80px;
}

/* RESET & BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-white);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
}

/* LAYOUT UTILITIES */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.text-center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(103, 61, 230, 0.3);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: white;
}

/* HEADER & NAVIGATION */
header {
  height: var(--header-height);
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 50px; /* Adjust based on actual logo ratio */
}

.desktop-nav {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  font-size: 16px;
}

.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--color-accent);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after, .desktop-nav a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  padding: 20px 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  display: none;
  flex-direction: column;
  z-index: 999;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  font-weight: 500;
  color: var(--color-primary);
}

.mobile-nav a:hover {
  background-color: var(--color-bg-light);
  color: var(--color-accent);
}

/* HERO SECTION */
.hero {
  padding: 100px 0;
  background: linear-gradient(135deg, #fefefe 0%, #f4f5ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
  color: var(--color-primary);
}

.hero p.lead {
  font-size: 20px;
  color: var(--color-text-light);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(103, 61, 230, 0.1);
  border-color: var(--color-accent);
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: var(--color-bg-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px; /* For text icons if SVG not used */
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 20px;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 15px;
}

/* ABOUT SECTION */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--color-text-light);
}

.about-image img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* CONTACT FORM */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-box {
  background: var(--color-primary);
  color: white;
  padding: 40px;
  border-radius: 12px;
}

.contact-info-box h3 {
  color: white;
  margin-bottom: 24px;
}

.info-item {
  margin-bottom: 24px;
}

.info-item strong {
  display: block;
  margin-bottom: 5px;
  color: #aaaaff;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--color-primary);
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* FOOTER */
footer {
  background-color: var(--color-primary);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: #ccc;
  font-size: 14px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #888;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .about-content, .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info-box {
    order: 2;
  }
}
