/* Basic Reset & Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Header */
header {
    background-color: #1a2533;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 5px solid #4a90e2;
}

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

header p {
    font-size: 1.2em;
    margin-top: 10px;
    opacity: 0.9;
}

/* Navigation */
nav {
    background-color: #2c3e50;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: #3498db;
}

/* Main Content */
main {
    padding: 20px;
    max-width: 900px;
    margin: 20px auto;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.card h2 {
    color: #2c3e50;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Experience Section */
.job {
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid #4a90e2;
}

.job h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #34495e;
}

.job p {
    margin: 0 0 10px 0;
    font-size: 0.95em;
}

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

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skills-grid div {
    background-color: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
}

.skills-grid h3 {
    color: #2c3e50;
    margin-top: 0;
    border-bottom: 1px dashed #bdc3c7;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.skills-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-grid li {
    padding: 5px 0;
}

/* Projects Section */
.project h3 {
    color: #34495e;
    margin-top: 0;
}

.project p {
    margin-bottom: 10px;
}

.project a {
    color: #4a90e2;
    text-decoration: none;
}

.project a:hover {
    text-decoration: underline;
}

/* Contact Section */
#contact p {
    margin-bottom: 10px;
}

#contact a {
    color: #4a90e2;
    text-decoration: none;
}

#contact a:hover {
    text-decoration: underline;
}

/* Visitor Count Section */
#visitor-count p {
    font-size: 1.1em;
    text-align: center;
}

#counter {
    font-weight: bold;
    color: #e74c3c;
}

/* Footer */
footer {
    background-color: #1a2533;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    font-size: 0.9em;
}
