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

/* Body Styles */
body {
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

/* Header Styles */
header {
    background-color:#C28E0E;
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 40px;
    border-radius: 10px;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color:black;
}

header h2 {
    font-size: 1.5em;
    margin-bottom: 20px;
    color:black;
}

header p {
    margin-bottom: 10px;
    font-size: 1.1em;
    color:black;
}

header a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    padding: 8px 16px;
    background-color: #C28E0E;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header a:hover {
    background-color: #C28E0E;
}

/* Section Styles */
section {
    background-color: black;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #C28E0E;
    margin-bottom: 20px;
    border-bottom: 2px solid #f4f4f4;
    padding-bottom: 10px;
}
/* Profile Summary */
#profile-summary > p{
    background-color: #f9f9f9; 
    border-radius: 10px;
    padding: 10px;
    font-size: large;
}

/* Experience and Leadership Styles */
/* Responsive Grid Layout for Experience Cards */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default to 3 columns on larger screens */
    gap: 1.5em;
    margin-top: 1.5em;
}

/* Experience Card Styles */
.experience-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    height: auto; /* Adjust height based on content */
}

/* Hover effect for desktop, does not reveal content */
.experience-card:hover {
    transform: translateY(-10px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Shadow to highlight card */
}

/* Experience Details Styling */
.experience-details {
    position: relative; /* Standard positioning, no hover effects */
    padding: 1em;
    display: flex;
    flex-direction: column;
    justify-content: start;
    overflow-y: auto;
    max-height: none; /* Always visible on mobile */
}

/* Media Query for Mobile Devices */
@media (max-width: 600px) {
    .experience-grid {
        grid-template-columns: 1fr; /* Single column layout on smaller screens */
    }

    .experience-card {
        height: auto; /* Adjust to content height on mobile */
        padding: 1em; /* Standard padding */
    }

    /* Disable hover effect on mobile */
    .experience-card:hover {
        transform: none;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Slight shadow */
    }
}

.experience-card h3 {
    color: #C28E0E;
    margin-bottom: 10px;
}

.experience-card ul {
    margin-top: 10px;
    list-style-type: disc;
    padding-left: 20px;
}

/* Skills Section */
#skills ul {
    list-style-type: none;
    padding: 0;
}

#skills li {
    background-color: white;
    color: black;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    display: inline-block;
    font-size: 16px;
}

/* Footer Styles */
footer {
    text-align: center;
    margin-top: 20px;
    color: #C28E0E;
}
