/* Base styles */
body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background-color: #f5f5f5;
}

/* Colors */
.bg-primary { background-color: #0F3460; }
.bg-secondary { background-color: #533483; }
.bg-accent { background-color: #E94560; }
.text-primary { color: #0F3460; }
.text-accent { color: #E94560; }

/* Layout */
.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 1rem; 
}

/* Header */
header {
  background-color: #0F3460;
  color: white;
  padding: 1rem 0;
}

header h1 {
  margin: 0;
  font-size: 1.8rem;
}

/* Navigation */
nav {
  background-color: #1A1A2E;
  padding: 1rem 0;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

nav ul li {
  margin: 0 1rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
}

/* Cards */
.card {
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Hero section */
.hero {
  background-color: white;
  padding: 3rem 1rem;
  text-align: center;
  margin-bottom: 2rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0F3460;
}

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

/* Button */
.btn {
  display: inline-block;
  background-color: #E94560;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2rem;
  color: #0F3460;
  margin-bottom: 1rem;
}

/* Article Cards */
.article-card {
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.article-card-image {
  height: 200px;
  background-color: #f0f0f0;
  background-size: cover;
  background-position: center;
}

.article-card-content {
  padding: 1.5rem;
}

.article-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

/* Expert Profile */
.expert-profile {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.expert-image-container {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 2rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
  position: relative;
  border: 3px solid #0F3460;
}

.expert-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.expert-info {
  flex: 1;
  min-width: 300px;
}

.expert-info h2 {
  margin-top: 0;
  font-size: 2rem;
  color: #0F3460;
  margin-bottom: 1rem;
}

.expert-credentials {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .expert-profile {
    flex-direction: column;
    text-align: center;
  }
  
  .expert-image-container {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}

/* Footer */
footer {
  background-color: #0F3460;
  color: white;
  padding: 2rem 1rem;
  margin-top: 2rem;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-column h3 {
  margin-top: 0;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: #ddd;
  text-decoration: none;
}

.footer-column a:hover {
  color: white;
  text-decoration: underline;
}

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

/* Utility classes */
.hidden {
  display: none;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

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

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

.text-center {
  text-align: center;
}
/* Additional styles for About and Contact pages */

.expert-item h3 {
  color: #0F3460;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.form-group textarea {
  height: 150px;
}

.block {
  display: block;
}

/* Responsive adjustments for Contact page */
@media (max-width: 768px) {
  .grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  
  .grid[style*="grid-template-columns: 1fr 1fr"] > div:nth-child(2) {
    padding-left: 0 !important;
    margin-top: 2rem;
  }


/* Responsive */
@media (max-width: 768px) {
  .mobile-hidden {
    display: none;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav ul li {
    margin: 0.5rem 0;
  }
  
  .grid {
    grid-template-columns: 1fr;
  }
  
  .expert-profile {
    flex-direction: column;
    text-align: center;
  }
  
  .expert-image {
    margin-right: 0;
    margin-bottom: 1rem;
  }
/* Article page styles */
.article-header {
  margin-bottom: 2rem;
}

.article-title {
  font-size: 2.5rem;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  color: #0F3460;
  line-height: 1.2;
}

.article-category {
  display: inline-block;
  background-color: #0F3460;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.9rem;
  text-decoration: none;
}

.article-category:hover {
  background-color: #1A1A2E;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.article-tag {
  background-color: #f0f0f0;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  margin-right: 0.5rem;
}

.article-excerpt {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #333;
}

.article-content {
  line-height: 1.8;
}

.article-content h2 {
  color: #0F3460;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.article-content h3 {
  color: #0F3460;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.4rem;
}

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

.article-content ul, 
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.featured-image {
  margin-bottom: 1.5rem;
}

.author-box {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
}

/* Categories filter */
.categories-filter {
  margin-top: 1.5rem;
}

.category-tag {
  display: inline-block;
  background-color: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.category-tag:hover,
.category-tag.active {
  background-color: #0F3460;
  color: white;
}

}
/* Resource page styles */
.resource-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.resource-card {
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.resource-icon {
  font-size: 2rem;
  color: #0F3460;
  margin-bottom: 1rem;
}

.resource-type {
  display: inline-block;
  background-color: #f0f0f0;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.resource-card h3 {
  margin-top: 0;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #0F3460;
}

.resource-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #666;
  margin: 1rem 0;
}

/* Resource detail page */
.resource-header {
  margin-bottom: 2rem;
}

.resource-title {
  font-size: 2rem;
  color: #0F3460;
  margin: 1rem 0;
}

.resource-type-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  color: white;
  font-weight: bold;
}

.resource-type-badge.guide {
  background-color: #3498db;
}

.resource-type-badge.whitepaper {
  background-color: #9b59b6;
}

.resource-type-badge.case_study {
  background-color: #2ecc71;
}

.resource-type-badge.infographic {
  background-color: #f39c12;
}

.resource-preview {
  margin: 2rem 0;
}

.resource-description {
  margin-bottom: 2rem;
}

.resource-details {
  margin-bottom: 2rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.detail-item {
  border-bottom: 1px solid #eee;
  padding-bottom: 0.75rem;
}

.detail-label {
  font-weight: bold;
  margin-right: 0.5rem;
}

.resource-download {
  margin-top: 2rem;
  text-align: center;
}

.download-btn {
  font-size: 1.2rem;
  padding: 1rem 2rem;
}

.coming-soon-notice {
  background-color: #f8f9fa;
  border: 1px dashed #ddd;
  padding: 1.5rem;
  border-radius: 5px;
  text-align: center;
}

.coming-soon-notice i {
  font-size: 2rem;
  color: #0F3460;
  margin-bottom: 1rem;
}

/* Resource filters */
.resource-filter {
  margin-bottom: 2rem;
}

.resource-filter-btn {
  background-color: #f0f0f0;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.resource-filter-btn:hover,
.resource-filter-btn.active {
  background-color: #0F3460;
  color: white;
}
/* Service page styles */
.lead-text {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #333;
}

.service-card {
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 2.5rem;
  color: #0F3460;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #0F3460;
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: flex-start;
}

.service-features li i {
  color: #0F3460;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.feature-box {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 5px;
  height: 100%;
}

.feature-box h3 {
  color: #0F3460;
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.feature-box h3 i {
  margin-right: 0.5rem;
}

.feature-box ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.feature-box ul li {
  margin-bottom: 0.5rem;
}

.cta-box {
  background: #f0f0f0;
  padding: 2rem;
  text-align: center;
  border-radius: 5px;
}

.cta-box h3 {
  color: #0F3460;
  margin-top: 0;
  margin-bottom: 1rem;
}

.process-steps {
  margin-top: 2rem;
}

.process-step {
  display: flex;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-number {
  background: #0F3460;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.step-content {
  flex: 1;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #0F3460;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 5px;
  border-left: 4px solid #0F3460;
}

.testimonial-content {
  margin-bottom: 1rem;
}

.testimonial-content p {
  font-style: italic;
  margin: 0;
}

.author-name {
  font-weight: bold;
  color: #0F3460;
}

.author-title {
  font-size: 0.9rem;
  color: #666;
}

.cta-section {
  background: #533483;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 5px;
  margin-bottom: 2rem;
}

.cta-section h2 {
  color: white;
  margin-top: 0;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.2rem;
  margin-top: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .process-step {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}
