/* All Star IT Company Website Styles
   Author: Claude
   Date: 2024
*/

/* Variables */
:root {
  --primary-color: #0466c8;
  --secondary-color: #0353a4;
  --accent-color: #023e7d;
  --light-color: #ffffff;
  --dark-color: #333333;
  --grey-color: #f5f5f5;
  --text-color: #333333;
  --footer-color: #002855;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 5px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 62.5%; /* 1rem = 10px */
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  margin-bottom: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: var(--accent-color);
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 2.6rem;
}

p {
  margin-bottom: 1.5rem;
}

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

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
}

/* Header & Navigation */
.header {
  background-color: var(--light-color);
  box-shadow: var(--box-shadow);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.logo {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo-img {
  width: 32px;
  height: 32px;
  margin-right: 0.8rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 2.5rem;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: var(--dark-color);
}

/* Hero Section */
.hero {
  background-color: var(--grey-color);
  padding: 15rem 0 8rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.hero-text {
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 3rem;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-color);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  color: var(--light-color);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
}

/* Services Section */
.services {
  background-color: var(--light-color);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 3rem;
}

.service-card {
  background-color: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 3rem 2rem;
  text-align: center;
  transition: var(--transition);
}

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

.service-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

/* About Section */
.about {
  background-color: var(--grey-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Contact Form */
.contact-form {
  background-color: var(--light-color);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 2rem;
}

.form-control {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1.6rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* Footer */
.footer {
  background-color: var(--footer-color);
  color: var(--light-color);
  padding: 5rem 0 2rem;
}

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

.footer-logo {
  color: var(--light-color);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: block;
}

.footer-links h4 {
  color: var(--light-color);
  margin-bottom: 2rem;
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #ccc;
}

.footer-links a:hover {
  color: var(--light-color);
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--light-color);
  font-size: 2rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.mt-2 {
  margin-top: 2rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

/* Policy Pages */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.policy-content h2 {
  margin-top: 4rem;
  margin-bottom: 2rem;
}

.policy-content p {
  margin-bottom: 1.5rem;
}

.policy-content ul {
  margin-left: 2rem;
  margin-bottom: 2rem;
  list-style: disc;
}

.policy-content li {
  margin-bottom: 1rem;
} 