@font-face {
    font-family: 'AppleGothic';
    src: url('./applegothic.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir-Book';
    src: url('./fonts/Avenir-Book-01.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir-Medium';
    src: url('./fonts/Avenir-Medium-09.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir-Medium';
    src: url('./fonts/Avenir-MediumOblique-10.ttf') format('ttf');
    font-weight: normal;
    font-style: oblique;
}

@font-face {
    font-family: 'Avenir-Heavy';
    src: url('./fonts/Avenir-Heavy-05.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Avenir-HeavyOblique';
    src: url('./fonts/Avenir-HeavyOblique-06.ttf') format('ttf');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Avenir-Book', Arial, sans-serif;
    font-weight: normal;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    position: absolute; /* Absolute positioning */
    width: 100%; /* Full width */
    top: 0; /* Align to the top */
    z-index: 1000; /* High z-index to ensure it overlaps */
    color: #333;
}

.header-container {
    max-width: 1200px; /* Maximum width */
    margin: 0 auto; /* Center the container */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    height: 30px;
    padding-left: 20px;
    padding-top: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

nav ul li a:hover {
    color: #FDF654;
}

#hero {
    position: relative;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 0px 20px; /* Add top padding to accommodate header */
    color: black;
    background: url('./images/connect_bg.png') no-repeat center center;
    background-color: #fff;
}

.hero-container {
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    gap: 48px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center h2 and h4 */
}

.hero-container img {
    object-fit: cover;
    width: 390px;
    padding-left: 48px;
    padding-right: 48px;
}

#hero h1 {
    margin: 0;
    font-size: 40px;
    font-weight: 100;
    letter-spacing: 0.5px;
    max-width: 100%; /* Adjusted width */
    padding-left: 20px;
    padding-right: 60px;
    font-family: 'AppleGothic';
    width: 280px;
    line-height: 50px;
}

#hero h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 100;
    letter-spacing: 0.5px;
    max-width: 100%; /* Adjusted width */
    padding-left: 20px;
    padding-right: 0px;
    font-family: 'Avenir-Heavy';
    line-height: 48px;
}

#hero h4 {
    max-width: 100%;
    text-align: left;
    font-family: 'Avenir-HeavyOblique', Arial, Helvetica, sans-serif;
    font-size: 28px;
    color: #FF7300;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 30px;
}

#hero p {
    font-size: 17px;
    max-width: 80%; /* Adjusted width */
    line-height: 24px;
    padding-left: 20px;
    padding-right: 20px;
    font-family: 'Avenir-Book';
    opacity: .8;
}

.separator {
    background-color: #204062;
    height: 1px;
    opacity: .3;
}

#about, #products, #contact {
    padding: 48px 0px;
}

#about, #products {
    /* background-color: #143150; */
    background-color: #f9f9f9;
}

#products-two {
    padding: 0px 20px;
    background-color: #204355;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    color: black;
}

.content-container {
    font-family: 'Avenir-Heavy';
    font-weight: 100;
    padding-left: 20px;
    padding-right: 20px;
}

.content-container-bg {

    /* background-color: #204355; */
    /* background-color: #253239; */
    border-radius: 20px;    
}

.content-header {
    width: 100%;
    background-color: #84ACBF !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.content-container h2 {
    text-align: left;
    margin: 0;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #000;
}

.content-container h4 {
    text-align: center;
    font-family: 'Avenir-Heavy', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-style: oblique;
    /* color: #FDF654; */
    color: #FF8800;
    font-weight: 400;
    margin: 0;
}

.service {
    color: black;
    /* padding-top: 2.5rem;
    padding-bottom: 2.5rem; */
}

.service-content {
    display: flex;
    align-items: flex-start; /* Vertically centers the text */
    justify-content: space-between;
    gap: 48px;
}

.service img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
    padding: 30px 0px;
}

.service .text {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers text inside */
}

.text h2 {
    font-family: 'Avenir-Heavy';
    font-size: 32px;
    color: #2B9FD9;
    text-align: left;
    /* padding-left: 30px;
    padding-right: 30px; */
}

.text h3 {
    font-family: 'Avenir-Heavy';
    font-size: 22px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.text p {
    font-family: 'Avenir-Medium';
    line-height: 24px;
    font-size: 18px;
    opacity: .6;
    text-align: justify;
    /* padding-left: 20px;
    padding-right: 20px; */
}

#contact form {
    display: flex;
    flex-direction: column;
}

#contact form input, #contact form textarea {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1em;
}

#contact form button {
    padding: 10px;
    font-size: 1em;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 10px 0;
    background-color: #2C2C2C;
    color: white;
    font-size: 14px;
}


/* Styling for the Key Features section */
#key-features {
    padding: 48px 24px;
    /* background-color: #ECF1FE; */
    background-color: #F2F4F9;
    color: black;
}

#key-features .content-container {
    max-width: 1200px;
    margin: 0 auto;
}

#key-features h2 {
    font-family: 'Avenir-Heavy', Arial, sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: left;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 96px;
}

.feature-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 48px;
    padding: 48px;
    border: 1px solid #ddd;
    border-radius: 16px;
    box-sizing: border-box;
}

.feature-content h3 {
    font-family: 'Avenir-Heavy', Arial, sans-serif;
    font-size: 32px;
    margin: 0 0 12px 0;
}

.feature-content p {
    font-family: 'Avenir-Book', Arial, sans-serif;
    font-size: 18px;
    line-height: 24px;
    opacity: 0.7;
    margin: 0;
}


.whyChoose {
    padding-left: 0px !important;
    padding-top: 20px;
    padding-bottom: 20px;
}

.feature-header {
    flex-shrink: 0;
}

.feature-header img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.feature-header h3 {
    margin: 0; /* Remove default margin from h3 */
    font-family: 'Avenir-Heavy', Arial, sans-serif;
    font-size: 20px;
}

/* Add this to your styles.css */
.key-features-bg {
    background-color: #204355; /* Same background color as Generative AI for Software Engineering section */
    padding-top: 10px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
}


/* Media query for mobile devices */
@media (max-width: 768px) {

    #service {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #hero {
        align-items: center;
        text-align: center;
    }

    #hero h1 {
        font-size: 40px;
        width: 100%;
        max-width: 90%; /* Adjusted width */
        padding-left: 10px;
        padding-right: 10px;
        line-height: 50px;
        padding-top: 20px;
    }

    #hero h2 {
        font-size: 24px;
        line-height: normal;
        padding-top: 20px;
    }

    #hero h4 {
        font-size: 22px;
        max-width: 100%;
        text-align: center;
        position: inherit;
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    #hero p {
        font-size: 16px;
        max-width: 100%; /* Adjusted width */
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .header-container {
        justify-content: center;
    }

    .hero-container img {
        object-fit: cover;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        width: 280px;
    }

    .service-content {
        flex-direction: column;
        text-align: left;
        gap: 24px;
    }

    .service-content p {
        text-align: left;
    }

    .reverse {
        flex-direction: column-reverse; /* Change to column-reverse */
    }

    .service img, .service .text {
        max-width: 100%;
        width: 100%;
        margin-bottom: 0px;
        padding: 0px !important;
    }

    .features-grid {
        flex-direction: column;
        gap: 48px;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px;
        gap: 0;
      }

    .feature-content {
        text-align: left;
    }

    .feature-content h3 {
        font-size: 24px;
        text-align: center;
    }

    .feature-content p {
        font-size: 16px;
    }

    .feature-header {
        order: -1; /* Move image to top */
        margin-bottom: 0px;
    }

    .feature-header img {
        width: 160px;
        height: 160px;
    }

    #key-features {
        padding: 24px 12px;
    }

}
