body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

section.about-header {
    background-size: cover;
    background-position: center;
    height: 55vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    margin-top: -20px;
}

section.about-header img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    object-position: top;
}

.overlay {
    position: absolute;
    top: 0; 
    left: 0;
    right: 0;
    background-color: #00001a58;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 5em;
    font-weight: bold;
    margin-top: 200px;
}

h2 {
    font-size: 2em;
    padding-bottom: 10px;
}

p {
    font-size: 1em;
    padding: 20px;
}

/* Card styling */
.card {
    width: 40%;                 /* Reduce the width of the card */
    margin: 10px auto; 
    background-color: rgb(248, 248, 248);
    border: 1px solid #c8c8e9;
    padding: 20px;
}

.card h2 {
    font-size: 1.8em;
    font-weight: bold;
    padding-left: 30px;
}

.card ul {
    list-style-type: square;
    padding-left: 45px;
}

.card li {
    margin-bottom: 10px;
    margin-left: 10px;
    padding-bottom: 15px;

}
.icon {
    color: #4b48f2;
    padding-right: 25px;
}

/* Container for all the cards */
.cards-container {
    max-width: 85%;   /* Adjust width as needed */
    margin: 0 auto;   /* Center the container */
    padding: 20px;
    /* background-color: #ffffff; Add background if needed */
}

/* Section container for cards */
.section-container, .content-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 1px;
}

.section-container > .card, .content-container > .card {
    width: 49%;
}

/* Get in Touch Card Styling */
.contact-card-container {
    width: 98%;
    margin: 50px auto;
    padding: 20px;
    /* background-color: rgb(249, 247, 247); */
    border: 1px solid #c8c8e9;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-card {
    padding: 20px;
    width: 48%;
}

.contact-card h3 {
    margin-bottom: 20px;
    font-weight: bold;
    font-size: 1.8em;
    padding-left: 30px;
    color: black;
}

.contact-card h4 {
    margin-bottom: 20px;
    font-size: 1.3em;
    padding-left: 30px;
}

.contact-card h5 {
    margin-bottom: 20px;
    font-size: 1em;
    padding-left: 30px;
}

.contact-card p {
    font-size: 1.0em;
    margin-bottom: 20px;
    padding-left: 30px;
}

.contact-card input, .contact-card textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.contact-card button {
    padding: 10px 20px;
    background-color: #1d0a3d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.contact-card button:hover {
    background-color: #4d4bd4;
}
#custom-bullet-list {
    list-style-type: none;
}

#custom-bullet-list li {
    position: relative;
    padding-left: 25px;
}

#custom-bullet-list li:before {
    content: "";
    width: 17px;         /* Outer diameter of the circle */
    height: 17px;        /* Outer diameter of the circle */
    border: 3px solid #4b48f2;  /* Border color and thickness */
    border-radius: 50%;  /* Makes it a circle */
    display: inline-block;
    position: absolute;
    left: -10px;         /* Adjust the position of the circle */
    top: 1px;   
}


/* General Mobile Styles */
@media (max-width: 768px) {
    /* Adjust the font size for smaller screens */
    h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.5em;
    }

    /* Stack cards vertically */
    .section-container, .content-container {
        display: block;
    }
    .section-container > .card, .content-container > .card {
        width: 100%; /* Full width on mobile */
        margin-bottom: 20px;
    }

    /* Contact cards stack */
    .contact-card-container {
        width: 100%;
        display: block;
    }
    .contact-card {
        width: 100%; /* Full width on mobile */
        margin-bottom: 20px;
    }

    /* Make the form and inputs more comfortable on mobile */
    .contact-card input, .contact-card textarea {
        width: 100%;
        font-size: 1em;
    }

    /* Reduce padding and margins */
    .cards-container, .contact-card-container {
        padding: 10px;
        margin: 10px auto;
    }
}

/* Adjustments for very small screens */
@media (max-width: 480px) {
    h1 {
        font-size: 1.8em;
    }
    h2 {
        font-size: 1.2em;
    }

    .card, .contact-card {
        padding: 15px;
    }

    /* Reduce button size */
    .contact-card button {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}
