/* 
  Amelon Tech Solutions Ltd. Website Styles
  Author: Obum David
  Version: 1.0
*/

/* ===== VARIABLES ===== */
:root {
  --primary-color: #0047ab;
  --secondary-color: #32cd32;
  --accent-color: #00bfff;
  --dark-color: #1a1a1a;
  --gray-color: #6c757d;
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* ===== RESET & BASE STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white-color);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-header {
  width: 100%;
  /*background-image: url("../images/img/hero02.png");*/
  background-size: cover;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.read-more i {
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.nav-links {
  display: flex;
}

.nav-links li {
  display: flex;
  align-items: flex-end;
  margin-left: 30px;
}

.nav-links a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  /*background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    linear-gradient(45deg, #0047ab, #32cd32);*/
  background-image: url("https://ibb.co/ymxXqvZr");
  background-size: cover;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white-color);
  margin-top: 70px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    linear-gradient(45deg, #0047ab, #32cd32);
  padding-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 10px;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
  margin-top: 0px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 10px;
  box-shadow: var(--box-shadow);
}

.about-text h2 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.feature-text h3 {
  margin-bottom: 5px;
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 30px;
}

.service-content h3 {
  margin-bottom: 15px;
}

.service-content p {
  margin-bottom: 20px;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    linear-gradient(135deg, #0047ab, #32cd32);
  color: var(--white-color);
}

.testimonials .section-title h2::after {
  background-color: var(--white-color);
}

.testimonials .section-title p {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  padding: 30px;
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  font-size: 80px;
  position: absolute;
  top: 20px;
  left: 20px;
  color: rgba(255, 255, 255, 0.1);
  font-family: Georgia, serif;
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  margin-bottom: 5px;
}

.testimonial-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* ===== TEAM SECTION ===== */
.team {
  background-color: var(--light-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-img {
  height: 250px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover .team-img img {
  transform: scale(1.1);
}

.team-info {
  padding: 20px;
  text-align: center;
}

.team-info h3 {
  margin-bottom: 5px;
}

.team-info p {
  color: var(--gray-color);
  margin-bottom: 15px;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.team-social a {
  width: 35px;
  height: 35px;
  background-color: var(--light-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    linear-gradient(45deg, #32cd32, #0047ab);
  color: var(--white-color);
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding-top: 70px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 50px;
}

.footer-about {
  margin-right: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 40px;
  margin-right: 10px;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white-color);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--white-color);
  padding-left: 5px;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
  margin-right: 10px;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background-color: var(--primary-color);
  color: var(--white-color);
  background-image: url("../images/img/hero02.png");
  background-size: cover;
  /*padding: 100px 0 50px;*/
  text-align: center;
  margin-top: 70px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 20px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
  color: var(--white-color);
}

.breadcrumbs span {
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact Page Specific Styles */
.social-icons {
  display: flex;
  gap: 20px;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info {
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.contact-info-text h3 {
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.map-container {
  margin-top: 50px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* About Page Specific Styles */
.about-hero {
  position: relative;
  padding: 80px 0;
  background-color: var(--light-color);
}

.about-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-hero-text h2 {
  margin-bottom: 20px;
}

.about-hero-image img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-vision {
  padding: 80px 0;
}

.mission-vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mission-box,
.vision-box {
  background-color: var(--white-color);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.mission-box:hover,
.vision-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-box h3,
.vision-box h3 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.mission-box h3::after,
.vision-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.values {
  padding: 80px 0;
  background-color: var(--light-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.value-card {
  background-color: var(--white-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

.team {
  padding: 80px 0;
}

.stats {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    linear-gradient(45deg, #32cd32, #0047ab);
  color: var(--white-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white-color);
}

.stat-text {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .about-hero-content,
  .mission-vision-content {
    grid-template-columns: 1fr;
  }

  .about-hero-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
  .about-content,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
    margin-bottom: 30px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    margin-bottom: 15px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white-color);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Blog Post Specific Styles */
.blog-post-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}

.blog-post-main {
  background-color: var(--white-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-post-header {
  padding: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-post-meta {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  color: var(--gray-color);
  font-size: 0.9rem;
}

.blog-post-meta span {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

.blog-post-meta i {
  margin-right: 5px;
}

.blog-post-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--dark-color);
  line-height: 1.2;
}

.blog-post-featured-img {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #0047ab, #32cd32);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  margin-bottom: 30px;
}

.blog-post-content {
  padding: 40px;
}

.blog-post-content h2 {
  color: var(--primary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.blog-post-content h3 {
  color: var(--dark-color);
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.blog-post-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.blog-post-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.trend-item {
  background-color: var(--light-color);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  border-left: 4px solid var(--primary-color);
}

.trend-item h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.cta-section {
  background: linear-gradient(135deg, #0047ab, #32cd32);
  color: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 40px;
}

.cta-section h3 {
  margin-bottom: 15px;
}

.cta-section p {
  margin-bottom: 20px;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background-color: var(--white-color);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-widget h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.related-post {
  display: flex;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.related-post:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.related-post-img {
  width: 80px;
  height: 80px;
  border-radius: 5px;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
}

.related-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-post-info h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.related-post-info a {
  color: var(--dark-color);
}

.related-post-info a:hover {
  color: var(--primary-color);
}

.related-post-date {
  color: var(--gray-color);
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .blog-post-container {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .blog-post-title {
    font-size: 2rem;
  }
}

/* Admin Dashboard specific styles*/
.dashboard-container {
  min-height: 100vh;
  background: #f8fafc;
  padding: 20px 0;
}

.dashboard-header {
  background: white;
  padding: 20px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.dashboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dashboard-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logout-btn {
  background: #dc2626;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
}

.logout-btn:hover {
  background: #b91c1c;
}

.dashboard-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.dashboard-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 12px 24px;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.tab-btn.active {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.create-post-form {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-primary {
  background: #2563eb;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.posts-list {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.post-item {
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-item:last-child {
  border-bottom: none;
}

.post-info h3 {
  margin: 0 0 5px 0;
  color: #1f2937;
}

.post-meta {
  color: #6b7280;
  font-size: 14px;
}

.post-actions {
  display: flex;
  gap: 10px;
}

.btn-edit {
  background: #059669;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.btn-delete {
  background: #dc2626;
  color: white;
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.success-message,
.error-message {
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: block;
}

.success-message {
  background: #d1fae5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.error-message {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 24px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 8px;
}

.stat-label {
  color: #6b7280;
  font-weight: 500;
}
