/* 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%;
    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: 104vh; /* shorter height to hide bottom text */
    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);
    overflow: hidden;
    background-position: center 43%;
    background-size: cover;
}

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

/* ================================
   SERVICES
================================ */
.services-section {
    padding: 60px 20px;
    background: #f5f5f5;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #007a66;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-content: center;
}

.service-card {
    background: #007a66;
    color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 300px;
}

.service-card i {
    font-size: 4rem;
    margin-bottom: 15px;
    transition: all 0.5s ease;
}

.service-card h3 {
    font-size: 2rem;
    transition: all 0.5s ease;
}

.service-card p,
.service-card ul {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

/* Active state */
.service-card.active {
    background: white;
    color: #333;
    height: auto;
    text-align: left;
    padding: 30px;
    flex-direction: column;
}

.service-card.active i {
    font-size: 2.5rem;
    color: #007a66;
    margin-bottom: 15px;
}

.service-card.active h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card.active p,
.service-card.active ul {
    opacity: 1;
    max-height: 1000px;
}

.service-card.active ul {
    margin-left: 20px;
}

/* Hover (non-active) */
.service-card:hover:not(.active) {
    background: white;
    color: #007a66;
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.service-card:hover:not(.active) i {
    color: #007a66;
}

/* Scroll reveal */
.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   SOLUTIONS
================================ */
.solutions-section {
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.solutions-intro h3 {
    font-size: 2rem;
    color: #007a66;
    margin-bottom: 10px;
}

.solutions-intro p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: #555;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.solution-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
}

.solution-card.show {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.solution-card .icon {
    font-size: 3rem;
    color: #007a66;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-card h4 {
    color: #007a66;
    margin-bottom: 10px;
}

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

/* ================================
   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;
    color: #aaa;
    text-align: center;
    padding: 15px 10px;
    font-size: 14px;
    border-top: 1px solid #00453b;
}
