/* Global Styles */
:root {
    --primary-color: #333;
    --secondary-color: #555;
    --accent-color: #0066cc;
    --background-color: #f8f8f8;
    --text-color: #333;
    --light-text: #777;
    --container-width: 1200px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

section {
    padding: 5rem 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    background-color: #333;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: 10%;
}

.name {
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 2rem;
    color: #f8f8f8;
}

.subheadline {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 600px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    margin-right: 15px;
}

.cta-button:hover {
    background-color: #0055aa;
}

.linkedin-link {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

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

/* About Section */
.about {
    background-color: white;
}

.about p {
    font-size: 1.3rem;
    max-width: 800px;
}

/* Social Proof Section */
.social-proof {
    background-color: var(--background-color);
}

.trust-line {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial p {
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--light-text);
}

/* Services Section */
.services {
    background-color: white;
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-item {
    margin-bottom: 2rem;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 2rem 0;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #ccc;
    margin-right: 1.5rem;
}

.footer-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content {
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .subheadline {
        font-size: 1.2rem;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
    }
    
    .testimonials, .service-items {
        grid-template-columns: 1fr;
    }
}


/* Updated Hero Section Layout */
.hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Adjust as needed */
    gap: 2rem; /* Add space between text and image */
}

.hero-text-content {
    flex: 1; /* Allow text content to take available space */
    max-width: 600px; /* Limit text width */
    position: relative; /* Ensure z-index works if needed */
    z-index: 2;
}

.hero-image-container {
    flex-basis: 40%; /* Adjust basis for image size */
    max-width: 450px; /* Max width for the image container */
    text-align: center; /* Center image if container is wider */
    position: relative; /* Ensure z-index works if needed */
    z-index: 2;
}

.hero-portrait {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: add rounded corners */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* Optional: add shadow */
}

/* Adjust hero background and text color */
.hero {
    background-color: #2a3b4c; /* Example dark blue/grey */
    color: white;
    /* Keep other hero styles like height, display: flex, align-items */
}

/* Ensure link color is visible on new background */
.hero .subheadline a {
    color: #a7d8ff; /* Lighter blue for visibility */
    text-decoration: underline;
}

.hero .subheadline a:hover {
    color: #ffffff;
}

/* Responsive adjustments for Hero */
@media (max-width: 992px) {
    .hero-layout {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-content {
        max-width: 100%;
        margin-bottom: 2rem; /* Add space below text when stacked */
        order: 2; /* Text below image */
    }

    .hero-image-container {
        flex-basis: auto;
        width: 60%; /* Adjust image width on medium screens */
        max-width: 350px; /* Limit max width */
        margin: 0 auto 2rem auto; /* Center image and add bottom margin */
        order: 1; /* Image above text */
    }
    
    .hero {
        height: auto; /* Adjust height for stacked content */
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-image-container {
        width: 70%; /* Slightly larger image on smaller screens */
    }
    .name {
        font-size: 3rem; /* Adjust font size */
    }
    .title {
        font-size: 1.3rem;
    }
    .subheadline {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        width: 80%; /* Even larger image on mobile */
        max-width: 300px;
    }
    .name {
        font-size: 2.5rem;
    }
}

