/* Custom styles to match the image precisely */
body {
    font-family: 'Inter', sans-serif;
    background-color: #2F80ED; /* A deep blue background */
    color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Yellow dot pattern */
.dot-pattern-top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px; /* Adjust size as needed */
    height: 300px;
    background: radial-gradient(circle at 10% 10%, #F2C94C 2px, transparent 2px),
                radial-gradient(circle at 90% 90%, #F2C94C 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
    transform: translate(50%, -50%); /* Adjust to position off-screen slightly */
}

.dot-pattern-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px; /* Adjust size as needed */
    height: 300px;
    background: radial-gradient(circle at 10% 10%, #F2C94C 2px, transparent 2px),
                radial-gradient(circle at 90% 90%, #F2C94C 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
    transform: translate(-50%, 50%); /* Adjust to position off-screen slightly */
}

.dot-pattern-middle-right {
    position: absolute;
    top: 30%; /* Adjust vertical position */
    right: 0;
    width: 200px; /* Adjust size as needed */
    height: 200px;
    background: radial-gradient(circle at 10% 10%, #F2C94C 2px, transparent 2px),
                radial-gradient(circle at 90% 90%, #F2C94C 2px, transparent 2px);
    background-size: 15px 15px;
    opacity: 0.3;
    z-index: 0;
    transform: translate(50%, -50%);
}

.section-heading {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700; /* font-bold */
    margin-bottom: 2rem;
}

.sub-heading {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    margin-bottom: 1rem;
}

/* Specific styling for the 'Discover Mark's Work' section */
.discover-section-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .discover-section-content {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    .discover-section-content img {
        margin-right: 2rem;
    }
}

/* Roles section images */
.role-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
}

/* Project logos */
.project-logo {
    width: 100%;
    height: auto;
    max-width: 150px; /* Limit logo size */
    margin: 0 auto;
    border-radius: 0.5rem;
}

/* Adjustments for smaller screens */
@media (max-width: 767px) {
    .section-heading {
        font-size: 1.75rem; /* text-3xl for mobile */
    }
    .sub-heading {
        font-size: 1.25rem; /* text-xl for mobile */
    }
    .dot-pattern-top-right, .dot-pattern-bottom-left, .dot-pattern-middle-right {
        width: 150px;
        height: 150px;
        background-size: 10px 10px;
    }
    .profile-img {
        width: 150px;
        height: 150px;
    }
}
