: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);
    width: 100%;
    overflow-x: hidden;
    text-align: center;
}

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-link {
    display: block;
    text-decoration: none;
}

.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;
}

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

.main-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

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

.cta-button {
    display: inline-block;
    background-color: var(--orange);
    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;
}

.highlight {
    color: #1F3A93;
    font-weight: bold;
}

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

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

.service-areas {
    margin-bottom: 30px;
}

.service-areas h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: bold;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px 15px;
    margin: 0 auto;
    max-width: 1000px;
    margin-bottom: 25px;
}

.city-link {
    color: #e0e0e0;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 0.95em;
    display: block;
    text-align: center;
    border: 1px solid transparent;
}

.city-link:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.view-all-cities {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--orange);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    padding: 12px 25px;
    border: 2px solid var(--orange);
    border-radius: 25px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.view-all-link:hover {
    background-color: var(--orange);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 215, 0, 0.3);
}

.view-all-link i {
    font-size: 1em;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
    color: #ccc;
}

/* 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;
    }
    
    .slideshow-controls {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        pointer-events: none;
    }
    
    .prev-slide, .next-slide {
        width: 40px;
        height: 40px;
        background-color: rgba(0, 0, 0, 0.75);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1rem;
        pointer-events: auto;
        z-index: 20;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        transition: all 0.2s ease;
    }
    
    .prev-slide {
        margin-left: 10px;
    }
    
    .next-slide {
        margin-right: 10px;
    }
    
    .prev-slide:active, .next-slide:active {
        transform: scale(0.95);
        background-color: #ffd700;
    }
    
    .mobile-card {
        transition: transform 0.3s ease;
        transform: scale(0.98);
        will-change: transform;
    }
    
    .mobile-card:active {
        transform: scale(0.96);
    }
    
    .mobile-card .project-info {
        transition: background-color 0.3s ease;
    }
    
    .mobile-card:active .project-info {
        background-color: rgba(0, 0, 0, 0.9);
    }
    
    .project-image img {
        transition: transform 0.5s ease-out;
    }
    
    .mobile-card:active .project-image img {
        transform: scale(1.03);
    }
    
    /* Make sure pagination is easy to tap on mobile */
    .project-pagination {
        padding: 10px 0;
    }
    
    .project-pagination span {
        position: relative;
    }
    
    .project-pagination span::after {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        width: calc(100% + 16px);
        height: calc(100% + 16px);
        z-index: 1;
    }
    
    /* Footer mobile styles */
    footer {
        padding: 20px 10px 15px;
    }
    
    .service-areas h3 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }
    
    .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 8px 10px;
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .city-link {
        padding: 10px 8px;
        font-size: 0.9em;
    }
    
    .view-all-cities {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .view-all-link {
        font-size: 1em;
        padding: 10px 20px;
        gap: 6px;
    }
}

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;
    height: 80vh;
    max-height: 700px;
    min-height: 500px;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 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;
    width: 90%;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.slideshow-overlay .cta-button {
    background-color: #ffd700; /* Gold color to match logo */
    color: #000; /* Black text for better contrast */
    font-weight: bold;
    padding: 12px 25px;
    font-size: 1.2rem;
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
}

.slideshow-overlay .cta-button:hover {
    background-color: transparent;
    color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

/* Featured Box */
.featured-box {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    margin: 0 0 30px 0;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out forwards;
    border: none;
    border-radius: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-shadow: none;
    margin-top: 0;
}

.featured-box-inner {
    width: 100%;
    margin: 0;
    padding: 20px 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(50, 50, 50, 0.2) 0%, rgba(0, 0, 0, 0) 50%);
    pointer-events: none;
    animation: shine 3s infinite alternate;
}

@keyframes shine {
    from {
        background-position: -200% 0;
    }
    to {
        background-position: 200% 0;
    }
}

.featured-box h2 {
    color: #ffd700; /* Gold color */
    font-size: 2.5rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: inline-block;
    transition: transform 0.3s ease;
}

.featured-box h2.zoom-in {
    animation: zoomIn 0.5s forwards;
}

.featured-box h2.zoom-out {
    animation: zoomOut 0.5s forwards;
}

.featured-box h3 {
    color: #fff;
    font-size: 1.6rem;
    margin-bottom: 20px;
    font-weight: 300;
    letter-spacing: 1px;
    font-style: italic;
}

.featured-box p {
    font-size: 1.3rem;
    line-height: 1.6;
    width: 90%;
    margin: 0 auto;
    color: #fff;
}

/* Animation for header */
@keyframes zoomIn {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.15);
    }
}

@keyframes zoomOut {
    from {
        transform: scale(1.15);
    }
    to {
        transform: scale(1);
    }
}

/* Split Section */
.split-section {
    display: flex;
    margin-bottom: 0;
    background-color: #f9f9f9;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.split-image {
    flex: 1;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.split-image:hover .service-image {
    transform: scale(1.05);
}

.split-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.split-content h2 {
    color: var(--dark-blue);
    margin-bottom: 25px;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.split-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--orange);
}

.services-list {
    list-style: none;
    margin-bottom: 30px;
}

.services-list li {
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.services-list i {
    color: #1F3A93;
    margin-right: 10px;
    font-size: 1rem;
}

@media screen and (max-width: 768px) {
    .split-section {
        flex-direction: column;
        width: 100%;
        margin: 0;
    }
    
    .split-image {
        min-height: 250px;
        position: relative;
        width: 100%;
    }
    
    .split-content {
        padding: 30px 15px;
        width: 100%;
    }
}

/* Video Background Section */
.video-background-section {
    width: 100%;
    margin: 60px 0 0 0;
    overflow: hidden;
    position: relative;
}

.video-background {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #000;
}

.video-background video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    border: none;
    z-index: 0;
    display: block;
}

.video-background iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border: none;
    z-index: 0;
    display: block;
}

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

.video-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--orange);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-overlay p {
    font-size: 1.2rem;
    width: 90%;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

@media screen and (max-width: 768px) {
    .video-background {
        height: 300px;
        width: 100%;
    }
    
    .video-background-section {
        width: 100%;
        margin: 0;
    }
    
    .video-overlay h2 {
        font-size: 1.8rem;
    }
    
    .video-overlay p {
        font-size: 1rem;
        width: 95%;
        display: none; /* Hide the paragraph on mobile */
    }
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-600 {
    transition-delay: 0.6s;
}

/* Scroll animations for services list */
.services-list li.scroll-animate {
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.split-section .scroll-animate {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.split-section .scroll-animate.active {
    opacity: 1;
    transform: translateX(0);
}

/* Projects Showcase Section */
.projects-showcase {
    padding: 40px 0;
    width: 100%;
    margin: 0;
    text-align: center;
    position: relative;
}

.section-title {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Project Card Links */
.project-card-link {
    flex: 1;
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: transform 0.3s ease;
}

.project-card-link:hover {
    transform: translateY(-5px);
}

.project-card-link:hover .project-image img {
    transform: scale(1.05);
}

.project-card-link:hover .project-info {
    background: rgba(0, 0, 0, 0.85);
}

/* Mobile Projects - Hidden on Desktop */
.mobile-projects {
    display: none;
}

/* Hide mobile-only slides on desktop */
.mobile-only-slide {
    display: none;
}

/* Hide on mobile class */
.hide-on-mobile {
    display: block;
}



/* Carousel Slideshow */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    position: relative;
}

.carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

.project-grid {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 0;
}

.project-card {
    flex: 1;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    height: 280px;
}

.project-image {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: left;
}

.project-info h3 {
    margin: 0;
    font-size: 1.2rem;
}

.project-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Carousel Navigation - Hidden on Desktop */
.carousel-nav {
    display: none;
}

.carousel-button {
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.carousel-button:hover {
    background-color: #ffd700;
}

/* Carousel Indicators - Hidden on Desktop */
.carousel-indicators {
    display: none;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator.active {
    background-color: #ffd700;
    transform: scale(1.2);
}

.project-button-container {
    margin-top: 30px;
}

.cta-button.dark {
    background-color: #222;
    padding: 12px 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button.dark:hover {
    background-color: #000;
    transform: translateY(-3px);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .projects-showcase {
        padding: 30px 0;
        width: 100%;
        margin: 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }
    
    .carousel-container {
        margin: 0;
        width: 100%;
    }
    
    .project-grid {
        display: block;
    }
    
    /* Show mobile projects on small screens */
    .mobile-projects {
        display: block;
    }
    
    .carousel-slide {
        display: block;
    }
    
    .project-card {
        width: 100%;
        height: 350px;
        margin-bottom: 0;
        border-radius: 0;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }
    
    .project-image {
        height: 350px;
    }
    
    .project-info {
        padding: 20px;
        background: rgba(0, 0, 0, 0.75);
    }
    
    .project-info h3 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }
    
    .project-info p {
        font-size: 1.1rem;
    }
    
    /* Show carousel navigation on mobile */
    .carousel-nav {
        display: flex;
        position: absolute;
        top: 50%;
        width: 100%;
        transform: translateY(-50%);
        left: 0;
        justify-content: space-between;
        padding: 0 20px;
        box-sizing: border-box;
        z-index: 10;
        pointer-events: none;
    }
    
    .carousel-button {
        display: flex;
        pointer-events: auto;
    }
    
    .carousel-indicators {
        display: flex;
        justify-content: center;
        margin: 20px 0;
    }
    
    .cta-button.dark {
        padding: 12px 25px;
        font-size: 1.1rem;
        margin-top: 20px;
    }
    
    /* Show mobile slides */
    .mobile-only-slide {
        display: block;
    }
    
    /* Hide desktop-only elements */
    .hide-on-mobile {
        display: none;
    }
    
    .project-grid {
        display: block;
    }
    

}

.section-header h2 {
    font-size: 2.5rem;
    color: #1F3A93;
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: #1F3A93;
    margin: 0 auto;
}

.features-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1F3A93;
}