/* Base styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Reddit Sans', sans-serif;	
/*  font-family: system-ui, sans-serif; */
  background-image: url('img/bg_wrapper.png');
  background-size: cover;         /* Stretch to cover entire viewport */
  background-repeat: no-repeat;   /* Prevent tiling */
  background-position: center;    /* Center the image */
  background-attachment: fixed;   /* Optional: keeps image fixed on scroll */	
/*  background: #686868 url("img/bg_wrapper.png") no-repeat 50% 0;
  background: #f4f4f4; */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Layout container */
.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6rem;
  padding: 2rem;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

/* Logo styling */
.logo {
  flex: 1;
  background-image: url('img/logo-cei.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 700px;
}

/* Course card styles */
.course-card {
  flex: 1;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 500px;
}

.card-header .header-image {
  width: 100%;
  height: 275px;
  object-fit: cover;
}

.profile {
  display: flex;
  justify-content: center;
  margin-top: -40px;
}

.profile-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid #fff;
  object-fit: cover;
  background: #ccc;
}

.card-content {
  padding: 1rem 1.5rem 3.5em;
  text-align: center;
}

.card-content h2 {
  margin: 0.5rem 0;
  font-family: 'Cardo', serif;	
  font-size: 2.0rem;
}

.card-content h3 {
  margin: 0.5rem 0 0rem;
  padding: 0;
  font-family: 'Reddit Sans', sans-serif;	
  font-weight: 400;
  font-size: 1.3rem;
/*  font-variant: all-small-caps; */
}

.card-content h4 {
  margin: 0;
  padding: 0;	
  font-family: 'Reddit Sans', sans-serif;	
  font-weight: 300;
  font-size: 1.4rem;
  font-variant: all-small-caps;	
}


.subhead {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
/*  border-radius: 999px; */
  background-color: #0055ff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s ease;
}

.btn:hover {
  background-color: #003fcc;
}

.btn-secondary {
  background-color: #777;
}

.btn-secondary:hover {
  background-color: #555;
}

/* Responsive rules */
@media (max-width: 1200px) {
  .container {
    flex-direction: column;
    gap: 1rem; /* ↓ Tighten spacing here (default is 2rem or more) */	  
    text-align: center;
  }

  .logo {
    width: 490px;
    height: 285px;
    min-height: 250px;
    margin-bottom: 0.5rem; /* Add less margin below logo */	  
  }
	
  .course-card {
    margin-top: 0.5rem; /* Or remove any default spacing above the card */
  }
	
}
