/* General Body Styling */
body {
  background-color: #f8f9fa;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Navbar Styling */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  color: #5A8DEE !important;
  font-weight: bold;
  font-size: 1.4rem;
}

.nav-link {
  color: #555 !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #5A8DEE !important;
}

/* Card Style */
.card {
  border: none;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Headings */
h1, h2, h3 {
  color: #444;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Lists */
ul {
  padding-left: 1.2rem;
}

ul li {
  margin-bottom: 0.5rem;
}

/* Paragraphs */
p {
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* Emphasis and Strong Text */
strong {
  color: #333;
}

/* Links inside body */
.card a {
  color: #5A8DEE;
  text-decoration: underline;
}

.card a:hover {
  color: #3d6cc6;
  text-decoration: none;
}

/* Optional footer styling */
footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

.hero-section {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.overlay {
  background: rgba(249, 244, 244, 0.2); /* optional light overlay */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text h1,
.hero-text p {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.6);
}


/* Tabs styling */
/* Navigation container */
nav.nav-tabs {
  background-color: transparent; /* or #fff if you want white */
  box-shadow: none;
  border-bottom: none;
  justify-content: center;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Links */
.nav-tabs .nav-link {
  color: #5A5A5A;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.5rem 1.5rem;
  border: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

/* Hover effect */
.nav-tabs .nav-link:hover {
  color: #2a2d2d;
  border-bottom: 3px solid #3696a5;
  background-color: transparent;
}

/* Active tab */
.nav-tabs .nav-link.active {
  color: #5a5b5d;
  border-bottom: 3px solid #3696a5;
  background-color: transparent;
  font-weight: 700;
}


/* Card tweaks for elegance */
.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}


.container {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Welcome Section */
.welcome-section {
  text-align: center;
  margin-bottom: 3rem;
}

.welcome-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1F2A40;
  margin-bottom: 0.5rem;
}

.welcome-section p {
  font-size: 1.2rem;
  color: #4A4A4A;
}

/* Info Section Base */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* First Row: Goal + About POLAR */
.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.info-block-half {
  flex: 1 1 48%;
  background-color: #ffffff;
  padding: 1.6rem 1.4rem;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.info-block-half:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Second Section: Stack of 3 */
.info-column {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.info-block-full {
  background-color: #ffffff;
  padding: 1.5rem 1.3rem;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.info-block-full:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.info-block-half h2,
.info-block-full h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #24292e;
  margin-bottom: 0.6rem;
}

.info-block-half p,
.info-block-full p {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

/* Stylish button */
.btn-link {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  color: #2266cc;
  border: 1.5px solid #2266cc;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-link:hover {
  background-color: #2266cc;
  color: white;
}
.polar-info-section {
  padding: 2rem 1rem;
  background:  #ffeef9;
  font-family: 'Segoe UI', sans-serif;
}


.polar-info-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.polar-info-section .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.polar-info-section .col {
  background: linear-gradient(135deg, #ffffff, #f0f4f8);
  border-top: 4px solid #5A8DEE;
  border-radius: 12px;
  padding: 1.5rem 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.polar-info-section .col:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(90, 141, 238, 0.2);
}


.polar-info-section .text--center {
  text-align: center;
}

.polar-info-section h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0 0.8rem;
  color: #333;
}

.polar-info-section p {
  font-size: 1rem;
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.polar-info-section .button {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5A8DEE;
  border: 1.5px solid #5A8DEE;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.polar-info-section .button:hover {
  background-color: #5A8DEE;
  color: #fff;
}


.organizers-section {
  background-color: #f1f5f9;
  padding: 3rem 1rem;
  text-align: center;
}

.organizers-section h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #222;
}

.organizers-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.organizer {
  background-color: #ffffff;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(90, 141, 238, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.organizer:hover {
  box-shadow: 0 8px 24px rgba(90, 141, 238, 0.15);
  transform: translateY(-4px);
}

.organizer h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1rem;
}

.btn-org {
  display: inline-block;
  color: #5A8DEE;
  border: 1.5px solid #5A8DEE;
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-org:hover {
  background-color: #5A8DEE;
  color: #fff;
}

/* Footer Style */
.footer-section {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee);
  color: #ffffff; /* White text to contrast nicely */
  padding: 2rem 1rem;
  text-align: center;
}


.footer-section .footer-container p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #9644a4; /* Darling purple */
}



.cta-section .card {
  background: linear-gradient(135deg, #fbc2eb, #a6c1ee); /* soft pink + soft blue */
  border: none;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 5px;
  min-height: 30px; /* smaller card height */
}


.cta-section .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.cta-section .card-body {
  padding: 20px 15px; /* reduced padding */
}

.cta-section .card-title {
  font-size: 1rem; /* smaller font size */
  font-weight: 600;
  color: #2d3a3a !important;
  margin: 0;
  line-height: 1;
}

.cta-section .text-primary,
.cta-section .text-success,
.cta-section .text-danger {
  color: #2d3a3a !important;
}

@media (max-width: 168px) {
  .cta-section .card-title {
    font-size: 0.95rem;
  }

  .cta-section .card {
    min-height: 100px;
  }
}

.organizer-name {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.organizer-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 0.5rem;
}

.organizer-link {
  display: inline-block;
  font-size: 0.95rem;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.organizer-link:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

/* Footer styles (already used, but for clarity) */
.footer-section {
  background-color: #1e293b;
  color: #cbd5e1;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-container p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

.text-justify {
  text-align: justify;
}

.card-img-top {
  object-fit: cover;
  height: 240px;
}


.organizer-card .card-title {
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.organizer-card .organizer-text {
  font-size: 0.85rem;
  color: #555;
}

.organizer-card {
  transition: transform 0.2s ease;
}

.organizer-card:hover {
  transform: translateY(-4px);
}


.organizer-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.organizer-card:hover {
  transform: translateY(-5px);
}

.organizer-img {
  height: 260px;
  object-fit: cover;
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
}

.organizer-text {
  font-size: 0.9rem;
  color: #555;
}

.card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}
.content-wrapper {
  max-width: 80vw;
  margin-left: auto;
  margin-right: auto;
}

.card {
  border-radius: 1rem;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
}
.btn-purple {
  background-color: #8a6cc3;
  color: white;
}
.btn-purple:hover {
  background-color: #5a32a3;
  color: white;
}
