
html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #f0f0f0; 
    background-color: #1a1a1a; 
    background-image: url("lava1darker.jpg");
    background-size: contain; 
    background-position: center;
    background-repeat: repeat; 
}

.container {
    width: 85%;
    max-width: 960px;
    margin: 30px auto;
    background: #2a2a2a; 
    padding: 30px;
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.2); 
    border-radius: 8px;
}

img {
    width: 250px;
    height: 200px;
}

header {
    text-align: center;
    border-bottom: 3px solid #FFA500;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

header h1 {
    margin: 0;
    color: #FFA500;
    font-size: 2.8em;
}

header .tagline {
    color: #f0f0f0;
    font-size: 1.3em;
    margin-top: 8px;
    font-weight: normal;
}

nav {
    text-align: center;
    margin-bottom: 30px;
    background: #1a1a1a;
    padding: 15px 0;
    border-radius: 5px;
}

nav a {
    color: #FFA500;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    font-size: 1.1em;
}

nav a:hover {
    color: #ffcc80;
    text-decoration: underline;
}

section {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #444;
}

section:last-child {
    border-bottom: none;
}

section h2 {
    color: #FFA500;
    border-bottom: 1px solid #FFA500;
    padding-bottom: 8px;
    margin-bottom: 25px;
    font-size: 2em;
    text-align: center;
}


a {
    font-weight: bold;
    font-size: 1.1rem;
    color: #FFA500;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}



.header-content {
    display: flex;
    flex-direction: column; 
    align-items: center; 
}

.name-and-image {
    display: flex;
    align-items: center; 
    gap: 20px; 
    margin-bottom: 10px; 
}

.name-and-image h1 {
    margin: 0;
}

.name-and-image .image-section img {
    max-width: 100px;
    height: auto;
}



@media (min-width: 768px) {
    .header-content {
        flex-direction: column; 
        justify-content: center; 
        align-items: center;
    }
    .name-and-image {
        margin-bottom: 10px; 
        order: 1; 
    }
    .header-content .tagline {
        order: 2; 
        text-align: center; 
    }
}



.skills-list,
.education-list,
.certifications-list {
    list-style: none;
    padding: 0;
}
.skills-list li, .services-list li {
    background: #3a3a3a;
    margin-bottom: 10px;
    padding: 12px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid #FFA500;
}
.skills-list li span, .services-list li span {
    font-weight: bold;
    color: #FFA500;
}


.cta-button,
.cta-button.secondary { 
    display: inline-block; 
    padding: 8px 25px; 
    text-decoration: none; 
    border-radius: 5px; 
    margin-top: 15px;
    margin-right: 10px;
    font-weight: bold;
    transition: background-color 0.3s ease; 
    cursor: pointer; 
    font-size: 1.1rem; 
    border: none; 
}


.cta-button {
    background: #FFA500; 
    color: #1a1a1a; 
}
.cta-button:hover {
    background: #ffcc80; 
    color: #1a1a1a;
}


.cta-button.secondary {
    background: #3a3a3a; 
    color: #FFA500; 
    border: 2px solid #FFA500; 
}
.cta-button.secondary:hover {
    background: #FFA500;
    color: #1a1a1a;
}


footer {
    background: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
    font-size: 0.9em;
}
footer p { margin: 0; }


.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
.main-content .text-section, .main-content .image-section {
    flex: 1;
    min-width: 300px;
}
.main-content .image-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(255, 165, 0, 0.3);
}
.personal-projects-section p { font-style: italic; color: #ccc; }
.personal-projects-section a { color: #FFA500; text-decoration: none; font-weight: bold;}
.personal-projects-section a:hover { text-decoration: underline; }


.form-group { margin-bottom: 15px; }
.form-row { display: flex; gap: 15px; margin-bottom: 15px; }
.form-row .col { flex: 1; }
.form-control {
    width: 100%;
    padding: 12px;
    background: #3a3a3a;
    border: 1px solid #555;
    color: #f0f0f0;
    border-radius: 5px;
    box-sizing: border-box;
}
.form-control::placeholder { color: #aaa; }
button[type="submit"] {
    background: #FFA500;
    color: #1a1a1a;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
button[type="submit"]:hover {
    background: #ffcc80;
}
