/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    line-height: 1.6;
    background-color: #f8f8f8;
    color: #333;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header */
header {
    background: #2c3e50;
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
}

header ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

header a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

header a:hover {
    color: #3498db;
}

/* Hero Section */
#hero {
    background: #3498db;
    color: #fff;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

#hero p {
    font-size: 1.5rem;
}

/* Sections */
section {
    padding: 3rem 0;
    border-bottom: 1px solid #eee;
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

/* Experience */
.job-entry {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.job-entry h3 {
    margin-top: 0;
    color: #3498db;
}

.job-entry ul {
    list-style: disc;
    margin-left: 20px;
}

/* Skills */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skills-grid span {
    background: #2c3e50;
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
}

/* Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.portfolio-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

.portfolio-item img {
    max-width: 100%;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.portfolio-item h3 {
    color: #3498db;
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
    margin: auto;
}

form input, form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

form button {
    padding: 12px 20px;
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s ease;
}

form button:hover {
    background: #2980b9;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* Video Gallery */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.video-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 15px;
}

.video-placeholder {
    width: 100%;
    height: 180px; /* Aspect ratio for 16:9 video */
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 10px;
}

.video-description {
    padding: 0 15px;
    font-size: 0.9rem;
    color: #555;
}

.panels {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.panel {
    flex: 1; /* Equal width */
    background: #f9f9f9;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-align: center;
}

@media (max-width: 900px) {
    .panels {
        flex-direction: column;
        gap: 16px;
    }
}