/* 5Star IT Company Website - Main Stylesheet */

:root {
  /* Color palette */
  --primary: #0066cc;
  --primary-dark: #0055aa;
  --secondary: #e6f0ff;
  --dark: #333333;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --white: #ffffff;
  --footer-bg: #1a1a1a;
  --success: #28a745;
}

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

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

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

a:hover {
  color: var(--primary-dark);
}

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

/* Header Styles */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

/* Navigation */
.nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

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

.nav-item {
  position: relative;
  margin-left: 30px;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  padding: 10px 0;
}

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary), var(--white));
  padding: 100px 0 80px;
  text-align: center;
  margin-bottom: 50px;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

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

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

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

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

/* Card Styles */
.card {
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 25px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--primary);
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-1 { width: 8.33%; }
.col-2 { width: 16.66%; }
.col-3 { width: 25%; }
.col-4 { width: 33.33%; }
.col-5 { width: 41.66%; }
.col-6 { width: 50%; }
.col-7 { width: 58.33%; }
.col-8 { width: 66.66%; }
.col-9 { width: 75%; }
.col-10 { width: 83.33%; }
.col-11 { width: 91.66%; }
.col-12 { width: 100%; }

.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, 
.col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  padding: 0 15px;
}

/* Features */
.features {
  background-color: var(--light);
  padding: 60px 0;
}

.feature-box {
  text-align: center;
  padding: 30px 20px;
}

.feature-box i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  transition: border-color 0.3s ease;
}

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

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

/* Map */
.map-container {
  height: 400px;
  width: 100%;
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
}

/* Footer */
.footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-widget {
  margin-bottom: 30px;
}

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary);
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact-info i {
  margin-right: 10px;
  color: var(--primary);
}

.social-links {
  list-style: none;
  display: flex;
  margin-top: 20px;
}

.social-links li {
  margin-right: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

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

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

.footer-bottom p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Policy Pages */
.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-content h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin: 40px 0 20px;
}

.policy-content h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
}

.policy-content p,
.policy-content ul,
.policy-content ol {
  margin-bottom: 20px;
}

.policy-content ul,
.policy-content ol {
  margin-left: 20px;
}

.policy-content li {
  margin-bottom: 10px;
}

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

.text-right {
  text-align: right;
}

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

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

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

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

.pt-100 {
  padding-top: 100px;
}

.success-message {
  background-color: rgba(40, 167, 69, 0.1);
  border: 1px solid var(--success);
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  color: var(--success);
  display: none;
}

.error-message {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid #dc3545;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  color: #dc3545;
  display: none;
} 