@font-face {
    font-family: 'SourceSansPro';
    src: url('Font/._SourceSansPro-Regular.otf') format('otf');
}

body {
    font-family: 'SourceSansPro';
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}

h1, h2 {
    color: #000000;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.contact-info, .team {
    margin-top: 20px;
}

.hero {
    position: relative;
    text-align: center;
    color: white;
}

    .hero img {
        width: 100%;
        height: auto;
        display: block;
    }

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px;
    max-width: 80%;
    text-align: center;
    color: white;
}

    .hero-text h1 {
        font-size: 56px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #FFFF;
    }

    .hero-text p {
        font-size: 32px;
        color: #FFFF;
        text-shadow: 4px 1px 2px black;
    }

.SectionGroup {
    display: flex;
    margin-top: 30px;
}

.section-left {
    width: 35%;
    font-size: 28px;
    margin-left: 150px;
}

    .section-left h2 {
        font-weight: 400;
        margin: 0;
    }

.section-right {
    width: 65%;
}

    .section-right p {
        max-width: 75%;
        font-size: 20px;
    }

.team-left {
    width: 35%;
    font-size: 28px;
}

    .team-left h2 {
        font-weight: 400;
        margin: 0;
        max-width: 65%;
        margin-left: 150px;
    }

.team {
    width: 65%;
    display: flex;
    flex-wrap: wrap;
}

.Teampic {
    margin-left: 90px;
    margin-bottom: 40px;
}

    .Teampic p {
        font-size: 17.5px;
    }

.ContactSection {
    display: flex;
    margin-top: 30px;
    background-color: grey;
    padding-top: 70px;
    padding-bottom: 70px;
    color: #FFFF !important;
}

.Contact-left {
    width: 35%;
    font-size: 28px;
}

    .Contact-left h2 {
        color: #FFFF !important;
        font-weight: 400;
        margin: 0;
        max-width: 65%;
        margin-left: 150px;
    }

.ContactInfo {
    width: 65%;
    margin-left: 150px;
    font-size: 17.5px;
}

    .ContactInfo a {
        color: white;
    }

.emails {
    display: grid;
    margin-bottom: 20px;
}
.emails p{
    margin:0;
}

.Address p {
    margin: 0;
}
.line {
    border: white 1px solid;
    width: 100px;
    margin-bottom:20px;
}

.Webpic {
    max-width: 200px;
    margin-left: 120px;
}

/* Responsive Styling */
@media (max-width: 992px) {
    .SectionGroup,
    .ContactSection,
    .team {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-left,
    .team-left,
    .Contact-left {
        width: 100%;
        margin-left: 0;
        margin-bottom: 20px;
    }

    .section-right,
    .ContactInfo,
    .team {
        width: 100%;
        margin-left: 0;
        padding: 0 20px;
    }

    .hero-text h1 {
        font-size: 17.5px;
        white-space: normal;
    }

    .hero-text p {
        font-size: 9.5px;
    }

    .section-right p {
        font-size: 14.5px;
        max-width: 100%;
    }

    .Teampic {
        margin-left: 0;
    }

    .Webpic {
        margin-left: 0;
        margin-bottom: 20px;
    }

    .hero-text {
        min-width: 100%;
    }

    .team-left h2 {
        margin-left: 0px;
        max-width: 100%;
    }

    .team-left {
        text-align:center
    }

    .Contact-left h2 {
        margin-left: 0px;
        max-width: 100%;
    }

    .Contact-left {
        text-align: center
    }
    .line {
        margin-left: auto;
        margin-right: auto;
    }
}
