body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    color: #1a1a1a;
    line-height: 1.8;
    overflow-x: hidden;
}

.container, .blog-container, .admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    margin-top: 100px;
    margin-bottom: 40px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

nav ul li {
    margin: 0 30px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav ul li a:hover {
    color: #f39c12;
    transform: translateY(-2px);
    display: inline-block;
}

.cv-link {
    color: white;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    padding: 8px 20px;
    background: #f39c12;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cv-link:hover {
    background: #d35400;
    transform: translateY(-2px);
}

/* Hamburger Menu */
.menu-icon {
    position: fixed;
    top: 25px;
    right: 25px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.menu-icon span {
    width: 30px;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon:hover span {
    background-color: #f39c12;
}

.menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #ffffff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 999;
    padding-top: 80px;
    border-left: 1px solid #e0e0e0;
}

.menu.active {
    right: 0;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu ul li {
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.menu ul li a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #f39c12;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    transition: opacity 0.3s ease;
}

.overlay.active {
    display: block;
}

/* Resume Styling */
.resume {
    background: white;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.resume-header {
    text-align: center;
    margin-bottom: 50px;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 6px solid #f39c12;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: cover;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.resume-header h3 {
    margin: 15px 0 5px;
    font-size: 2.5em;
    color: #1a1a1a;
}

.position, .company {
    margin: 5px 0;
    color: #7f8c8d;
    font-size: 1.2em;
}

.resume-body h4 {
    color: #1a1a1a;
    font-size: 1.8em;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 10px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.resume-body p {
    font-size: 1.2em;
    color: #34495e;
}

.resume-body ul {
    list-style-type: none;
    padding-left: 0;
}

.resume-body ul li {
    margin-bottom: 20px;
    font-size: 1.2em;
}

.resume-body ul ul {
    list-style-type: disc;
    padding-left: 30px;
    color: #34495e;
}

.skills {
    margin-top: 20px;
}

.skills span {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.skill-bar {
    height: 12px;
    background: #f39c12;
    border-radius: 6px;
    transition: width 0.5s ease;
}

/* Blog Styling */
.blog-container {
    display: flex;
    gap: 30px;
}

.blog-main {
    flex: 2;
}

.blog-sidebar {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.blog-post {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    animation: fadeIn 1s ease-in;
}

.blog-post h3 {
    font-size: 2.2em;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.post-meta {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.post-meta span {
    margin-right: 10px;
}

.post-excerpt {
    font-size: 1.1em;
    color: #34495e;
    margin-bottom: 20px;
}

.read-more {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #c0392b;
}

.post-content {
    display: none;
}

.post-content.visible {
    display: block;
}

.share-buttons {
    margin-top: 20px;
    font-size: 0.9em;
}

.share-buttons span {
    margin-right: 10px;
    color: #7f8c8d;
}

.share-btn {
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    margin-right: 5px;
    transition: background 0.3s ease;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.facebook:hover {
    background: #2d4373;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.twitter:hover {
    background: #0c7abf;
}

.share-btn.google {
    background: #db4437;
}

.share-btn.google:hover {
    background: #c1351e;
}

.share-btn.stumble {
    background: #eb4924;
}

.share-btn.stumble:hover {
    background: #d32f0f;
}

.share-btn.digg {
    background: #005be2;
}

.share-btn.digg:hover {
    background: #0041b3;
}

.search-bar {
    display: flex;
    margin-bottom: 20px;
}

.search-bar input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
}

.search-bar button {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

.search-bar button:hover {
    background: #c0392b;
}

.popular-posts h4 {
    font-size: 1.5em;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.popular-post {
    margin-bottom: 20px;
}

.popular-post h5 {
    font-size: 1.2em;
    color: #e74c3c;
    margin-bottom: 10px;
}

.popular-post p {
    font-size: 0.9em;
    color: #34495e;
}

/* Portfolio Styling */
section h2 {
    font-size: 2.5em;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

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

.portfolio-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
}

.portfolio-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.portfolio-card h3 {
    font-size: 1.5em;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.portfolio-card p {
    font-size: 1em;
    color: #34495e;
}

/* Admin Styling */
.admin-container {
    padding: 20px;
}

.admin-container h2 {
    font-size: 2.5em;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.admin-container h3 {
    font-size: 1.8em;
    color: #1a1a1a;
    margin-top: 30px;
    margin-bottom: 15px;
}

.admin-container input, .admin-container textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.admin-container textarea {
    height: 150px;
}

.admin-container button {
    background: #f39c12;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.3s ease;
}

.admin-container button:hover {
    background: #d35400;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 15px;
    text-align: left;
}

th {
    background: #f39c12;
    color: white;
}

.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-container h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.login-container button {
    background: #f39c12;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.login-container button:hover {
    background: #d35400;
}

section {
    margin-bottom: 80px;
}