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

:root {
    --blank: #000000;
    --secondary: #14004d --outline: #0f5c28;
    --header: #0041e6;
    --text: #ffffff;
}

body {
    font-family: gothic, sans-serif;
    color: #fff;
    overflow-x: hidden;
    min-height: 100dvh;
    background: #000000;
    margin: 0;


    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    padding-top: 60px;
}

@font-face {
    font-family: "gothic";
    src: url("/fonts/gothic.woff") format("woff");
    font-weight: 300;
}

@font-face {
    font-family: "Dubai";
    src: url("/fonts/Dubai-Light.woff2") format("woff2");
    font-weight: 300;
}

@font-face {
    font-family: "Dubai";
    src: url("/fonts/Dubai-Regular.woff2") format("woff2");
    font-weight: 400;
}

@font-face {
    font-family: "Dubai";
    src: url("/fonts/Dubai-Medium.woff2") format("woff2");
    font-weight: 500;
}

@font-face {
    font-family: "Dubai";
    src: url("/fonts/Dubai-Bold.woff2") format("woff2");
    font-weight: 700;
}

/* Bottom cover */
.screen-border::after {
    content: "";
    position: fixed;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: -11px;
    background: #0f5c28;
    z-index: -1;
}

/* Fixed green border */
.screen-border {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    border: 8px solid;
    border-color: #0f5c28;
    background: rgba(0, 0, 0, 0.01);
    pointer-events: none;
    z-index: 9999;
}

@media (max-width: 768px) {
    .screen-border::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 10px;
        /* adjust as needed */
        background-color: var(--outline);
        /* dark gray */
        z-index: -1;
    }

    .screen-border {
        border-top: 8px solid #0f5c28;
        z-index: 9999;
    }
}


.background-image,
.hero-text,
.hero-banner {
    will-change: transform;
}


/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 10%;
    background: linear-gradient(#1c1c1c), #1c1c1c;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    transition: height 0.3s ease, padding 0.3s ease;
}


header.shrink {
    height: 6%;
    padding: 0 20px;
}

header.shrink a {
    font-size: 0.7rem;
    transition: 0.3s ease;
}

.logo img {
    width: clamp(150px, 18vw, 220px);
    height: auto;
    display: block;
    user-select: none;
    transition: width 0.3s ease;
    margin-top: 5px;
}

header.shrink .logo img {
    width: clamp(100px, 12vw, 150px);
    transition: width 0.3s ease;
}


nav {
    display: flex;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 23px 10px;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.background-image {
    position: absolute;
    inset: 0;
    background-image: url(" /images/background-2.webp");
    background-size: cover;
    background-position: center;
    transform: translateY(0px);
    z-index: -1;
    filter: brightness(1);
}

.hero-text {
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.86);
}

.hero-banner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    background: rgb(142, 127, 26, 0.50);
    padding: 35px 0;
    z-index: -1;
    display: flex;
    justify-content: center;
}

.hero-text h1 {
    color: #fcfab9;
    font-size: 4.5rem;
    line-height: 0.9;
    font-weight: 300;
    letter-spacing: 14px;
}

.hero-text p {
    margin-top: 20px;
    font-size: 1.5rem;
    letter-spacing: 3px;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
        letter-spacing: 8px;
    }
    
    .hero-text p {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}



/* Content */
.content {
    background: rgb(10, 10, 10, .95);
    padding: 80px 10%;
    color: var(--text);
}

.card {
    margin-bottom: 40px;
    min-width: 30%;
}

.card h2 {
    color: #fcfab9;
    font-size: clamp(1rem, 6vw, 2.5rem);
    margin-bottom: 10px;
    letter-spacing: clamp(1px, 2vw, 5px);
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.card p{
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    line-height: 1.8;    
    margin-bottom: 10px;
}

 .card ul {
    margin-left: 20px;
    font-size: clamp(0.9rem, 3vw, 1.3rem);
    line-height: 1.8;    
    margin-bottom: 10px;
}

.contact-links {
    display: block;
    justify-content: left;
    flex-wrap: wrap;
    color: #d1d1d1;
    margin-bottom: 10px;
    text-decoration: none;
}

.link {
    text-decoration: none;
    font-weight: 600;
    color: #2e93ff;
}



.service-item {
    margin: 18px 0;          /* vertical spacing */
    font-size: 1.2rem;
    transition: 0.35s;
    color: white;
    overflow: hidden
}

.service-item.active h3{
    color: #ffffff;
    text-shadow:
        0 0 6px #00ff00,
        0 0 12px #00ff00;
    /*transform: translateX(8px);*/
    transform: scale(1.05);
    transition: 0.3s ease;
}



.service-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.service-header:hover {
    opacity: 0.8;
}

.service-header h3 {
    margin: 0;
}

.service-btn {
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
    width: 35px;    
    transform: rotate(90deg);
    transition: transform 0.3s ease;
    color: #616161;
}

.service-item p {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    margin-left: 35px;
    color: #ccc;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.45s ease, opacity 0.3s ease, transform 0.45s ease;
}

.service-item.active p {
    opacity: 1;
    transform: translateY(0);
}

.service-item.active .service-btn {
    transform: rotate(180deg);
}



/* Footer */
footer {
    background: #1c1c1c;
    border-top: 8px solid #0f5c28;
    padding: 40px 10% 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    /* stacks sections */
    align-items: center;
    /* centers everything */
    gap: 30px;
}

.footer-section {
    display: flex;
    align-items: center;
    /* center text inside each section */
    gap: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.25s ease;
    padding: 0 10px;
}

.footer-section a:hover {
    opacity: 0.7;
    transform: scale(1.1);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #888;
    font-size: clamp(0.5rem, 2vw, 0.9rem);
}