:root {
    --dark-blue: #1F3A93;
    --white: #FFFFFF;
    --light-gray: #F2F2F2;
    --orange: #ffd700;
    --dark-green: #1F3A93;
    --logo-background: #201e1f;
}

•⁠  ⁠{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: var(--white);
}

header {
    margin-bottom: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

nav {
    background-color: var(--logo-background);
    padding: 10px 20px;
    position: relative;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    max-height: 70px;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.logo {
    height: 60px;
    width: auto;
    margin-right: 15px;
    border-radius: 0;
    object-fit: contain;
    display: block;
    background-color: transparent;
    padding: 0;
}

.hamburger-menu {
    display: none;
}

.hamburger-icon {
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    color: var(--white);
}

nav ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: flex-end;
    margin-left: auto;
}

nav li {
    margin: 0 20px;
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    display: block;
    padding: 10px 5px;
}

nav a:hover {
    color: #ffd700;
    transition: color 0.3s ease;
}

nav a.active {
    color: #ffd700;
}

main {
    min-height: 70vh;
    background-color: var(--white);
    padding-bottom: 20px;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.cta-button {
    display: inline-block;
    background-color: #ffd700;
    color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 15px;
}

.cta-button:hover {
    background-color: #e6c300;
    transition: background-color 0.3s ease;
}

.section {
    padding: 20px;
    margin: 20px 0;
    background-color: var(--light-gray);
    border-radius: 5px;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.section h2,
.section p {
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

.content-left {
    text-align: center;
}

.content-left p {
    text-align: center;
    margin-left: 0;
    margin-right: 0;
}

.highlight {
    color: var(--dark-green);
    font-weight: bold;
}

footer {
    margin-top: 20px;
    text-align: center;
    padding: 15px 10px;
    background-color: #201e1f;
    color: var(--white);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Mobile styles */
@media screen and (max-width: 768px) {
    nav {
        justify-content: space-between;
        padding: 10px 0;
        width: 100%;
    }
    
    .logo-container {
        width: auto;
        margin-bottom: 0;
        padding-left: 15px;
    }
    
    .hamburger-menu {
        display: block;
        padding-right: 15px;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px 0;
        margin-top: 10px;
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    nav li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    nav a {
        padding: 10px;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .logo-link {
        border-bottom: none !important;
    }
}

img[src$=".jpg"],
img[src$=".jpeg"],
img[src$=".png"] {
    min-width: 30px;
    min-height: 30px;
}

img::before {
    content: attr(alt);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    color: #666;
    font-size: 12px;
    padding: 5px;
    text-align: center;
    border: 1px dashed #999;
}

/* Slideshow styles */
.slideshow-container {
    position: relative;
    width: 100vw;
    margin: 0;
    margin-bottom: 30px;
    height: 80vh;
    max-height: 700px;
    min-height: 500px;
    overflow: hidden;
    border-radius: 0;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    color: var(--white);
}

.slideshow-overlay h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.slideshow-overlay p {
    font-size: 1.4rem;
    margin-bottom: 25px;
    max-width: 700px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Animation for fading slides */
@keyframes fade {
    0% {
        opacity: 0;
    }
    16% {
        opacity: 1;
    }
    20% {
        opacity: 1;
    }
    36% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.slide:nth-child(1) {
    animation: fade 25s infinite;
}

.slide:nth-child(2) {
    animation: fade 25s infinite 5s;
}

.slide:nth-child(3) {
    animation: fade 25s infinite 10s;
}

.slide:nth-child(4) {
    animation: fade 25s infinite 15s;
}

.slide:nth-child(5) {
    animation: fade 25s infinite 20s;
}

@media screen and (max-width: 768px) {
    .slideshow-container {
        height: 60vh;
        min-height: 300px;
    }
    
    .slideshow-overlay h1 {
        font-size: 1.8rem;
    }
    
    .slideshow-overlay p {
        font-size: 1rem;
    }
}

/* Content split layout */
.content-split {
    display: flex;
    flex-wrap: wrap;
    margin: 60px auto;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.content-left {
    flex: 1 1 60%;
    padding-right: 40px;
}

.content-right {
    flex: 1 1 40%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    text-align: center;
}

.content-left p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.content-left strong {
    font-weight: bold;
}

.content-right h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    color: #000;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
    .content-split {
        flex-direction: column;
    }
    
    .content-left {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .content-right h2 {
        font-size: 1.8rem;
    }
}

/* Project Gallery - Circle Overlay on Desktop */
.project-gallery {
    margin: 60px auto;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.gallery-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 30px;
    justify-content: center;
}

.gallery-item {
    flex: 0 0 calc(33.33% - 20px);
    max-width: 350px;
    min-width: 280px;
    height: 220px;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid #e0e0e0;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Desktop Circle Overlay */
@media screen and (min-width: 769px) {
    .gallery-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 150px;
        height: 150px;
        background-color: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translate(-50%, -50%) scale(0);
        transition: transform 0.3s ease;
        opacity: 0;
        text-align: center;
        z-index: 2;
        box-shadow: 0 0 0 5px rgba(255, 215, 0, 0.3);
    }
    
    .gallery-item:hover .gallery-overlay {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    
    .gallery-overlay h3 {
        margin: 0 0 5px;
        font-size: 1.2rem;
        color: #333;
        font-weight: 600;
    }
    
    .gallery-overlay p {
        margin: 0;
        font-size: 0.9rem;
        color: #777;
    }
}

/* Mobile Banner Overlay */
@media screen and (max-width: 768px) {
    .gallery-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        padding: 15px;
        text-align: center;
        z-index: 2;
        border-top: 3px solid #ffd700;
    }
    
    .gallery-overlay h3 {
        margin: 0;
        font-size: 1.2rem;
        color: #333;
        font-weight: 600;
    }
    
    .gallery-overlay p {
        margin: 5px 0 0;
        font-size: 0.9rem;
        color: #777;
    }
    
    .gallery-row {
        gap: 20px;
    }
    
    .gallery-item {
        flex: 0 0 100%;
        max-width: 100%;
        height: 200px;
    }
}

/* Tablet View */
@media screen and (min-width: 769px) and (max-width: 992px) {
    .gallery-item {
        flex: 0 0 calc(50% - 15px);
    }
}