/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #333;
  overflow: hidden;
  z-index: 1000; /* makes sure it stays on top of other content */
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style-type: none;
}

.navbar li {
  flex: 1;
}

.navbar a {
  display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  color: white;
}

.navbar a:hover {
  background-color: #575757;
}



body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    animation: fadeIn 1s ease-in;
}

.content p {
  text-align: left;
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.about-section {
    max-width: 1000px;
    padding: 40px;
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #222;
}

.intro-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #555;
}

/* Flex Container */
.cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Card Styles */
.card {
    width: 280px;
    height: 350px;
    perspective: 1000px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    backface-visibility: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    background: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.card-front img {
    border-radius: 50%;
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #005f73;
}

.card-front h2 {
    font-size: 1.4rem;
    color: #005f73;
}

.card-back {
    transform: rotateY(180deg);
    color: #333;
    font-size: 1rem;
    line-height: 1.4;
    background: #e0f7fa;
}
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Content grows to fill space */
.content {
  flex: 1;
  padding: 20px;
}

/* Footer stays at bottom */
.footer-section {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 15px 0;
}
