* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.hero-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    z-index: 1;
    filter: brightness(0.7) contrast(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.content-container {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    max-width: 90vw;
    padding: 2rem;
    background: transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    max-width: 800px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.7));
    filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(14deg) brightness(118%) contrast(119%);
}

.main-text {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #fff;
    font-weight: 300;
    line-height: 1.8;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-style: italic;
    letter-spacing: 1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.tagline {
    font-size: 1.8rem;
    font-style: italic;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 300;
    letter-spacing: 1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
}

        @media (max-width: 768px) {
            .background-image {
                object-fit: contain;
                object-position: right center;
                background-color: #2c2c2c;
            }

            .content-container {
                max-width: 95vw;
                padding: 1.5rem;
                top: 8%;
                gap: 1.5rem;
            }

            .content {
                gap: 1rem;
            }

            .logo {
                max-width: 85vw;
            }

            .main-text {
                font-size: 1.3rem;
                padding: 0 1rem;
                line-height: 1.6;
            }

            .tagline {
                font-size: 1.3rem;
                padding: 0 1rem;
                max-width: 90vw;
            }
        }

                @media (max-width: 480px) {
            .background-image {
                object-fit: contain;
                object-position: right center;
                background-color: #2c2c2c;
            }

            .content-container {
                max-width: 98vw;
                padding: 1rem;
                top: 5%;
                gap: 1rem;
            }

            .content {
                gap: 0.75rem;
            }

            .logo {
                max-width: 90vw;
            }

            .main-text {
                font-size: 1.1rem;
                padding: 0 0.5rem;
                line-height: 1.5;
            }

            .tagline {
                font-size: 1.1rem;
                padding: 0 0.5rem;
                max-width: 95vw;
            }
        }

    /* LinkedIn styling */
    .linkedin-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .linkedin-link {
        display: inline-block;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .linkedin-link:hover {
        transform: scale(1.1);
        opacity: 0.8;
    }

    .linkedin-logo {
        width: 40px;
        height: 40px;
        color: #fff;
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.7));
    }

    @media (max-width: 768px) {
        .linkedin-logo {
            width: 35px;
            height: 35px;
        }
    }

    @media (max-width: 480px) {
        .linkedin-logo {
            width: 30px;
            height: 30px;
        }
    }

    /* Landscape orientation adjustments */
    @media (max-height: 500px) and (orientation: landscape) {
        .background-image {
            object-fit: cover;
            object-position: right center;
            background-color: #2c2c2c;
        }

        .content-container {
            top: 8%;
            padding: 1rem;
            max-width: 60vw;
            left: 35%;
            transform: translateX(-50%);
            gap: 1rem;
        }

        .content {
            gap: 0.75rem;
        }

        .logo {
            max-width: 45vw;
        }

        .main-text {
            font-size: 1.2rem;
            padding: 0 1rem;
        }

        .tagline {
            font-size: 1.2rem;
            padding: 0 1rem;
        }

        .linkedin-logo {
            width: 30px;
            height: 30px;
        }
    }

    /* Small landscape screens */
    @media (max-height: 400px) and (orientation: landscape) {
        .background-image {
            object-fit: cover;
            object-position: right center;
            background-color: #2c2c2c;
        }

        .content-container {
            top: 5%;
            padding: 0.75rem;
            max-width: 55vw;
            left: 35%;
            transform: translateX(-50%);
            gap: 0.75rem;
        }

        .content {
            gap: 0.5rem;
        }

        .logo {
            max-width: 40vw;
        }

        .main-text {
            font-size: 1.1rem;
            padding: 0 0.75rem;
        }

        .tagline {
            font-size: 1.1rem;
            padding: 0 0.75rem;
        }

        .linkedin-logo {
            width: 25px;
            height: 25px;
        }
    }

    /* Smooth animations */
    .content {
        animation: fadeInUp 1s ease-out;
    }

.logo {
    animation: fadeInDown 1.2s ease-out;
}

.tagline {
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
