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

body {
    font-family: sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.main-header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 1rem 0;
    color: white;
}

.main-header .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    height: 250px;
    width: auto;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo-overlay-text {
    position: absolute;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    top: 75%; /* Adjust this value to move the text vertically */
    pointer-events: none;
}

.highlight {
    color: #007a66;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu li a {
    color: white;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #007a66;
    text-shadow: 0 0 15px #00baff, 0 0 30px #00baff;
}

/* Hero */
.hero {
    background: url('../images/logo.jpg') no-repeat center center/cover;
    height: 120vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    padding-top: 150px;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.6);
}

/* For non-home pages */
.hero {
    height: 104vh; /* shorter height to hide bottom text */
    overflow: hidden; /* ensures hidden part doesn't show */
    background-position: center 43%;
    background-size: cover;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Intro Section */
.about-intro {
    background: linear-gradient(to right, #007a66, #004d40);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.about-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.about-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: auto;
}

/* Highlights Section */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px 20px;
    background-color: #f5f5f5;
}

.vision-mission {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin: 80px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.vm-card {
    flex: 1;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-top: 5px solid #007a66;
    transform: translateY(50px);
    opacity: 0;
}

.vm-card h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #007a66;
}

.vm-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Slight stagger for irregular look */
.vision {
    margin-top: 30px;
}
.mission {
    margin-bottom: 30px;
}

/* Animation classes */
.vm-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s ease-out;
}

.vision.visible {
    animation: slideInLeft 0.8s ease-out forwards;
}
.mission.visible {
    animation: slideInRight 0.8s ease-out forwards;
}

@keyframes slideInLeft {
    from { transform: translateX(-100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes slideInRight {
    from { transform: translateX(100px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.highlight-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0,0,0,0.15);
}

.highlight-card .icon img {
    width: 60px;
    margin-bottom: 15px;
}

.highlight-card h3 {
    color: #007a66;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Footer */
.footer {
  background-color: #007a66;
  color: #fff;
  padding: 40px 20px;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 220px;
  margin: 10px 20px;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #007a66;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

.footer-logo {
  width: 200px;
  margin-bottom: 10px;
}

.footer-subtext {
  font-size: 10px;
  color: #ccc;
  margin-left: 65px;
  margin-top: -60px;
}

.footer-bottom {
  background-color: #002620; /* darker than footer */
  color: #aaa;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  border-top: 1px solid #00453b;
}