/* Base Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Section Styles */
.welcome-section {
    width: 100%;
    padding: 5rem 2rem;
    font-family: "Poppins", sans-serif;
}

/* Grid layout: two equal columns, top-aligned */
.welcome-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

/* Content (Left Column) */
.welcome-content {
    text-align: left;
}

.welcome-content h1 {
    font-size: 2.8rem;
    color: #07124D;
    font-family: "Syne", sans-serif;
    margin-bottom: 1rem;
    letter-spacing: 0.3rem;
    line-height: 1.2;
    font-weight: 400;
}

/* Updated line style */
.welcome-subtext {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    font-size: 1.3rem;
    color: #3A3A3A;
    margin: 0;
    line-height: 1.6;
}

.welcome-subtext .icon {
    font-size: 1.5rem;
    color: #07124D;
    font-weight: bold;
}

.welcome-subtext .text {
    line-height: 1.2;
}

/* Image (Right Column) */
.welcome-image {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.welcome-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Tablet & Mobile: Stacked layout */
@media (max-width: 1024px) {
    .welcome-section .container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .welcome-section {
        padding: 2rem 2rem;
        margin: 2rem 0;
    }

    .welcome-image {
        justify-content: flex-end;
        align-items: flex-start;
    }

    .welcome-image img {
        width: 90%;
    }

    .welcome-content h1 {
        font-size: 2.2rem;
    }

    .welcome-subtext {
        font-size: 1.1rem;
        justify-content: flex-start;
    }
}

/* Responsive for mobile screens < 768px */
@media (max-width: 600px) {
    .welcome-section .container {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .welcome-content {
        text-align: left;
    }

    .welcome-subtext {
        justify-content: flex-start;
        font-size: 1rem;
    }

    .welcome-image {
        justify-content: center;
        margin-top: 2rem;
    }

    .welcome-image img {
        width: 100%;
        max-width: 100%;
    }
}
