:root {
    --primary: #003366;
    --secondary: #FF9900;
    --light: #F5F5F5;
    --dark: #222222;
    --navdefault: #476485;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

.hero-section {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    color: white;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    padding: 1rem;
}

.hero-row {
    display: flex;
    flex-direction: row;
    /* Default for desktop */
}

.first-on-desktop {
    order: 1;
}

.second-on-desktop {
    order: 2;
}

.navbar {
    transition: all 0.3s ease;
}

.navbar-collapse.collapsing,
.navbar-collapse.show {
    background-color: rgba(255, 255, 255, 0.2);
    /* Semi-transparent background */
    backdrop-filter: blur(10px);
    /* Blurs the content behind the element */
    -webkit-backdrop-filter: blur(10px);
    /* Safari compatibility */
    border-radius: 10px;
    /* Optional: Add rounded corners for a softer look */
    border: 1px solid rgba(255, 255, 255, 0.3);
    /* Optional: Subtle border */
    padding-bottom: 1em;
}

.navbar.scrolled {
    background-color: var(--primary) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: white;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.project-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-box {
    padding: 30px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 50px;
    color: var(--secondary);
    margin-bottom: 20px;
}

footer {
    background-color: var(--primary);
    color: white;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card:before {
    content: '\201C';
    font-size: 100px;
    position: absolute;
    top: -30px;
    left: 10px;
    color: rgba(0, 51, 102, 0.1);
    font-family: serif;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 51, 102, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* margin-bottom: 15px; */
    color: var(--primary);
    /* font-size: 24px; */
}

.caribbean-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.caribbean-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 150px;
}

.caribbean-wave .shape-fill {
    fill: #FFFFFF;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 120px 0;
    }

    .caribbean-wave {
        display: none;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .hero-row {
        flex-direction: column;
        /* Stack elements vertically on mobile */
    }

    .first-on-desktop {
        order: 2;
        /* Move this element down on mobile */
    }

    .second-on-desktop {
        order: 1;
        /* Make this element first on mobile */
    }
}