/* General Styling */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7fa;
    color: #333;
}
h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1d4e89;
    text-align: center;
}
h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: 600;
}
h3 {
    font-size: 1.25rem;
}
p {
    line-height: 1.6;
    color: #555;
    text-align: center;
}

/* Hero Section */
.hero {
    background-image: url('https://example.com/shutterstock-image.jpg'); /* Replace with Shutterstock URL */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.hero h1 {
    font-size: 3rem;
    margin: 0;
    text-transform: uppercase;
}
.hero p {
    font-size: 1.25rem;
    margin-top: 10px;
    max-width: 600px;
}
.hero .cta-button {
    margin-top: 30px;
    padding: 1rem 2rem;
    background-color: #f76c6c;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}
.hero .cta-button:hover {
    background-color: #e14e4e;
}

/* About Me Section */
.about-me {
    display: flex;
    align-items: flex-start;
    max-width: 800px;
    margin: 0 auto;
    gap: 20px; /* Space between the image and text */
    padding: 60px 20px;
}

.about-me img {
    width: 150px;
    height: auto;
    border-radius: 50%;
}

.about-me-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between paragraphs */
}

.about-me-text p {
    margin: 0; /* Remove margin to control spacing in container */
}

@media (max-width: 600px) {
    .about-me {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-me img {
        width: 120px; /* Adjust size for smaller screens */
    }

    .about-me-text {
        text-align: left; /* Optionally keep text aligned left */
    }
}

/* Technologies Section */
.technologies {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    table-layout: fixed; /* Ensures equal column width */
}

.tech-table td {
    padding: 10px 15px;
    font-size: 1em;
    color: #4a4a4a;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    text-align: center;
    width: 33.33%; /* Each column gets equal width */
}

.tech-table td:nth-child(even) {
    background-color: #e9f2fa; /* Light blue for alternate columns */
}

@media (max-width: 600px) {
    .tech-table td {
        padding: 8px; /* Smaller padding for mobile screens */
        font-size: 0.9em;
    }
}

/* Services Section */
.services {
    text-align: center;
    padding: 60px 20px;
}
.services ul {
    list-style: none;
    padding: 0;
}
.services li {
    display: inline-block;
    width: 30%;
    padding: 10px;
    vertical-align: top;
    text-align: center;
}
.services img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}
.services h3 {
    font-size: 1.25rem;
    color: #1d4e89;
}
.services p {
    font-size: 1rem;
}

/* Portfolio Section */
.portfolio {
    max-width: 80%;
    text-align: center;
    padding: 60px 20px;
    margin: 0 auto;
}

.portfolio a {
    color: #007BFF; /* Link color */
}

.portfolio a:hover {
    color: #0056b3; /* Hover effect */
}

.portfolio-project {
    margin: 40px 0; /* Adjust the margin as needed */
    padding: 20px;
    border-radius: 10px;
}

.section-header {
    font-size: 1.8em; /* Adjust size for main headers */
    color: #333; /* Main text color */
    margin-bottom: 15px;
}

.sub-header {
    font-size: 1.5em; /* Adjust size for sub-headers */
    color: #555; /* Slightly lighter for sub-headers */
    margin-top: 20px;
}

.features-list,
.skills-list {
    list-style-type: disc; /* Use bullet points */
    margin-left: 20px; /* Indent lists */
}

.features-list li,
.skills-list li {
    margin-bottom: 10px; /* Space between list items */
    color: #444; /* Text color */
    line-height: 1.5; /* Improve readability */
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #1d4e89;
    color: white; /* Changed to white for better readability */
}
.footer p {
    color: white; /* Ensures the paragraph text in the footer is white */
}