/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

:root {
	--primary-color: #042b4c;
	--secondary-color: #ffffff;
	--text-color: #333;
	--background-color: #f9f9f9;
}

html{
  scroll-behavior: smooth;
}

body {
  /* font-family: 'Poppins', sans-serif; */
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

/* Top button */

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 20%;
  padding: 12px 16px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: opacity 0.4s, visibility 0.4s;
  opacity: 0;
  visibility: hidden;
  border: 1px solid transparent
}

#backToTop:hover {
  background-color: var(--secondary-color);
  transition: all 0.3s ease;
  color: #0b3c5d;
  border: 1px solid #0b3c5d;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}


/* Navbar */
.navbar {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo Styling */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-right: 1rem;
}

/* Nav Links */
.navbar .nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.navbar .nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.navbar .nav-links a:hover {
  color: var(--secondary-color);
}

.navbar .nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.navbar .nav-links a:hover::after {
  width: 100%;
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo-img {
    height: 40px;
  }

  .burger {
    display: flex;
  }

  .nav-menu {
    width: 100%;
    display: none;
    flex-direction: column;
    background-color: var(--primary-color);
    padding-top: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .navbar .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* Hero Section */
.hero {
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 80vh;
  margin: 50px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.735);
  color: #fff;
  text-align: center;
  padding: 2rem;
  width: 100%;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-overlay p {
  font-size: 1.2rem;
}

.hero-title {
  font-size: 2.2rem;
  color: white;
  text-align: center;
  padding: 1rem;
}

#typing-text {
  color: #ffcb05;
  font-weight: bold;
  border-right: 2px solid white;
  /* white-space: nowrap; */
  overflow: hidden;
  /* display: inline-block; */
}


/* Section Titles */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: #0b3c5d;
}

/* About Section */
.about-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
}

.about-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  width: 300px;
  transition: transform 0.3s;
}

.about-box:hover {
  transform: translateY(-5px);
}

.about-box h3 {
  margin-bottom: 1rem;
  color: #0b3c5d;
}

.about-box p {
	text-align: justify;
}

/* Gallery Section */
/* Container grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Individual card */
.gallery-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery-card:hover {
  transform: scale(1.02);
}

/* Image styling */
.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Card content */
.card-content {
  padding: 15px;
  text-align: center;
}

.card-content h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.event-date {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.event-description {
  font-size: 15px;
  margin-bottom: 12px;
  color: #333;
}

/* Button styling */
.card-content button {
  padding: 8px 16px;
  background-color: #0066cc;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.card-content button:hover {
  background-color: #004d99;
}

/* Founders Section */
.founders-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

#founders {
  background: #fff;
  border-radius: 8px;
  margin: 2rem 0 1rem;
  padding: 1rem;
  /* max-width: 500px; */
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* .founder img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.founder table {
  width: 100%;
  border-collapse: collapse;
}

.founder th,
.founder td {
  text-align: left;
  padding: 10px 0px;
  font-size: 0.9rem;
}

.founder table tr{
	border-bottom: 1px solid #ccc;
} */

.unique-button {
		display: inline-block;
    margin-bottom: 30px;
    padding: 8px 16px;
    background-color: #0b3c5d; /* LinkedIn blue */
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    /* font-size: 0.8rem; */
    transition: background-color 0.3s ease;
    transform: 0.2s ease;
    border: 1px solid transparent
}

.unique-button:hover {
  	background-color: transparent;
    color: #0b3c5d;
    border: 1px solid #0b3c5d;
}



/* Committee Section */

.committee-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 2rem;
}

/* Make committee-box responsive */
.committee-box {
  flex: 1 1 300px;
  max-width: 400px;
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  margin: 1rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.committee-box:hover {
  transform: translateY(-5px);
}
/* Mobile adjustments */
@media (max-width: 768px) {
  .committee-box {
    max-width: 90%;
    flex: 1 1 100%;
  }
}
.committee-box h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.view-button {
		display: inline-block;
    padding: 8px 16px;
    background-color: #0b3c5d; /* LinkedIn blue */
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    /* font-size: 0.8rem; */
    transition: background-color 0.3s ease;
    transform: 0.2s ease;
    border: 1px solid transparent
}

.view-button:hover {
  	background-color: transparent;
    color: #0b3c5d;
    border: 1px solid #0b3c5d;
}
/* Table Wrapper */

.centered-table-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* padding: 2rem; */
  min-height: 50vh;
}

.committee-table-wrapper {
  width: 100%;
  max-width: 900px;
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
}

/* Table Styling */
.responsive-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  background-color: #fff;
}

.responsive-table th,
.responsive-table td {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  text-align: center;
}


.responsive-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.responsive-table tbody tr:hover {
  background-color: #f9f9f9;
}
/* Responsive Scrollbar */
.committee-table-wrapper::-webkit-scrollbar {
  height: 8px;
}
.committee-table-wrapper::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 4px;
}
.committee-table-wrapper::-webkit-scrollbar-track {
  background: #f1f1f1;
}




/* Contact Section */
.contact-info {
  background: #fff;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 2rem auto;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-info p {
  margin: 0.5rem 0;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-links a {
  color: #0b3c5d;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #0b3c5d;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: #0b3c5d;
  color: white;
}

/* Footer */
footer {
  background-color: #0b3c5d;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .navbar .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .about-grid {
    flex-direction: column;
    align-items: center;
  }

  .founders-grid {
    flex-direction: column;
    align-items: center;
  }
}
