/* Global Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #007bff; /* Main blue background */
    color: white;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
}

.logo-container {
    display: flex;
    flex-direction: column; /* stack vertically */
    align-items: flex-start;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo:visited,
.logo:hover,
.logo:active {
    color: white;
    text-decoration: none;
}

.logo a {
    font-size: 1.5em;
    font-weight: bold;
    color: white;
    text-decoration: none; /* remove underline */
}

.logo a:visited,
.logo a:hover,
.logo a:active {
    color: white;          /* keep color same */
    text-decoration: none; /* no underline ever */
}


.tagline {
    font-size: 1em;
    font-weight: normal;
    margin-top: 5px;
    opacity: 0.8;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: space-between; /* left text, right image */
    align-items: flex-start;        /* top align text and image */
    padding: 50px 0;
    flex-wrap: nowrap;
    text-align: left;
}

.hero-content {
    flex: 1;
    max-width: 60%; /* leave space for image */
}

.hero-content h1 {
    font-size: 3em;
    margin: 0.2em 0;
}

.hero-content span {
    font-size: 1.2em;
    opacity: 0.8;
}

.hero-content p {
    margin: 10px 0;
}

.cta-buttons {
    margin-top: 20px;
}

.btn {
    display: inline-block;      /* allows padding to work on links */
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
    font-weight: bold;
    text-decoration: none;      /* remove underline for links */
}

/* Primary button */
.btn-primary {
    background-color: #ffb703;
    color: white;
}

/* Secondary button */
.btn-secondary {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}


/* Hero Image */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* image on right */
    align-items: flex-start;   /* top align with text */
}

.hero-image img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgb(255, 255, 255);
    margin-top: 40px;
}

/* About Me Section */
.about-section {
    padding: 60px 20px;
    background-color: #f5f5f5; /* light gray background */
    color: #333;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #007bff;
}

.about-section p {
    max-width: 800px;
    margin: 15px auto;
    font-size: 1.1em;
    line-height: 1.7;
}

/* Footer */
.footer {
    padding-top: 50px;
    text-align: center;
    opacity: 0.7;
}

.footer span {
    margin: 0 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 55%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column; /* stack text + image */
        align-items: center;
        text-align: center;
    }

    .hero-content, .hero-image {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .hero-image {
        justify-content: center;
        margin-top: 20px;
    }

    .hero-image img {
        width: 150px;
        height: 150px;
    }

    .logo-container {
        align-items: center;
    }

    .nav-menu {
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .btn {
        padding: 8px 15px;
        margin-bottom: 10px;
    }

    .about-section h2 {
        font-size: 2em;
    }

    .about-section p {
        font-size: 1em;
    }
}
