* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)),
        url("images/Apex.Point.SOP.Office.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-color: black;
    color: rgb(71, 64, 64);
    font-family: Arial, sans-serif;
    min-height: 100vh;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;

    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;

}

ul {
    margin-bottom: 20px;
}





.container {
    display: flex;
    flex-direction: row;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}













.company-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}


.menu {
    display: flex;
    gap: 25px;
    margin-right: auto;
    align-items: center;
    margin-left: 30px;
}

.menu a {
    color: black;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.2s ease;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #519E45;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.menu a:hover {
    color: #519E45;
}

.menu a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


.about-section {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    max-width: 1200px;
    margin: 80px auto 0 auto;
    padding: 50px 40px;
    padding-bottom: 100px;
}

.about-section-contact {
    display: flex;
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 90px 40px;
}

.header-logo {
    width: 100%;
    height: auto;
}

.about-logo {
    flex: 0 0 35%;
    display: flex;
    justify-content: center;
}

.about-logo img {
    width: 440px;
    height: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: none;
}

.about-logo img.fade-in-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 3s cubic-bezier(0.4, 0, 0.2, 1), transform 3s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.8;
    color: #40476b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    padding-bottom: 120px;
    padding-top: 60px;
}

.about-content h1 {
    margin-top: 0;
}

.about-content p {
    margin-bottom: 30px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.contact-table {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    border-collapse: collapse;
}

.contact-table td {
    padding: 10px 6px;
}

.contact-table td:first-child {
    width: 100%;
    max-width: 600px;
}

.contact-table input,
.contact-table textarea {
    width: 100%;
    max-width: 300px;
    padding: 8px;
    background-color: black;
    border: 1px solid black;
    color: white;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.contact-table input:focus,
.contact-table textarea:focus {
    outline: none;
    border-color: #00d49f;
    box-shadow: 0 0 8px rgba(0, 212, 141, 0.4);
}

.submit-btn {
    text-decoration: none;
    padding: 14px 28px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    top: 0;
    color: #222;
    border: 1px solid #999;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(to bottom,
            #ffffff 0%,
            #e1e1e1 40%,
            #a1a1a1 50%,
            #e1e1e1 60%,
            #ffffff 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 5px 0 #777777,
        0 8px 10px rgba(0, 0, 0, 0.4);
}

.submit-btn:hover {
    color: white;
    border-color: #3e8e41;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);

    background: linear-gradient(to bottom,
            #a2e8a5 0%,
            #66cc6b 40%,
            #4CAF50 50%,
            #3e8e41 60%,
            #8ce08f 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 5px 0 #2d6a30,
        0 8px 10px rgba(0, 0, 0, 0.4);
}

.submit-btn:active {
    top: 4px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 1px 0 #2d6a30,
        0 2px 4px rgba(0, 0, 0, 0.4);
}


@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }

    .about-section,
    .about-section-contact {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }

    .about-logo img {
        width: 100%;
        max-width: 300px;
    }

    .contact-table,
    .contact-table tbody,
    .contact-table tr,
    .contact-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-table td {
        padding: 6px 0;
    }

    .contact-table td:first-child {
        width: 100%;
        font-weight: bold;
        margin-top: 10px;
    }
}



@keyframes softFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.linkedin-link {
    margin-right: 8px;
    font-size: 24px;
    color: #0077b5;
    text-decoration: none;
}

.linkedin-link:hover {
    color: #4CAF50;
}

.Instagram-Link {
    margin-right: 8px;
    font-size: 24px;
    color: #E1306C;
    text-decoration: none;
}

.Instagram-Link:hover {
    color: #4CAF50;
}


.mitch-contact:hover {
    color: #4CAF50;
}



.services-img,
.about-img,
.contact-img {
    display: block;
    max-width: 100%;
    height: auto;
}

.services-img {
    max-height: 600px;
}

.about-img {
    max-height: 600px;
}

.contact-img {
    max-height: 600px;
}

#contactForm {
    width: 100%;
    margin-top: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid black;
    border-radius: 4px;
    background: black;
    color: white;
    font-size: 1rem;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ==========================
   Hamburger Menu
========================== */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}


/* Mobile Navigation */
@media (max-width: 768px) {

    header {
        justify-content: flex-end;
    }


    .hamburger {
        display: flex;
    }


    .menu {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;

        padding: 30px 0;

        background: rgba(255, 255, 255, 0.95);

        transform: translateY(-150%);
        transition: transform 0.4s ease;

        margin: 0;
    }


    .menu.active {
        transform: translateY(0);
    }


    .menu a {
        font-size: 1.1rem;
    }



    /* Hamburger animation */

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

}