/* ===== Base Styles ===== */
:root {
  --primary: #007BFF;
  --primary-dark: #0066CC;
  --dark: #333333;
  --light: #F8F9FA;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 10px 25px rgba(0, 0, 0, 0.2);
  --gray: #6c757d;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--dark);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

ul {
  list-style: none;
  padding-left: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

.text-center {
  text-align: center;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1566073771259-6a8506099945?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  margin-top: 0;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: white;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  animation: fadeInUp 1.2s ease;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 1.4s ease;
}

/* ===== Content Sections ===== */
.content-section {
  background-color: white;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.content-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
  border: 1px solid #eee;
}

.content-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.content-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--primary);
}

.feature-list {
  margin: 20px 0;
}

.feature-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #555;
  text-align: left;
}

.feature-list li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ===== Sidebar Styles ===== */
.sidebar {
  background-color: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  margin-top: 50px;
}

.sidebar h3 {
  margin-bottom: 20px;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-info i {
  margin-right: 10px;
  color: var(--primary);
  width: 20px;
}

.page-links {
  margin-top: 30px;
}

.page-links h4 {
  margin-bottom: 15px;
  color: var(--dark);
}

.page-links ul li {
  margin-bottom: 10px;
}

.page-links ul li a {
  color: var(--dark);
  transition: var(--transition);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.page-links ul li a:hover {
  color: var(--primary);
  padding-left: 10px;
}

/* ===== CTA Section ===== */
.cta {
  background: linear-gradient(rgba(0, 123, 255, 0.9), rgba(0, 123, 255, 0.9)), url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.cta h2 {
  color: white;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.cta-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta .btn {
  background-color: white;
  color: var(--primary);
}

.cta .btn:hover {
  background-color: var(--dark);
  color: white;
}

.cta .btn-outline {
  background-color: transparent;
  border-color: white;
  color: white;
}

.cta .btn-outline:hover {
  background-color: white;
  color: var(--primary);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .content-with-sidebar {
    flex-direction: column;
  }
  
  .main-content, .sidebar {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 15px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .cta-btns {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .section {
    padding: 60px 0;
  }
}