/* Unified Styles for BIOS College Website */

/* Base Variables */
:root {
  --primary-color: #0056b3;
  --primary-dark: #004494;
  --primary-light: #3a7cc3;
  --secondary-color: #ff6b00;
  --secondary-dark: #e05e00;
  --secondary-light: #ff8c3a;
  --accent-color: #00c9a7;
  --text-color: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #e9ecef;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 5px;
  --border-radius-lg: 10px;
  --font-family-heading: "Montserrat", sans-serif;
  --font-family-body: "Nunito", sans-serif;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 3.5rem;
  font-weight: 800;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.8rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

ul,
ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 2rem;
}

/* Button Styles */
.btn {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
}

.btn:hover,
.btn:focus {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover,
.btn-outline:focus {
  background-color: var(--primary-color);
  color: white;
}

.btn-outline-white {
  background-color: transparent;
  border-color: white;
  color: white;
}

.btn-outline-white:hover,
.btn-outline-white:focus {
  background-color: white;
  color: var(--primary-color);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  width: 100%;
}

.logo {
  display: block;
  max-width: 180px;
  flex-shrink: 0;
}

.logo img {
  max-height: 60px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .logo img {
  max-height: 50px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--text-color);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  text-decoration: none;
}

.nav-menu a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary-color);
}

.nav-cta {
  margin-left: 1.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  border-radius: 3px;
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-image: url("/image/hero.webp");
  background-size: cover;
  background-position: center;
  color: white;
  margin-top: 0;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.hero-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Page Banner */
.page-banner {
  position: relative;
  height: 300px;
  background-image: url("/image/hero.webp");
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: center;
  margin-top: 80px;
}

.page-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb-separator {
  font-size: 0.8rem;
}

.current-page {
  color: var(--secondary-color);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-divider {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 1.5rem auto;
  border-radius: 2px;
}

.bg-light {
  background-color: var(--bg-light);
}

/* Features Section */
.features-section {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
}

/* Programs Section */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.program-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.program-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
}

.program-badge.certificate {
  background-color: var(--info-color);
}

.program-badge.diploma {
  background-color: var(--success-color);
}

.program-badge.degree {
  background-color: var(--primary-color);
}

.program-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.program-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.program-duration {
  color: var(--text-lighter);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.program-details {
  margin-top: 1.5rem;
}

.program-details h4 {
  font-size: 1.1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.program-details ul {
  margin-bottom: 1.5rem;
}

.program-details li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.program-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.program-actions .btn {
  flex: 1;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.about-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.about-list i {
  color: var(--success-color);
  margin-right: 0.75rem;
  font-size: 1.25rem;
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--bg-light);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
}

.team-position {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-bio {
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: var(--bg-light);
  color: var(--text-color);
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: var(--bg-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: var(--bg-light);
  border: 4px solid var(--primary-color);
  top: 15px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -12px;
}

.timeline-content {
  padding: 20px 30px;
  background-color: white;
  position: relative;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.timeline-date {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials-slider {
  position: relative;
  display: flex;
  gap: 2rem;
  overflow-x: hidden;
}

.testimonial-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  flex: 0 0 calc(33.333% - 1.33rem);
  transition: var(--transition);
}

.testimonial-content {
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-content:before {
  content: "\201C";
  font-size: 4rem;
  position: absolute;
  top: -2rem;
  left: -1rem;
  color: rgba(0, 86, 179, 0.1);
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 0.25rem;
}

.author-info p {
  margin-bottom: 0;
  color: var(--text-lighter);
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-control {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-control:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Stats Section */
.stats-section {
  background-color: var(--primary-color);
  color: white;
  padding: 5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-family-heading);
}

.stat-label {
  font-size: 1.25rem;
  font-weight: 600;
  opacity: 0.9;
}

/* News & Events Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: 1.5rem;
  position: relative;
}

.news-date {
  position: absolute;
  top: -30px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.news-date .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.news-date .month {
  font-size: 0.9rem;
  text-transform: uppercase;
}

.news-content h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.news-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

/* CTA Section */
.cta-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../image/hero.webp");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

/* Blog Section */
.blog-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.post-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-color);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}

.post-date-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--secondary-color);
  color: white;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 1;
}

.post-date-badge .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.post-date-badge .month {
  font-size: 0.8rem;
  text-transform: uppercase;
}

.blog-card-content {
  padding: 1.5rem;
}

.post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
  transition: var(--transition);
}

.blog-read-more:hover {
  gap: 0.75rem;
  color: var(--primary-dark);
}

.featured-post {
  background-color: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 3rem;
}

.featured-post-image {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.featured-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-post:hover .featured-post-image img {
  transform: scale(1.1);
}

.featured-post-content {
  padding: 2rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: white;
  color: var(--text-color);
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.pagination a:hover,
.pagination a.active {
  background-color: var(--primary-color);
  color: white;
}

/* Blog Sidebar */
.sidebar-widget {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.sidebar-widget h3 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.sidebar-widget h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.search-form {
  display: flex;
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 3rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-family-body);
}

.search-form button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 3rem;
  background-color: var(--primary-color);
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.search-form button:hover {
  background-color: var(--primary-dark);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.categories-widget li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.categories-widget a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  transition: var(--transition);
}

.categories-widget a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.categories-widget span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recent-post {
  display: flex;
  gap: 1rem;
}

.recent-post-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-content h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.recent-post-date {
  color: var(--text-light);
  font-size: 0.85rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--bg-light);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  transition: var(--transition);
}

.tags a:hover {
  background-color: var(--primary-color);
  color: white;
}

.sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.sidebar-newsletter-form input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-family-body);
}

/* Blog Detail Page */
.blog-detail-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-detail-meta-left,
.blog-detail-meta-right {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.blog-detail-meta span {
  display: flex;
  align-items: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-detail-meta i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.blog-detail-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.blog-detail-image img {
  width: 100%;
  height: auto;
}

.blog-detail-text {
  margin-bottom: 2rem;
}

.blog-detail-text h2,
.blog-detail-text h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-detail-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.blog-detail-text blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background-color: var(--bg-light);
  font-style: italic;
}

.blog-detail-text blockquote p {
  margin-bottom: 0.5rem;
}

.blog-detail-text blockquote cite {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: normal;
}

/* Gallery Page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
}

.gallery-image {
  height: 300px;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  text-align: center;
  color: white;
  padding: 1.5rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

.gallery-info h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.gallery-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: #222;
  color: white;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 1.5rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.footer-social-link:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer ul a:hover {
  color: white;
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: var(--font-family-body);
}

.newsletter-form button {
  padding: 0.75rem 1rem;
  border: none;
  background-color: var(--primary-color);
  color: white;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--primary-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 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;
}

.delay-5 {
  animation-delay: 1s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

.floating-animation {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Sticky Register Button (Mobile) */
.sticky-register-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  display: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content h2 {
    font-size: 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: 2;
  }

  .about-content {
    order: 1;
  }

  .testimonial-card {
    flex: 0 0 calc(50% - 1rem);
  }

  .blog-container {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 18px;
  }

  .right {
    left: 0%;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-section {
    height: auto;
    min-height: 500px;
    padding: 120px 0 80px;
  }

  .hero-content h1 {
    font-size: 2.25rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  /* Mobile navigation */
  .navbar {
    padding: 0.5rem 0;
  }

  .logo {
    max-width: 150px;
    z-index: 1001;
  }

  .logo img {
    max-height: 50px;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 0 0 1.5rem;
  }

  .testimonial-card {
    flex: 0 0 100%;
  }

  .sticky-register-btn {
    display: block;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: span 1;
  }

  .blog-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-author-social {
    justify-content: center;
  }

  .comment {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .comment-info {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .page-banner {
    height: 250px;
  }

  .page-banner h1 {
    font-size: 2.25rem;
  }

  .program-actions {
    flex-direction: column;
  }

  .blog-detail-meta {
    flex-direction: column;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
  }

  .newsletter-form button {
    border-radius: var(--border-radius);
  }
}
