body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-weight: 400;
    font-size: 20px;
    margin: 0;
    background: #0A192F;
    color: #CCD6F6;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Funnel Display', 'Inter', Arial, sans-serif;
    font-weight: 700;
    color: #64FFDA;
    margin-bottom: 0.5em;
}

h4 {
    font-family: 'Funnel Display', 'Inter', Arial, sans-serif;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5em;
}

a:link{
    color: green;
    background-color: transparent;
    text-decoration: none;
}

a:hover{
    color: rgb(6, 197, 6);
    background-color: transparent;
    text-decoration: underline;
}

main, section.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    padding-bottom: 80px; /* add bottom padding so content doesn't overlap footer */
    background: rgba(17,34,64,0.97);
    border-radius: 16px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.12);
    box-sizing: border-box;
    word-break: break-word;
}

.navbar {
    background: rgba(10,25,47,0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #64FFDA;
    letter-spacing: 1px;
}

.logo span {
    font-family: 'Funnel Display', 'Inter', Arial, sans-serif;
    font-weight: 600;
    font-size: 3rem;
    letter-spacing: 1px;
    color: #64FFDA;
}

.logo-img {
    height: 80px;
    width: auto;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #CCD6F6;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    font-size: 1.1rem;
}

.nav-links a:hover {
    background: #112240;
    color: #64FFDA;
}

.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0A192F 60%, #112240 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}


.hero2 {
    min-height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0A192F 60%, #112240 100%);
    background: #112240;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding-bottom: 64px; /* add more space at the bottom */
}

.hero2-content h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.hero2-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #a8b2d1;
}

.btn-primary {
    background: linear-gradient(90deg, #64FFDA 0%, #52e0c4 100%);
    color: #0A192F;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(100,255,218,0.15);
    transition: background 0.3s, transform 0.2s;
    cursor: pointer;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #52e0c4 0%, #64FFDA 100%);
    transform: translateY(-2px) scale(1.04);
}

.card-container {
    display: flex;
    flex-direction: row; /* force row layout on large screens */
    gap: 2rem;
    padding: 2rem 0;
    flex-wrap: nowrap; /* prevent wrapping on large screens */
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
}

.card {
    background: #112240;
    padding: 2rem 1.5rem;
    border-radius: 14px;
    flex: 1 1 250px;
    min-width: 220px;
    max-width: 320px;
    box-shadow: 0 2px 16px rgba(100,255,218,0.07);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1rem;
    box-sizing: border-box;
    word-break: break-word;
}

.card img {
    width: 100%;
    max-width: 200px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid #233554;
    background: #0A192F;
    color: #CCD6F6;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #64FFDA;
    box-shadow: 0 0 0 2px #64FFDA33;
    outline: none;
}

.contact-form button {
    margin-top: 1rem;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 64px;
    text-align: center;
    padding: 0;
    background-color: #0A192F;
    color: #64FFDA;
    border-top: 1px solid #112240;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 0 0 0px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0rem;
  width: 100%;
  height: 100%;
  position: relative;
  min-height: 64px;
}

.footer-content .nav-links,
.footer-content .nav-links:visited,
.footer-content .nav-links:active {
  position: relative;
  left: 2rem;
  color: #64FFDA;
  background: none;
  text-decoration: none;
}
.footer-content .nav-links:not(:last-child) {
  margin-right: 1.5rem;
}
.footer-content .footer-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  text-align: center;
  width: max-content;
  pointer-events: none; /* so links remain clickable */
  color: #64FFDA;
  font-size: 1rem;
  z-index: 1;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex: 0 0 auto;
}


@media (max-width: 900px) {
    main, section.container {
        max-width: 100vw;
        margin: 1rem;
        padding: 1rem;
        padding-bottom: 72px;
    }
    .card-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .card {
        max-width: 100%;
        min-width: 0;
        margin-bottom: 1rem;
    }
    .hero-image {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    .nav-links {
        flex-direction: row; /* keep links in one line */
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
        padding-left: 0;
        flex-wrap: wrap;
    }
    .nav-links a {
        font-size: 0.95rem;
        padding: 0.3rem 0.5rem;
        width: auto;
        display: inline-block;
    }
    .logo-img {
        height: 56px;
    }
    .logo span {
        font-size: 2rem;
    }
}

@media (max-width: 700px) {
    main, section.container {
        padding: 1rem;
        margin: 0.5rem;
        padding-bottom: 72px;
        max-width: 100vw;
    }
    .card-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
        flex-wrap: wrap;
        align-items: stretch;
    }
    .card {
        max-width: 100%;
        min-width: 0;
        margin-bottom: 1rem;
        padding: 1rem 0.5rem;
    }
    .hero-image {
        flex-direction: column;
        gap: 1rem;
        padding: 0;
        width: 100%;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
    }
    .nav-links {
        flex-direction: row; /* keep links in one line */
        gap: 0.3rem;
        width: 100%;
        justify-content: center;
        padding-left: 0;
        flex-wrap: wrap;
    }
    .nav-links a {
        font-size: 0.85rem;
        padding: 0.2rem 0.4rem;
        width: auto;
        display: inline-block;
    }
    .logo-img {
        height: 40px;
    }
    .logo span {
        font-size: 1.3rem;
    }
    h1 {
        font-size: 1.3rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    h3 {
        font-size: 1rem;
    }
    h4 {
        font-size: 0.9rem;
    }
    .hero-content h1 {
        font-size: 1.1rem;
    }
    .hero2-content h1 {
        font-size: 1rem;
    }
    .hero2-content p, .hero-content p {
        font-size: 0.95rem;
    }
    p, ul, li {
        font-size: 0.9rem;
    }
    .about-flex {
        flex-direction: column !important;
        align-items: center !important;
        gap: 1rem !important;
    }
    .about-flex img {
        margin-bottom: 1rem !important;
        margin-top: 0 !important;
    }
    footer {
        height: 56px;
        font-size: 0.95rem;
        border-radius: 0;
    }
}

@media (min-width: 1200px) {
    main, section.container {
        max-width: 1200px;
    }
}
