/* Reset & base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    display: flex;
    background: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Sidebar navigation */
.sidebar {
    width: 200px;
    background: #2c3e50;
    position: sticky;
    top: 0;
    height: 100vh;
    padding-top: 40px;
    flex-shrink: 0;
}

.nav-menu {
    list-style: none; /* Remove bullets */
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin: 15px 0;
}

.nav-menu a {
    display: block;
    padding: 10px 20px;
    color: #ecf0f1;
    font-weight: bold;
    border-radius: 6px;
    transition: all 0.3s;
}

.nav-menu a:hover {
    background-color: #2980b9;
    color: #fff;
}
.nav-menu a.active {
    background-color: #e74c3c;
    color: #fff;
}

/* Main container */
.main-container {
    flex: 1;
    max-width: 900px;
    margin: 40px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Header */
header {
    text-align: center;
    margin-bottom: 35px;
    background-color: #2c3e50; /* Dark header fill */
    color: #ecf0f1;
    padding: 30px 20px;
    border-radius: 12px 12px 0 0;
}

header h1 {
    font-size: 2.8em;
    color: #fff;
    margin-bottom: 5px;
}

header p {
    font-size: 1em;
    color: #ecf0f1;
}

.header-buttons {
    margin-top: 15px;
}

.header-buttons .btn {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 6px;
    background-color: #3498db;
    color: #fff;
    transition: 0.3s;
}

.header-buttons .btn:hover {
    background-color: #1f618d;
}

/* Section titles */
h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 3px solid #2980b9;
    display: inline-block;
    padding-bottom: 5px;
}

/* Sections */
section {
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lists */
ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Skills Section */
.skills ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none; /* Remove bullets */
    padding-left: 0;
}

.skills ul li {
    width: 45%;
    margin-right: 5%;
    margin-bottom: 10px;
    background: #ecf0f1;
    padding: 5px 10px;
    border-radius: 5px;
    transition: background 0.3s;
}

.skills ul li:hover {
    background: #d6eaf8;
}

/* Experience Section */
#experience {
  margin-bottom: 30px;
}
.experience-item {
  margin-bottom: 20px;
}

.exp-title-dates {
  font-weight: bold;
  color: #2980b9;
  margin-bottom: 2px;
}

.exp-company-location {
  font-style: italic;
  color: #555;
  margin-bottom: 6px;
}

.exp-details li {
  margin-left: 20px;
  list-style-type: disc;
  color: #555;
}

/* Education & Licenses */
#education, #licenses {
  margin-bottom: 30px;
}

.education-item, .license-item {
  margin-bottom: 15px;
}

.education-item p, .license-item p {
  margin: 2px 0;
}

.education-item strong, .license-item strong {
  color: #2980b9;
}

/* Contact Form */
#contact {
    margin-bottom: 40px;
}

.contact-wrapper {
    background-color: #2c3e50; /* Dark form background */
    padding: 30px;
    border-radius: 12px;
}

#contactForm {
    display: flex;
    flex-direction: column;
}

#contactForm input,
#contactForm textarea {
    padding: 12px 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 8px;
    background-color: #ecf0f1;
    font-size: 1em;
    color: #2c3e50;
    resize: none;
}

#contactForm input:focus,
#contactForm textarea:focus {
    outline: 2px solid #2980b9;
}

.btn-send {
    background-color: #3498db;
    color: #fff;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-send:hover {
    background-color: #1f618d;
}

.btn-text, .btn-loading {
    font-size: 1em;
}

#formMessage {
    margin-top: 10px;
    font-weight: bold;
}

.contact-wrapper {
    background-color: #2c3e50; /* dark background */
    padding: 30px;
    border-radius: 12px;
}

/* Footer */
.site-footer {
    margin-top: 40px;
    padding: 20px 0;
    background-color: #2c3e50;
    color: #ecf0f1;
    text-align: center;
}

.site-footer p {
    margin: 4px 0;
}

.site-footer strong {
    color: #fff;
}

.footer-link {
    color: #ecf0f1;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #3498db;
}

/* Responsive */
@media (max-width: 900px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        display: none; /* Hide sidebar on mobile */
    }

    .main-container {
        margin: 20px auto;
        width: 100%;
        padding: 20px;
    }

    .sidebar nav ul li {
        margin: 10px 0;
    }
}

@media (max-width: 600px) {
    .skills ul li {
        width: 100%;
        margin-right: 0;
    }

    header h1 {
        font-size: 2em;
    }
}

