/* Global Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f0f2f5; /* Light background for modern feel */
    color: #333;
}

/* --- 1. Navigation Bar Styles --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2c3e50; /* Darker navy */
    padding: 15px 30px;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #3498db; /* Blue hover effect */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- 2. Main Layout Container --- */
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

/* --- Hero Section Styles (New) --- */
.hero {
    text-align: center;
    padding: 50px 20px;
    margin-bottom: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #3498db;
    margin-bottom: 20px;
    font-style: italic;
}

/* Button Style */
.button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #2980b9;
}

/* --- 3. Three-Column Layout Styles (Desktop/Default) --- */
.columns {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.column {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.column h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 5px;
    font-size: 1.3rem;
}

/* Styling for the Skills List */
.column ul {
    list-style-type: none;
    padding-left: 0;
}

.column ul li {
    background: #ecf0f1;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Contact Footer (New) */
.contact-footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #ecf0f1;
    border-radius: 8px;
    margin-bottom: 20px;
}

.contact-footer h2 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.contact-footer a {
    color: #3498db;
    text-decoration: none;
}

/* --- Responsive Adjustments (Mobile) --- */

@media (max-width: 768px) {
    /* Columns stack vertically */
    .columns {
        flex-direction: column;
    }

    /* Navigation Menu Adjustments */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #2c3e50;
        padding: 10px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        z-index: 1000; /* Ensure menu is on top */
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
        border-top: 1px solid #3b5062;
    }

    .nav-links a:first-child {
        border-top: none;
    }

    .menu-toggle {
        display: block;
    }
}