/* Reset default spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base styles */
body {
    background-color: #EADDCA;
    color: #1A9E4D;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Header container */
.gif-header {
    position: relative;
    text-align: center;
    overflow: hidden;
}

/* The GIF itself */
.header-gif {
    width: 110%;
    height: auto;
    display: block;
}

/* Text overlay */
.header-text {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1A9E4D; /* white text */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* shadow for readability */
}

/* Text styling */
.header-text h1 {
    font-size: 3em;
    margin: 0;
}

.header-text p {
    font-size: 1.5em;
    margin-top: 10px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .header-text h1 {
        font-size: 2em;
    }

    .header-text p {
        font-size: 1em;
    }
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

nav ul li a {
    color: #D2B89E;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 200px;
    background-color: #1A9E4D; /* Your chosen nav color */
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center
}

/* Sidebar links */
.sidebar a {
    display: block;
    color: #EADDCA; /* Your text color */
    padding: 15px 10px;
    text-decoration: none;
    font-size: 18px;
    width: 100%;
    text-align: center;
    transition: background 0.3s;
}

/* Hover effect */
.sidebar a:hover {
    background-color: #87a8c5;
}

/* Main content area */
.main-content {
    margin-left: 220px; /* Make space for sidebar */
    padding: 40px;
    background-color: #D2B89E;
    color: #9EB8D3;
    min-height: 100vh;
}


/* Section Styles */
section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Project Cards */
.project {
    background-color: #ffffff33; /* semi-transparent white for contrast */
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #9EB8D3;
}

.project img {
    width: 100%;
    border-radius: 8px;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input,
textarea,
button {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 1em;
}

input,
textarea {
    background-color: #f5f5f5;
    color: #333;
}

button {
    background-color: #0047AB;
    color: #D2B89E;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    background-color: #87a8c5;
}

/* Footer */
footer {
    background-color: #1A9E4D;
    color: #EADDCA;
    text-align: center;
    padding: 15px 0;
}
/* Sidebar styles */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 200px;
    background-color: #9EB8D3; /* Your chosen nav color */
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sidebar links */
.sidebar a {
    display: block;
    color: #D2B89E; /* Your text color */
    padding: 15px 10px;
    text-decoration: none;
    font-size: 18px;
    width: 100%;
    text-align: center;
    transition: background 0.3s;
}

/* Hover effect */
.sidebar a:hover {
    background-color: #87a8c5;
}

/* Main content area (PDF viewer) */
#pdf-viewer {
    margin-left: 220px; /* Move it right to avoid sidebar */
    padding: 20px;
    background-color: #fff;
    margin: 220px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* PDF iframe */
#pdf-frame {
    border: none;
    width: 100%;
    height: 750px; /* Adjust height as needed */
}