@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

:root {
  --primary-color:#0a1c2e; 
  --primary-light: #0e2235; 
  --secondary-color: #06121f;
  --text-color: #f9f9f9;
  --background-color: #fff6ec;
  --accent-c-2: #f1f1f1;
  --text-c-highlight: #3399ff;  
  --card-background: #0a1c2e; 
  --soft-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  margin-top: 60px;
}

.maintitle {
  margin-top: 85px;
  font-family: "Montserrat", serif;
  color: var(--text-c-highlight);
  text-align: center;
  font-size: 2.5rem;
  padding: 20px 0;
}

h1,
h2,
h3 {
  font-family: "Montserrat", serif;
  color: var(--text-c-highlight);
  text-align: center;
}

/* Container styles */
.content-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Card styles for sections */
.section-card {
  background-color: var(--card-background);
  border-radius: 8px;
  box-shadow: var(--soft-shadow);
  padding: 30px;
  color: var(--text-color);
}

.section-title {
  color: var(--text-c-highlight);
  margin-bottom: 30px;
  font-size: 2rem;
}

/* Management Committee Styles */
.management-comm-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.management-comm-card {
  background-color: var(--secondary-color);
  width: 250px;
  border-radius: 8px;
  color: var(--accent-c-2);
  font-family: "Inter", sans serif;
  padding: 20px;
  text-align: center;
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.management-comm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.management-comm-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 3px solid var(--text-c-highlight);
}

.management-comm-card h3 {
  color: var(--text-c-highlight);
  margin-bottom: 5px;
}

.table-container {
  overflow: hidden; /* Ensures the border-radius is applied */
  border-radius: 12px; /* Apply the border-radius here */
  margin-top: 1.5rem; /* Optional: Keep the existing margin */
}

.founder-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 12px;
}

th,
td {
  padding: 1rem;
  text-align: left;
  color: #ffffff;
}

th {
  background: var(--primary-light);
  color: var(--text-c-highlight);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease-in-out;
}

tbody tr,
td {
  background-color: var(--secondary-color);
}

tbody tr:hover td {
  transition: all 0.3s ease-in-out;
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
  .management-comm-flex {
    gap: 15px;
  }

  .management-comm-card {
    max-width: 220px;
  }
}

@media screen and (max-width: 768px) {
  .management-comm-flex {
    gap: 10px;
  }

  .management-comm-card {
    max-width: 200px;
  }

  .founder-table th,
  .founder-table td {
    padding: 10px;
    font-size: 14px;
  }
}

@media screen and (max-width: 600px) {
  .management-comm-flex {
    flex-direction: column;
    align-items: center;
  }

  .management-comm-card {
    max-width: 100%;
    width: 100%;
  }

  .section-card {
    padding: 20px 15px;
  }

  .founder-table th,
  .founder-table td {
    padding: 8px;
    font-size: 12px;
  }
}

/* CSS for section title */
.section-titley {
  text-align: center;
  font-size: 2rem;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 1rem;
  font-weight: 600;
  margin-bottom: 0px;
  font-family: "Inter", sans-serif;
}

.section-titley::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--text-c-highlight)
  );
  border-radius: 2px;
}

/* Scroll Animation for reveal effect */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
