/* Color Palette from Style Guide */
:root {
    --mint: #D8F2D5;
    --forest-green: #1F4E23;
    --teal: #38A29D;
    --calico-orange: #EFA63C;
    --charcoal: #231F20;
    --cream: #F5EADA;
    --white: #FFFFFF;

    /* Rainbow colors (faint/transparent) */
    --rainbow-red: rgba(255, 99, 71, 0.3);
    --rainbow-orange: rgba(255, 165, 0, 0.3);
    --rainbow-yellow: rgba(255, 215, 0, 0.3);
    --rainbow-green: rgba(50, 205, 50, 0.3);
    --rainbow-blue: rgba(135, 206, 250, 0.3);
    --rainbow-purple: rgba(147, 112, 219, 0.3);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--white);
}

/* Header */
header {
    background-color: var(--teal);
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

nav > * {
    position: relative;
    z-index: 2;
}

.logo {
    height: 60px;
    width: auto;
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0;
}

h2 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 2rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h3 {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--forest-green);
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Main Container */
main {
    min-height: auto;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--mint) 100%);
    background-image: url('assets/mountain-background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(216, 242, 213, 0.95) 100%);
    pointer-events: none;
    z-index: 0;
}

.intro-section {
    max-width: 1100px;
    margin: 0 auto 4rem;
    padding: 2rem;
    color: var(--charcoal);
    text-align: left;
    position: relative;
    z-index: 1;
}

.intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.intro-section p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.intro-section p:last-child {
    margin-bottom: 0;
}

.intro-section li {
     font-size: 1.25rem;
    list-style: none;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.intro-section li::before {
    content: "☑";
    position: absolute;
    left: 0;
    color: var(--teal);
    font-size: 1.25rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Service Boxes */
.service-box {
    width: 100%;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px dashed;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s ease;
}

.service-box:hover {
    transform: scale(1.025);
}

.service-box h3 {
    font-size: 1.44rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-box ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 2;
}

.service-box li {
    padding: 0.4rem 0;
    font-size: 1.04rem;
    color: var(--charcoal);
    line-height: 1.4;
}

.service-box li::before {
    content: "• ";
    color: var(--teal);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Rainbow colored boxes with background images */
.box-1 {
    border-color: var(--rainbow-red);
    background-color: #FFD1DC;
    background-image: url('assets/business-team.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.box-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 209, 220, 0.80);
    pointer-events: none;
}

.box-2 {
    border-color: var(--rainbow-orange);
    background-color: #FFDAB9;
    background-image: url('assets/governance-documents.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.box-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 218, 185, 0.80);
    pointer-events: none;
}

.box-3 {
    border-color: var(--rainbow-yellow);
    background-color: #FFFACD;
    background-image: url('assets/platform-architecture.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.box-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 250, 205, 0.70);
    pointer-events: none;
}

.box-4 {
    border-color: var(--rainbow-green);
    background-color: #D4F1D4;
    background-image: url('assets/data-analytics.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.box-4::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(212, 241, 212, 0.85);
    pointer-events: none;
}

.box-5 {
    border-color: var(--rainbow-blue);
    background-color: #B0E0E6;
    background-image: url('assets/security-network.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.box-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(176, 224, 230, 0.75);
    pointer-events: none;
}

.box-6 {
    border-color: var(--rainbow-purple);
    background-color: #DDA0DD;
    background-image: url('assets/operations-gears.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.box-6::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(235, 186, 235, 0.85);
    pointer-events: none;
}

/* Footer */
footer {
    background-color: var(--teal);
    color: var(--white);
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.footer-section h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--mint);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--mint);
}

.footer-bottom {
    background-color: var(--charcoal);
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--cream);
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .intro-section {
        padding: 1.5rem;
    }

    .intro-section h2 {
        font-size: 1.5rem;
    }

    .intro-section p {
        font-size: 0.95rem;
    }

    .container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }

    .service-box {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Google Meeting Center Positioning */
.google-meeting {
    grid-column: 2;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}
