
/* traning................................................................................ */
/* picture Container styling */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Two equal columns */
  gap: 20px; /* Space between images */
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Individual item styling */
.gallery-item {
  overflow: hidden;
  border-radius: 12px; /* Smooth rounded corners */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow */
  transition: transform 0.3s ease; /* Animation for hover */
}

/* Image behavior */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Prevents distortion */
  display: block;
}

/* Hover Effect */
.gallery-item:hover {
  transform: translateY(-5px); /* Lifts up slightly */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive: Stack images on small screens */
@media (max-width: 600px) {
  .photo-gallery {
    grid-template-columns: 1fr; /* One column on mobile */
    gap: 15px;
  }
}

/*text Container styling*/
.news-article {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  border-left: 5px solid #1e2c4a; 
}

.article-header h2 {
  color: #1e2c4a;
  margin-bottom: 5px;
  font-size: 1.8rem;
}

.date-location {
  color: #666;
  font-style: italic;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.highlight-item {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  border-top: 3px solid #d4a017; /* Rotary Gold accent */
}

.highlight-item strong {
  display: block;
  color: #3e3c3c;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.closing-statement {
  margin-top: 30px;
  padding: 20px;
  background: #eef4f9;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}


/* elective................................................................................... */
.elective-program {
  max-width: 1000px;
  margin: 40px auto;
  font-family: 'Inter', sans-serif;
  color: #2c3e50;
}

.program-intro h4 {
  color: #1e2c4a;
  border-bottom: 2px solid #f7a81b;
  display: inline-block;
  margin-bottom: 12px;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.discipline-card, .requirements-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border: 1px solid #eef2f6;
}

.discipline-card h5, .requirements-card h5 {
  color: #1136d8;
  margin-top: 0;
}

.discipline-card ul {
  list-style: none;
  padding: 0;
}

.discipline-card li::before {
  content: "✓";
  color: #d4a017;
  margin-right: 10px;
  font-weight: bold;
}

.fee-badge {
  margin-top: 20px;
  background: #005aa7;
  color: white;
  padding: 10px;
  border-radius: 6px;
  display: inline-block;
  font-weight: bold;
}

.download-btn {
  display: block;
  text-align: center;
  background: #d4a017;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border-radius: 6px;
  margin-top: 20px;
  transition: background 0.3s;
}

.download-btn:hover { background: #d4a017; }

.extra-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.extra-details h5, .extra-details h5 {
  color: #1136d8;
  margin-top: 0;
}

.detail-box {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.hotel-links a {
  display: inline-block;
  margin-right: 15px;
  color: #005aa7;
  font-weight: 500;
}

.clinical-note {
  border-left: 4px solid #ff0800;
}

@media (max-width: 768px) {
  .info-grid, .extra-details { grid-template-columns: 1fr; }
}

.program-nature-box {
  background: #ffffff;
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  margin: 20px auto;
  font-family: 'Segoe UI', system-ui, sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.nature-header {
  background: #f8fafc;
  padding: 15px 25px;
  border-bottom: 1px solid #e1e8ed;
}

.coordinator-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334155;
  font-size: 0.95rem;
}

.nature-body {
  padding: 25px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
}

.opportunities h5, .opportunities h5 {
  color: #1136d8;
  margin-top: 0;
}

/* .opportunities h5 {
  margin-top: 0;
  color: #005aa7; /* Rotary Blue
  font-size: 1.2rem;
} */

.activity-list {
  padding-left: 20px;
  color: #475569;
}

.activity-list li {
  margin-bottom: 8px;
}

.restriction-alert {
  background: #ff70704b;
  border: 1px solid #ffbaba;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.alert-icon {
  font-size: 1.5rem;
}

.restriction-alert p {
  margin: 0;
  font-size: 0.9rem;
  color: #382b02;
  line-height: 1.4;
}

/* Responsive adjustment */
@media (max-width: 650px) {
  .nature-body {
    grid-template-columns: 1fr;
  }
}

.extra-details-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 25px;
  max-width: 1000px;
  margin: 40px auto;
  font-family: 'Inter', -apple-system, sans-serif;
}

.detail-card {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f0f0f0;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.card-header h3 {
  margin: 0;
  color: #005aa7; /* Rotary Blue */
  font-size: 1.4rem;
}

.card-header .icon {
  font-size: 1.8rem;
}

.subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

/* Hotel Grid Styling */
.hotel-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hotel-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #f8fafc;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.hotel-item:hover {
  transform: scale(1.01);
  background: #f1f5f9;
}

.hotel-info strong {
  display: block;
  color: #1e293b;
}

.hotel-info span {
  font-size: 0.85rem;
  color: #94a3b8;
}

.contact-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #005aa7;
  text-decoration: none;
  padding: 8px 16px;
  border: 1.5px solid #005aa7;
  border-radius: 6px;
  transition: all 0.3s;
}

.contact-link:hover {
  background: #005aa7;
  color: #fff;
}

/* Protocol Styling */
.protocol-section {
  background: #fff;
  border-top: 5px solid #d4a017; /* Rotary Gold */
}

.requirement {
  margin-bottom: 25px;
}

.requirement label {
  display: block;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 800;
  color: #d4a017;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.requirement p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #334155;
}

/* Mobile Responsiveness */
@media (max-width: 850px) {
  .extra-details-container {
    grid-template-columns: 1fr;
  }
}

.custom-team-border {
    border: 3px solid #1e2c4a !important; 
    border-radius: 10px; 
}

/* Ensure the accordion header looks clean when active */
.custom-event-accordion .accordion-button:not(.collapsed) {
    background-color: #f8f9fa; /* Keeps the background light */
    color: #1e2c4a; /* Changes text to team color when open */
    box-shadow: none; /* Removes the default bootstrap blue shadow */
    border-bottom: 1px solid #1e2c4a;
}

.custom-event-accordion .accordion-button:focus {
    box-shadow: inset 0 0 0 0.25rem rgba(154, 33, 37, 0.219); /* Removes the default focus shadow */
    border-color: #1e2c4a;
}