/* Modern CSS Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  padding: 0;
  margin: 0;
  background-color: #f8f9fa;
  color: #333;
}

/* Global */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.button_1 {
  height: 44px;
  background: linear-gradient(135deg, #e8491d, #d13a0e);
  border: 0;
  border-radius: 6px;
  padding: 0 24px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(232, 73, 29, 0.3);
}

.button_1:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 73, 29, 0.4);
}

.dark {
  padding: 20px;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #ffffff;
  margin: 20px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Header */
header {
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #ffffff;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header #branding h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

header .highlight {
  color: #e8491d;
  font-weight: bold;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

header nav li {
  margin: 0;
}

header a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

header a:hover {
  background: rgba(232, 73, 29, 0.2);
  color: #e8491d;
}

/* Showcase */
#showcase {
  min-height: 400px;
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.8)), url('../img/terminal1.png') no-repeat center center;
  background-size: cover;
  text-align: center;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

#showcase h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 15px 0;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#showcase p {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin: 0;
  opacity: 0.9;
}

/* Newsletter */
#newsletter {
  padding: 40px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #2c3e50, #34495e);
}

#newsletter .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

#newsletter h1 {
  margin: 0;
  font-size: 1.5rem;
}

#newsletter form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

#newsletter input[type="email"] {
  padding: 12px 16px;
  height: 44px;
  width: 280px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}

/* Boxes */
#boxes {
  margin: 60px 0;
}

#boxes .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

#boxes .box {
  text-align: center;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#boxes .box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

#boxes .box img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

#boxes .box h3 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

#boxes .box p {
  color: #666;
  line-height: 1.6;
}

/* Main Content */
#main {
  margin: 40px 0;
}

#main .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

/* Services */
ul#services li {
  list-style: none;
  padding: 25px;
  border: 1px solid #e1e8ed;
  margin-bottom: 20px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

ul#services li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

ul#services h3 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

/* Footer */
footer {
  padding: 30px 0;
  margin-top: 60px;
  color: #ffffff;
  background: linear-gradient(135deg, #e8491d, #d13a0e);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 15px;
  }
  
  header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  header nav ul {
    justify-content: center;
    gap: 5px;
  }
  
  header nav a {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  #showcase {
    min-height: 400px;
    padding: 40px 20px;
  }
  
  #newsletter .container {
    flex-direction: column;
    text-align: center;
  }
  
  #newsletter form {
    justify-content: center;
  }
  
  #newsletter input[type="email"] {
    width: 100%;
    max-width: 300px;
  }
  
  #boxes .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  #boxes .box {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  header #branding h1 {
    font-size: 1.5rem;
  }
  
  header nav a {
    padding: 6px 8px;
    font-size: 11px;
  }
  
  #showcase h1 {
    font-size: 2rem;
  }
  
  #showcase p {
    font-size: 1rem;
  }
  
  .button_1 {
    width: 100%;
    margin-top: 10px;
  }
}
