/* ========================================
   NETAURA - UNIFIED STYLESHEET
   Single CSS file for all portfolio pages
   ======================================== */

/* ========== RESET & ROOT VARIABLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Colors */
    --primary: #00A8E8;
    --secondary: #004E89;
    --accent: #FF6B35;
    
    /* Status Colors */
    --error: #E74C3C;
    --success: #06D6A0;
    --warning: #FFD60A;
    
    /* Backgrounds */
    --bg-light: #FAFAFA;
    --white: #FFFFFF;
    --bg-subtle: #F5F5F5;
    
    /* Borders & Text */
    --border: #E0E0E0;
    --text-secondary: #757575;
    --text-primary: #2D2D2D;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* ========== NAVBAR ========== */
nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    cursor: pointer;
}

nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
    cursor: pointer;
}

nav-menu a:hover,
nav-menu a.active {
    color: var(--primary);
}


/* Project Stats */
.project-stats {
    display: flex;
    gap: 24px;
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #FF6B35;
    font-family: 'Montserrat', sans-serif;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* Project Tech Badges */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0;
}

.tech-badge {
    background: #E3F2FD;
    color: #0288D1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

/* Project Action Buttons */
.project-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.project-btn {
    flex: 1;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.project-btn-primary {
    background: #0288D1;
    color: white;
}

.project-btn-primary:hover {
    background: #0277BD;
    transform: translateY(-2px);
}

.project-btn-secondary {
    background: white;
    color: #333;
    border: 2px solid #E0E0E0;
}

.project-btn-secondary:hover {
    border-color: #0288D1;
    color: #0288D1;
}

@media (max-width: 768px) {
    nav {
        padding: 12px 16px;
    }
    nav-menu {
        display: none;
    }
}

/* ========== HERO SECTION (Index Page) ========== */
.hero {
    padding: 50px 32px;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.05) 0%, rgba(0, 78, 137, 0.05) 100%);
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    justify-items: center;
}

.hero-image {
    width: 280px;
    height: 280px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    border: 6px solid var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 110px;
    margin: 0;
    flex-shrink: 0;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {
    0% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 40% 50% 30% 60%;
    }
    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 42px;
    color: var(--secondary);
    margin-bottom: 2px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 500;
}

.hero-content .credentials {
    font-size: 16px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
}

.hero-content p {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 8px;
    color: var(--white);
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
    color: var(--white);
}

/* ========== BUTTONS ========== */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #400064;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ========== PAGE HEADER (For all detail pages) ========== */
.page-header {
    padding: 60px 32px;
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.1) 0%, rgba(0, 78, 137, 0.1) 100%);
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
}

.page-header h1 {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 16px;
    font-weight: 700;
}

.page-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Projects page has gradient header */
.page-header.gradient {
    padding: 80px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    color: var(--white);
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.page-header.gradient::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.page-header.gradient::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.page-header.gradient h1 {
    font-size: 56px;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page-header.gradient p {
    font-size: 18px;
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

/* ========== BACK BUTTON ========== */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin: 32px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.back-button:hover {
    background-color: rgba(0, 168, 232, 0.1);
    transform: translateX(-4px);
}

.back-button.light {
    color: var(--white);
    background-color: rgba(255,255,255,0.2);
}

.back-button.light:hover {
    background-color: rgba(255,255,255,0.3);
}

/* ========== MAIN CONTENT ========== */
main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 80px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

section h2 {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 48px;
    text-align: center;
    font-weight: 700;
}

.see-more {
    text-align: center;
    margin-top: 32px;
}

.see-more a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.see-more a:hover {
    color: var(--accent);
}

/* ========== WORK SECTION ========== */
.work-section {
    background-color: var(--bg-subtle);
}

.work-timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.work-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transform: translateX(-50%);
    z-index: 1;
}

.work-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.work-card {
    background-color: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    width: calc(50% - 40px);
    position: relative;
    transition: all 0.3s;
}

.work-card:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
}

.work-card:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
}

.work-card::before {
    content: '';
    position: absolute;
    top: 32px;
    width: 20px;
    height: 20px;
    background-color: var(--accent);
    border: 4px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.work-card:nth-child(odd)::before {
    right: -50px;
}

.work-card:nth-child(even)::before {
    left: -50px;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.work-card-date {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.work-card h3 {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 700;
}

.work-card p {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Work Detail Cards (work.html specific) */
.work-details-container {
    display: flex;
    flex-direction: column;
    gap: 64px;
    padding: 60px 0;
}

.work-detail-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: box-shadow 0.3s, transform 0.2s;
    cursor: pointer;
}

.work-detail-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.work-detail-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 64px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.work-detail-image::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.work-detail-image span {
    position: relative;
    z-index: 1;
}

.work-detail-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.work-detail-header {
    margin-bottom: 24px;
}

.work-detail-date {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.work-detail-company {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.work-detail-title {
    font-size: 28px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 0;
}

.work-detail-description {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: 20px;
    max-height: 3.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: all 0.3s ease;
}

.work-detail-description.expanded {
    max-height: 1000px;
    -webkit-line-clamp: unset;
    display: block;
}
.work-skills-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #E0E0E0;
}

.work-skills-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.show-more-btn,
.show-less-btn {
    align-self: flex-start;
    background-color: transparent;
    color: var(--primary);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 20px;
    transition: color 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.show-more-btn:hover,
.show-less-btn:hover {
    color: var(--accent);
}

.show-less-btn {
    display: none;
}

.show-less-btn.visible {
    display: block;
}

.show-more-btn.hidden {
    display: none;
}

.work-achievements {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.work-achievements.expanded {
    max-height: 500px;
}

.work-achievements-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
}

.achievement-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.achievement-list li {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.achievement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.work-skills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.skill-badge {
    background-color: rgba(0, 168, 232, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(0, 168, 232, 0.2);
}

/* ========== PROJECTS SECTION ========== */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.project-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Projects Page - Enhanced Cards */
.filter-section {
    display: flex;
    gap: 12px;
    margin: 60px 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    font-family: 'Montserrat', sans-serif;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary);
    background-color: var(--white);
    color: var(--primary);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
    text-align: center;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.2);
    animation: slideUp 0.6s ease-out;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.4);
}

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

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    padding: 60px 0;
}

.projects-container .project-card {
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    display: block;
    padding: 0;
    max-height: 520px;
}

.projects-container .project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 168, 232, 0.25);
}

.project-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
    height: 180px;
    min-height: 180px;
    max-height: 180px;
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.project-card:hover .project-image::before {
    opacity: 1;
}

.project-content {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #FF8C42 100%);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.project-title {
    font-size: 22px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.project-card:hover .project-title {
    color: var(--accent);
}

.project-description {
    display: none;
    max-height: 65px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


.stat-item-label {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}

.project-tech {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tech-badge {
    background-color: rgba(0, 168, 232, 0.1);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(0, 168, 232, 0.2);
    transition: all 0.3s;
}

.project-card:hover .tech-badge {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.project-link:hover {
    color: var(--accent);
}

/* ========== EDUCATION SECTION ========== */
.education-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: start;
}

.education-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 80px;
    box-shadow: 0 8px 24px rgba(0, 168, 232, 0.2);
}

.education-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.education-item h3 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 8px;
    font-weight: 700;
}

.education-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.education-button {
    margin-top: 16px;
}

/* Education Page - Detailed Cards */
.education-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    transform: translateX(-50%);
}

.education-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.education-date {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.education-degree {
    font-size: 22px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 8px;
}

.education-institution {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.education-description {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.7;
}

/* Certificates Grid */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.certificate-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.certificate-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.certificate-name {
    font-size: 16px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 8px;
}

.certificate-issuer {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.certificate-date {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========== SKILLS SECTION ========== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.skill-box {
    background-color: var(--white);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.skill-box:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.2);
}

/* Skills Page - Categories */
.skills-categories {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 12px 24px;
    border: 2px solid var(--primary);
    background-color: var(--white);
    color: var(--primary);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.skill-category-section {
    margin-bottom: 64px;
}

.skill-category-section h3 {
    font-size: 28px;
    color: var(--secondary);
    margin-bottom: 32px;
    font-weight: 700;
    text-align: left;
}

.detailed-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.detailed-skill-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.detailed-skill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.skill-icon {
    font-size: 40px;
    margin-bottom: 12px;
    display: block;
}

.skill-name {
    font-size: 18px;
    color: var(--secondary);
    font-weight: 700;
    margin-bottom: 8px;
}

.skill-level {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
}

.skill-bar {
    height: 8px;
    background-color: var(--bg-subtle);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 4px;
    transition: width 1s ease;
}

.skill-description {
    font-size: 13px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* ========== BLOG SECTION ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.blog-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 48px 24px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-content {
    padding: 24px;
}

.blog-title {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-description {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Blog Page - Enhanced Cards */
.blog-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary);
    background-color: var(--white);
    color: var(--primary);
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.blog-post-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.blog-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 48px;
}

.blog-post-content {
    padding: 24px;
}

.blog-post-date {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
}

.blog-post-title {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-post-excerpt {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-tag {
    background-color: rgba(0, 168, 232, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 80px 32px;
}

.contact-section h2 {
    color: var(--white);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.contact-item {
    text-align: center;
}

.contact-label {
    font-size: 12px;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.contact-value a {
    color: var(--white);
    text-decoration: none;
}

.contact-value a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.submit-btn:hover {
    background-color: #400064;
    transform: translateY(-2px);
}

.social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.social-btn:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--secondary);
    transform: scale(1.1);
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--text-primary);
    color: var(--white);
    text-align: center;
    padding: 24px;
    font-size: 12px;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .work-timeline-line {
        display: none;
    }
    
    .work-card,
    .education-card {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .work-card::before,
    .education-card::before {
        display: none;
    }
    
    .work-detail-card {
        grid-template-columns: 1fr;
    }
    
    .work-detail-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 24px;
    }
    
    section h2 {
        font-size: 28px;
    }
    
    .hero {
        grid-template-columns: 1fr;
        padding: 40px 24px;
    }
    
    .hero-image {
        width: 200px;
        height: 200px;
        font-size: 80px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
    
    .page-header.gradient h1 {
        font-size: 42px;
    }
    
    .carousel {
        grid-template-columns: 1fr;
    }
    
    .blog-grid,
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .education-image {
        margin: 0 auto;
    }
    
    .contact-form-container {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* Override work section for vertical timeline */
.work-timeline-line {
    left: 40px !important;
    transform: none !important;
}

.work-card {
    width: calc(100% - 80px) !important;
    margin-left: 80px !important;
    margin-right: 0 !important;
}

.work-card::before {
    left: -50px !important;
    right: auto !important;
}

.work-card:nth-child(odd) {
    margin-left: 80px !important;
    margin-right: 0 !important;
}

.work-card:nth-child(even) {
    margin-left: 80px !important;
    margin-right: 0 !important;
}

.page-header {
    padding: 80px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.page-header h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    margin: 32px;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    z-index: 1;
    background-color: rgba(255,255,255,0.2);
}

.back-button:hover {
    background-color: rgba(255,255,255,0.3);
    transform: translateX(-4px);
}

.hero {
    background: linear-gradient(135deg, rgba(0, 168, 232, 0.08) 0%, rgba(0, 78, 137, 0.08) 100%);
    box-shadow: 0 4px 20px rgba(0, 168, 232, 0.15);
}

.work-card {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.work-card:hover {
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.2);
    transform: translateY(-4px);
}

.project-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.5);
    transform: translateY(-4px) scale(1.02);
}

.skill-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.2);
    transition: all 0.3s ease;
}

.skill-box:hover {
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.4);
    transform: translateY(-3px);
}

.blog-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.2);
    transform: translateY(-4px);
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.2);
    animation: slideUp 0.6s ease-out;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.4);
}

.page-header h1,
.page-header p {
    color: white !important;
}

section h2 {
    color: white;
}

.work-section h2 {
    color: white;
}

.skill-box {
    background: white !important;
    color: var(--text-primary) !important;
    border: 2px solid var(--border);
}

.skill-box:hover {
    border-color: var(--primary);
    background: var(--bg-subtle) !important;
}

#skills h2 {
    color: var(--secondary) !important;
}

.skill-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    color: white !important;
    border: none !important;
}

.skill-box:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%) !important;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 168, 232, 0.4);
}

/* Education Page Grid */
.education-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 60px 32px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .education-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .education-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.education-card {
    background-color: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    border-left: 6px solid var(--primary);
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 168, 232, 0.2);
}
