:root {
  --navy-blue: #0a2a66;
  --royal-blue: #012e81;
  --white: #ffffff;
  --light-gray: #f5f7fa;
  --transition: all 0.3s ease;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--light-gray);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
}

.ho-container {
  padding: 0 15px; 
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Hero Section */
.hero-section {
  height: 400px;
  background: linear-gradient(rgba(35, 115, 195, 0.7), rgba(0, 86, 179, 0.7)), url('dental-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--white);
  font-family: 'Playfair Display', serif;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Publications Section */
.publications-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  font-family: 'Playfair Display', serif;
  color: var(--navy-blue);
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--royal-blue);
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
  padding-bottom: 4px;
}

.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  padding: 0 20px;
}

.publication-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0 auto;
  max-width: 100%;
}

.publication-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: var(--navy-blue);
  color: var(--white);
  padding: 18px 20px;
  position: relative;
}

.card-header h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-right: 50px;
  line-height: 1.4;
}

.badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--royal-blue);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-blue {
  background-color: #87CEFA;
  color: var(--navy-blue);
}

.card-body {
  padding: 20px;
  flex-grow: 1;
}

.publication-meta {
  list-style: none;
}

.publication-meta li {
  margin-bottom: 10px;
  font-size: 0.9rem;
  display: flex;
}

.publication-meta strong {
  color: var(--navy-blue);
  min-width: 110px;
  display: inline-block;
}

.card-footer {
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  min-width: 120px;
  text-align: center;
}

.btn i {
  margin-right: 6px;
}

.btn-primary {
  background-color: var(--royal-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #0f4cbf;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--royal-blue);
  border: 1px solid var(--royal-blue);
}

.btn-secondary:hover {
  background-color: var(--royal-blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideLeft 0.8s ease-out forwards;
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  animation: slideRight 0.8s ease-out forwards;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 0.8s ease-out forwards;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .publications-grid {
    gap: 25px;
  }
  
  .publication-card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 992px) {
  .publications-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .hero-section {
    height: 350px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .card-header h3 {
    font-size: 1.2rem;
  }
}

/* Mobile View */
@media (max-width: 768px) {
  .publications-section {
    padding: 50px 0;
  }
  
  .hero-section {
    height: 280px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
  
  .hero-content p {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .section-header {
    margin-bottom: 30px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header p {
    font-size: 0.95rem;
  }
  
  .publications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  
  .publication-card {
    max-width: 100%;
    margin: 0;
  }
  
  .card-footer {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 12px 15px;
  }
  
  .btn {
    padding: 10px 15px;
    font-size: 0.85rem;
    min-width: 110px;
    flex: 1;
    max-width: 48%;
  }
}

@media (max-width: 600px) {
  .hero-section {
    height: 240px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .card-header {
    padding: 15px;
  }
  
  .card-header h3 {
    font-size: 1.15rem;
  }
  
  .card-body {
    padding: 15px;
  }
  
  .publication-meta li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    flex-direction: column;
  }
  
  .publication-meta strong {
    min-width: auto;
    margin-bottom: 2px;
  }
  
  .card-footer {
    gap: 8px;
  }
  
  .btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .publications-section {
    padding: 40px 0;
  }
  
  .hero-section {
    height: 200px;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .card-footer {
    flex-wrap: nowrap;
  }
  
  .btn {
    padding: 8px 10px;
    min-width: auto;
    flex: 1;
  }
}

@media (max-width: 360px) {
  .hero-section {
    height: 180px;
  }
  
  .hero-content h1 {
    font-size: 1.6rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  .card-header h3 {
    font-size: 1.1rem;
  }
  
  .card-footer {
    flex-direction: column;
    gap: 8px;
  }
  
  .btn {
    width: 100%;
    max-width: 100%;
  }
}