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

:root {
    --blank: #d6d6d6;
    --secondary: #220080 --outline: #0f5c28;
    --header: #ffffff;
    --text: #000000;
}

body {
    font-family: Dubai, sans-serif;
    color: #000000;
    overflow-x: hidden;
    min-height: 100dvh;
    background: var(--blank);
    margin: 0;
}

@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;
    /* adjust as needed */
    background: var(--blank);
    /* dark gray */
    z-index: -1;
}

/* Fixed green border */
.screen-border {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    border: 8px solid;
    border-color: var(--outline);
    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: 10px solid var(--blank);
        z-index: 9999;
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 90px;
    background: var(--header);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    transition: height 0.3s ease, padding 0.3s ease;
    background: linear-gradient(#ffffff, #b5b5b5);
    border-bottom: 4px solid #7a7a7a;
}

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

header.shrink a {
    font-size: 0.8rem;
    transition: 0.3s ease;
}

header.shrink .initial{
    font-size: 1.4rem;
    transition: 0.3s ease;
}

header.shrink .logo {
    font-size: 1rem;
    transition: 0.3s ease
}

header.shrink .logo img{
    width: 45px;
    transition: 0.3s ease
}

header.shrink nav a{
    padding: 19px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 1.5rem;
    color: #080808;
    font-style: italic;
    user-select: none;
    background: none;
    line-height: 0.9;
    transition: 0.3s ease;
    font-family: "Arial";
    font-weight: 600;
    text-decoration: none;
}

.logo a {
    text-decoration: none;
}

.initial {
    font-size: 1.9rem;
    transition: 0.3s ease;
}

.logo img {
    width: 65px;
    object-fit: contain;
    -webkit-user-drag: none;
    transition: 0.3s ease;
}

nav {
    display: flex;
}

nav a {
    color: #121212;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease;
    padding: 31px 20px;
}



nav a:hover {
    background: rgb(196, 196, 196, 0.2);
}

/* Hero Section */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.background-image {
    position: absolute;
    inset: 0;
    background-image: url("/images/background.png");
    background-size: fill;
    background-position: center;
    transform: translateY(0px);
    z-index: -1;
    filter: brightness(1.4);
    opacity: 30%;
}

/*lines*/
.accent-line {
    position: absolute;
    width: 100vw;
    height: 40px;
    z-index: 1;
}

.top {
    position: fixed;   /* stays on screen */
    top: 90px;
    left: -30vw;
    background: #ee111a;
    transform: skewX(-30deg);
    transition: top 0.3s ease;
}

header.shrink ~ .top {
    top: 60px;    
    transition: top 0.3s ease;
}

.bottom {
    bottom: 10vh;
    right: -30vw;
    transform: skewX(-30deg);
    background: #00005f;
}

body.scrolled .top {
    transform: translateX(-120%) skewX(-30deg);
}

body.scrolled .bottom {
    transform: translateX(120%) skewX(-30deg);
}


.hero-text {
    color: #121212;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    text-shadow: 0 0 50px rgba(0,0,0,0.4);
    font-weight: 300;
}

.hero-text h1 {
    font-size: 6rem;
    line-height: 0.9;
    font-weight: bold;
    font-style: italic;
}

.initial2{
    font-size: 7rem;
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 3rem;
        
        .initial2{
            font-size: 4rem;
        }
    }
}

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

/* Content */
.content {
    border-top: 8px solid #262626;
    background: rgba(10, 10, 10, .95);
    padding: 20px 10%;
    color: #d6d6d6;
    margin-top: 80px;
}

.card {
    margin-bottom: 40px;
}

.card h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Contact */
.contact {
    padding: 20px 10%;
    background: rgba(10, 10, 10, 0.95);
    line-height: 0.9;
}

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

.contact p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 20px;
    padding: 0 10px;
    text-decoration: none;
}

.contact-links {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
}

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

contact-links p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 10px;
    text-decoration: none;
}



.carousel-section {
    text-align: center;
    padding: 80px 10%;
}

.carousel {
    position: relative;
    max-width: 700px;
    margin: auto;
}

.carousel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #0f5c28;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .6);
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: .25s;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, .2);
}

.prev {
    left: 15px;
}

.next {
    right: 15px;
}

.services-gallery {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 50px;
    padding: 80px 10%;
}

.gallery-side {
    flex: 1;
    max-width: 500px;
}

.services-side {
    flex: 1;
}

@media (max-width: 768px) {

    .services-gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery-side,
    .services-side {
        width: 100%;
        max-width: 100%;
    }
}

.services-gallery {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* push everything left */
    gap: 40px;
    padding: 80px 10%;
    max-width: 1200px;
}

/* Footer */
footer {
    background: #0d0d0d;
    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: 0.9rem;
}



/* -- articles --*/
#article-list{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.article-card{
    display:flex;
    gap:20px;

    background:#fff;
    border-radius:12px;
    overflow:hidden;

    box-shadow:0 5px 15px rgba(0,0,0,.15);
}

.article-card img{
    width:220px;
    height:150px;
    object-fit:cover;
}

.article-info{
    padding:20px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.article-info h3{
    margin-bottom:10px;
}

.meta{
    color:gray;
    margin:8px 0;
}

/* =========================
   ARTICLE PAGE
========================= */

.article-page {
    max-width: 950px;
    margin: 140px auto 80px;
    padding: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

/* Article top section */
.article-header {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

/* Small article image */
.article-page .img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    flex-shrink: 0;
}

/* Title + information */
.article-info {
    flex: 1;
}

.article-info h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
}

.article-description {
    font-size: 1.2rem;
    opacity: .8;
}

.article-meta {
    margin-top: 25px;
    font-size: .95rem;
    opacity: .65;
}


/* Article text */

.article-content {
    margin-top: 35px;
    font-size: 1.1rem;
    line-height: 1.9;
}


/* Author */
.article-page > p:last-child {
    margin-top: 40px;
    font-size: 0.95rem;
    opacity: 0.7;
}


/* Links inside articles */

.article-content a {
    color: #4da6ff;
    text-decoration: none;
}


.article-content a:hover {
    text-decoration: underline;
}


/* Mobile */

@media(max-width:700px){
	
    .article-header {
        flex-direction: column;
        text-align: center;
    }

    .article-page .img {
        width: 200px;
        height: 200px;
    }
    
    .article-page {
        margin: 100px 15px 50px;
        padding: 25px;
    }


    .article-page h1 {
        font-size: 2rem;
    }


    .article-content {
        font-size: 1rem;
    }

}


.article-content h1,
.article-content h2,
.article-content h3 {
    margin-top: 35px;
    margin-bottom: 15px;
}


.article-content p {
    margin: 20px 0;
}


.article-content strong,
.article-content b {
    font-weight: 700;
}


.article-content ul {
    margin: 20px;
}


.article-content li {
    margin: 10px 0;
}


.article-content blockquote {
    border-left: 4px solid #4da6ff;
    padding-left: 20px;
    opacity: .8;
    font-style: italic;
}
