/* Global Styles */
:root {
  --primary-color: #2d3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --gray-color: #95a5a6;
  --text-color: #333;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.section-title {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  text-align: center;
}

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

/* Header & Navigation */
.navbar {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 4px;
  transition: all 0.3s;
}

.nav-link.active, 
.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-img, .profile-img {
  border-radius: 50%;
  border: 5px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  margin: 0 auto;
  height: auto;
}

.stats-box {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.stats-item {
  text-align: center;
}

.stats-number {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.stats-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
.btn-primary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

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

.card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--gray-color);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Project & Product Cards */
.project-card, .product-card {
  height: 100%;
}

.project-card .card-img-container, 
.product-card .card-img-container {
  height: 200px;
  overflow: hidden;
}

.project-year, 
.product-role {
  background-color: var(--secondary-color);
  color: white;
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 30px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

/* Blog Styles */
.blog-card {
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card .card-img-top {
  height: 200px;
  object-fit: cover;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
}

.blog-category {
  display: inline-block;
  background-color: var(--light-color);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  color: var(--dark-color);
  margin-right: 0.5rem;
}

.blog-date {
  display: inline-block;
}

.blog-content {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 8px;
}

/* Comments */
.comment {
  padding: 1.5rem;
  background-color: var(--light-color);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.comment-author {
  font-weight: 600;
}

.comment-date {
  font-size: 0.85rem;
  color: var(--gray-color);
}

/* Forms */
.form-control {
  border-radius: 4px;
  padding: 0.75rem;
  border: 1px solid #ddd;
}

.form-control:focus {
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  border-color: var(--secondary-color);
}

.form-label {
  font-weight: 500;
}

.form-text {
  color: var(--gray-color);
}

/* Awards & Programs */
.award-item, 
.program-item {
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  background-color: white;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.award-item::before, 
.program-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: var(--secondary-color);
}

.award-title, 
.program-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

.award-meta, 
.program-meta {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  margin-top: 3rem;
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

footer a:hover {
  color: white;
  text-decoration: none;
}

.social-icons a {
  font-size: 1.5rem;
  margin-right: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero-img, .profile-img {
    max-width: 200px;
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .stats-number {
    font-size: 1.5rem;
  }
}
