/* ============================================
   Mrenal Kanti Roy - Portfolio Website
   Premium Modern Design
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-main: #D9D9D9;
    --bg-white: #FFFFFF;
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-muted: #888888;
    --gradient-start: #FFF2A8;
    --gradient-mid: #FFC6D9;
    --gradient-end: #F49AEF;
    --sidebar-width: 280px;
    --border-radius: 24px;
    --border-radius-sm: 16px;
    --border-radius-xs: 12px;
    --transition-speed: 0.45s;
    --shadow-soft: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-medium: 0 8px 32px rgba(0,0,0,0.10);
    --gradient-border: linear-gradient(180deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    --font-primary: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-bengali: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.profile-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 35px;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ---------- Layout Container ---------- */
.portfolio-wrapper {
    display: flex;
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px;
    min-height: 100vh;
    align-items: stretch;
}

/* ============================================
   LEFT SIDEBAR
   ============================================ */
.sidebar {
    position: sticky;
    top: 24px;
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    flex-shrink: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.sidebar-inner {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 3px;
    background: var(--gradient-border);
    box-shadow: var(--shadow-soft);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sidebar-content {
    background: #F5F5F5;
    border-radius: calc(var(--border-radius) - 2px);
    padding: 12px 12px 24px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: flex-start;
}

/* Profile Image */
.profile-image-wrapper {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xs);
    padding: 0;
    background: var(--gradient-border);
    margin-bottom: 12px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: calc(var(--border-radius) - 4px);
}

.profile-image {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
    border-radius: calc(var(--border-radius) - 4px);
    object-fit: cover;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--border-radius) - 4px);
}

.profile-image .profile-placeholder {
    font-size: 80px;
    color: #bbb;
}

/* Sidebar Navigation */
.sidebar-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-radius: var(--border-radius-xs);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.sidebar-nav .nav-item i {
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
    transition: transform 0.3s ease;
}

.sidebar-nav .nav-item:hover {
    background: rgba(0,0,0,0.04);
    color: var(--text-primary);
    transform: translateX(4px);
}

.sidebar-nav .nav-item:hover i {
    transform: scale(1.15);
}

.sidebar-nav .nav-item.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(244, 154, 239, 0.25);
}

.sidebar-nav .nav-item.active i {
    transform: scale(1.1);
}

/* ============================================
   RIGHT CONTENT PANEL
   ============================================ */
.content-panel {
    flex: 1;
    min-width: 0;
}

.content-panel-inner {
    background: var(--gradient-border);
    border-radius: var(--border-radius);
    padding: 3px;
    box-shadow: var(--shadow-soft);
    min-height: calc(100vh - 48px);
}

.content-panel-body {
    background: #F5F5F5;
    border-radius: calc(var(--border-radius) - 2px);
    min-height: calc(100vh - 54px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 24px;
}

/* Top Navigation Bar */
.top-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
}

.top-nav .top-nav-item {
    padding: 8px 20px;
    border-radius: var(--border-radius-xs);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-nav .top-nav-item:hover {
    background: rgba(0,0,0,0.04);
    color: var(--text-primary);
}

.top-nav .top-nav-item.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: var(--text-primary);
    font-weight: 600;
}

/* Content Viewport */
.content-viewport {
    flex: 1;
    position: relative;
    overflow: hidden;
}

/* Section Panels */
.section-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 24px 80px 24px;
    opacity: 0;
    transform: translateX(80px);
    transition: all var(--transition-speed) cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    will-change: transform, opacity;
}

.section-panel.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    z-index: 2;
}

.section-panel.slide-out-left {
    opacity: 0;
    transform: translateX(-80px);
    pointer-events: none;
    z-index: 1;
}

.section-panel.slide-out-right {
    opacity: 0;
    transform: translateX(80px);
    pointer-events: none;
    z-index: 1;
}

/* Custom Scrollbar */
.section-panel::-webkit-scrollbar {
    width: 6px;
}

.section-panel::-webkit-scrollbar-track {
    background: transparent;
}

.section-panel::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
    border-radius: 3px;
}

.section-panel::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}

/* ============================================
   HOME SECTION
   ============================================ */
.home-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    gap: 24px;
}

.home-hero {
    display: flex;
    align-items: center;
    gap: 48px;
}

.home-photo {
    width: 280px;
    height: 280px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    padding: 3px;
    box-shadow: var(--shadow-medium);
}

.home-photo-inner {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--border-radius) - 2px);
    overflow: hidden;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-photo-inner .photo-placeholder {
    font-size: 80px;
    color: #ccc;
}

.home-text {
    flex: 1;
}

.home-text .greeting {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.home-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary) 0%, #333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-text .subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.home-text .subtitle .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    display: inline-block;
}

.home-text .intro-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 500px;
}

.home-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-gradient {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius-xs);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(244, 154, 239, 0.2);
    letter-spacing: 0.3px;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 154, 239, 0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--border-radius-xs);
    border: 2px solid rgba(0,0,0,0.12);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--gradient-mid);
    background: rgba(255, 198, 217, 0.1);
    transform: translateY(-2px);
}

/* Social Bar */
.social-bar {
    display: flex;
    gap: 12px;
    padding-top: 24px;
    margin-top: auto;
    justify-content: center;
    width: 100%;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.04);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 154, 239, 0.3);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    width: 100%;
}

.section-header {
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-header .header-line {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    padding: 3px;
    box-shadow: var(--shadow-soft);
}

.about-photo-inner {
    width: 100%;
    height: 100%;
    border-radius: calc(var(--border-radius) - 2px);
    overflow: hidden;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-photo-inner .photo-placeholder {
    font-size: 64px;
    color: #ccc;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
}

.highlight-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}

.highlight-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.highlight-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.highlight-card .card-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.highlight-card .card-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* ============================================
   INFO SECTION
   ============================================ */
.info-section {
    width: 100%;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

.skill-item {
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    padding: 18px 22px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.skill-header h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-header span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
}

.skill-bar {
    height: 6px;
    background: rgba(0,0,0,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    width: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-item.animated .skill-bar-fill {
    /* width set via inline style */
}

/* Subsection */
.info-subsection {
    margin-bottom: 40px;
}

.info-subsection h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-subsection h3 i {
    color: var(--gradient-end);
}

/* Experience Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 24px;
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    padding: 20px 24px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-medium);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 24px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-mid), var(--gradient-end));
    border: 3px solid var(--bg-white);
    box-shadow: 0 0 0 3px rgba(244, 154, 239, 0.2);
}

.timeline-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.timeline-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.timeline-item .timeline-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: var(--text-primary);
    margin-top: 8px;
}

/* Education Cards */
.edu-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.edu-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.edu-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.edu-card .edu-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0 auto 14px;
}

.edu-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.edu-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--border-radius-xs);
    background: var(--bg-white);
    font-size: 0.92rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gradient-mid);
    box-shadow: 0 0 0 4px rgba(255, 198, 217, 0.15);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
}

.form-group .error-text {
    font-size: 0.78rem;
    color: #e74c3c;
    display: none;
}

.form-group input.error ~ .error-text,
.form-group textarea.error ~ .error-text {
    display: block;
}

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

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: var(--border-radius-xs);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(244, 154, 239, 0.2);
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    width: fit-content;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(244, 154, 239, 0.35);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0,0,0,0.2);
    border-top-color: var(--text-primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

.btn-submit.loading .spinner {
    display: block;
}

.btn-submit.loading .btn-text {
    display: none;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-success {
    display: none;
    padding: 16px 20px;
    border-radius: var(--border-radius-xs);
    background: #d4edda;
    color: #155724;
    font-size: 0.9rem;
    font-weight: 500;
    align-items: center;
    gap: 10px;
}

.form-success.show {
    display: flex;
}

.form-error-msg {
    display: none;
    padding: 16px 20px;
    border-radius: var(--border-radius-xs);
    background: #f8d7da;
    color: #721c24;
    font-size: 0.9rem;
    font-weight: 500;
    align-items: center;
    gap: 10px;
}

.form-error-msg.show {
    display: flex;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.contact-info-card .info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.contact-info-card .info-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.contact-info-card .info-text p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.contact-info-card .info-text a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact-info-card .info-text a:hover {
    color: var(--text-primary);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--border-radius-xs);
    background: #25D366;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
    color: white;
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-section {
    width: 100%;
}

.section-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 2px solid rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    border-color: var(--gradient-mid);
    color: var(--text-primary);
    background: rgba(255, 198, 217, 0.08);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: var(--text-primary);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(244, 154, 239, 0.25);
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.portfolio-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Portfolio Thumbnail */
.portfolio-card-thumb {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.portfolio-card-thumb.thumb-green {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}
.portfolio-card-thumb.thumb-blue {
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.portfolio-card-thumb.thumb-orange {
    background: linear-gradient(135deg, #f6d365, #fda085);
}
.portfolio-card-thumb.thumb-purple {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}
.portfolio-card-thumb.thumb-teal {
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
}

.portfolio-card:hover .portfolio-card-thumb {
    transform: scale(1.02);
}

.portfolio-card:hover .portfolio-card-thumb i {
    transform: scale(1.15) rotate(5deg);
    color: rgba(255,255,255,0.8);
}

.portfolio-card-thumb i {
    transition: all 0.4s ease;
    z-index: 2;
}

/* Portfolio Overlay */
.portfolio-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
}

.portfolio-category {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255,255,255,0.92);
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Portfolio Card Body */
.portfolio-card-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portfolio-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    color: var(--text-primary);
}

.portfolio-card-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 14px;
    flex: 1;
}

/* Portfolio Meta / Result */
.portfolio-meta {
    margin-bottom: 14px;
}

.portfolio-result {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(244, 154, 239, 0.1);
    color: #9b3da8;
}

.portfolio-result i {
    font-size: 0.75rem;
}

/* Portfolio Tags */
.portfolio-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portfolio-tags span {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.73rem;
    font-weight: 600;
    background: #f5f5f5;
    color: var(--text-muted);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-tags span {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    color: var(--text-primary);
    border-color: transparent;
}

/* ============================================
   CLIENT SECTION
   ============================================ */
.client-section {
    width: 100%;
}

/* Client Stats Bar */
.client-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    padding: 24px 32px;
    margin-bottom: 36px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.client-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
}

.stats-bar-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    justify-content: center;
}

.stats-bar-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.stats-bar-info {
    display: flex;
    flex-direction: column;
}

.stats-bar-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stats-bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.stats-bar-divider {
    width: 1px;
    height: 40px;
    background: rgba(0,0,0,0.08);
    flex-shrink: 0;
}

/* Client Sub Heading */
.client-sub-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
}

.client-sub-heading i {
    color: var(--gradient-end);
    font-size: 1.1rem;
}

/* Client Grid */
.client-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
}

.client-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* Client Card Accent */
.client-card-accent {
    height: 4px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
}

.client-card-accent.accent-blue {
    background: linear-gradient(90deg, #667eea, #764ba2);
}
.client-card-accent.accent-green {
    background: linear-gradient(90deg, #11998e, #38ef7d);
}
.client-card-accent.accent-orange {
    background: linear-gradient(90deg, #f6d365, #fda085);
}
.client-card-accent.accent-purple {
    background: linear-gradient(90deg, #a18cd1, #fbc2eb);
}
.client-card-accent.accent-teal {
    background: linear-gradient(90deg, #89f7fe, #66a6ff);
}

/* Client Card Content */
.client-card-content {
    padding: 24px;
}

.client-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.client-card:hover .client-icon {
    transform: scale(1.1) rotate(-3deg);
}

.client-icon.icon-blue {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}
.client-icon.icon-green {
    background: linear-gradient(135deg, #11998e, #38ef7d);
    color: white;
}
.client-icon.icon-orange {
    background: linear-gradient(135deg, #f6d365, #fda085);
}
.client-icon.icon-purple {
    background: linear-gradient(135deg, #a18cd1, #fbc2eb);
}
.client-icon.icon-teal {
    background: linear-gradient(135deg, #89f7fe, #66a6ff);
}

.client-card h4 {
    font-size: 0.98rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.client-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Client Badge */
.client-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(39, 174, 96, 0.08);
    color: #27ae60;
}

.client-badge i {
    font-size: 0.7rem;
}

/* Client Testimonial */
.client-testimonial {
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}

.client-testimonial::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
}

.testimonial-quote-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 18px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    flex-shrink: 0;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   BLOG SECTION
   ============================================ */
.blog-section {
    width: 100%;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.blog-card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.6);
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-body .blog-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-body .read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s ease;
}

.blog-card-body .read-more:hover {
    gap: 10px;
    color: #c44de0;
}

/* ============================================
   COURSES SECTION
   ============================================ */
.courses-section {
    width: 100%;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.course-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.course-card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255,255,255,0.7);
    overflow: hidden;
    position: relative;
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-card-image .course-price {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.course-card-body {
    padding: 20px;
}

.course-card-body h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.course-card-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-enroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--border-radius-xs);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(244, 154, 239, 0.2);
}

.btn-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 154, 239, 0.3);
}

/* ============================================
   LOADING STATE
   ============================================ */
.loading-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.skeleton-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-xs);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.skeleton-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(90deg, #e0e0e0 25%, #efefef 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.skeleton-body {
    padding: 20px;
}

.skeleton-line {
    height: 12px;
    background: linear-gradient(90deg, #e0e0e0 25%, #efefef 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
    margin-bottom: 10px;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.medium {
    width: 80%;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-in {
    animation: fadeInUp 0.5s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }
.animate-delay-6 { animation-delay: 0.6s; }

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    z-index: 1000;
    padding: 12px 20px;
    box-shadow: var(--shadow-soft);
    align-items: center;
    justify-content: space-between;
}

.mobile-header .mobile-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-header .mobile-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    padding: 2px;
    overflow: hidden;
}

.mobile-header .mobile-profile-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.mobile-header .mobile-profile-img .profile-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #bbb;
}

.mobile-header .mobile-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.hamburger-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.3rem;
    color: var(--text-primary);
    background: rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.hamburger-btn:hover {
    background: rgba(0,0,0,0.08);
}

/* Mobile Overlay Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.mobile-menu-overlay.show {
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--bg-white);
    z-index: 1001;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
}

.mobile-menu.show {
    right: 0;
}

.mobile-menu-header {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.mobile-close-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.1rem;
    color: var(--text-primary);
    background: rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.mobile-close-btn:hover {
    background: rgba(0,0,0,0.08);
}

.mobile-nav {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: var(--border-radius-xs);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav .nav-item:hover {
    background: rgba(0,0,0,0.04);
    color: var(--text-primary);
}

.mobile-nav .nav-item.active {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
    color: var(--text-primary);
    font-weight: 600;
}

.mobile-nav .nav-item i {
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
}

.mobile-nav-divider {
    height: 1px;
    background: rgba(0,0,0,0.06);
    margin: 8px 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .portfolio-wrapper {
        padding: 16px;
        gap: 16px;
    }

    .sidebar {
        width: 240px;
        min-width: 240px;
    }

    .sidebar-content {
        padding: 24px 16px;
    }

    .profile-image-wrapper {
        width: 100px;
        height: 100px;
    }

    .section-panel {
        padding: 28px;
    }

    .home-hero {
        gap: 32px;
    }

    .home-photo {
        width: 220px;
        height: 220px;
    }

    .home-text h1 {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 220px 1fr;
        gap: 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }

    .sidebar {
        display: none;
    }

    .portfolio-wrapper {
        flex-direction: column;
        padding: 0;
        padding-top: 64px;
    }

    .content-panel {
        width: 100%;
    }

    .content-panel-inner {
        border-radius: 0;
        padding: 0;
        min-height: calc(100vh - 64px);
        background: none;
        box-shadow: none;
    }

    .content-panel-body {
        border-radius: 0;
        min-height: calc(100vh - 64px);
        background: #F5F5F5;
    }

    .top-nav {
        padding: 12px 16px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .top-nav .top-nav-item {
        padding: 6px 14px;
        font-size: 0.82rem;
    }

    .section-panel {
        padding: 24px 20px;
    }

    /* Home Mobile */
    .home-hero {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .home-photo {
        width: 180px;
        height: 180px;
    }

    .home-text h1 {
        font-size: 1.75rem;
    }

    .home-text .subtitle {
        justify-content: center;
    }

    .home-text .intro-text {
        margin-left: auto;
        margin-right: auto;
    }

    .home-cta-buttons {
        justify-content: center;
    }

    .social-bar {
        justify-content: center;
    }

    /* About Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-photo {
        max-width: 250px;
        margin: 0 auto;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    /* Info Mobile */
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .edu-cards {
        grid-template-columns: 1fr;
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Blog Mobile */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-filter {
        justify-content: center;
    }

    /* Client Mobile */
    .client-grid {
        grid-template-columns: 1fr;
    }

    .client-stats-bar {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .stats-bar-divider {
        width: 100%;
        height: 1px;
    }

    .stats-bar-item {
        justify-content: flex-start;
        width: 100%;
        padding-left: 8px;
    }

    /* Courses Mobile */
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .loading-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .section-panel {
        padding: 20px 16px;
    }

    .home-text h1 {
        font-size: 1.5rem;
    }

    .home-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary-gradient,
    .btn-outline {
        justify-content: center;
    }

    .home-photo {
        width: 150px;
        height: 150px;
    }

    .timeline {
        padding-left: 28px;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .sidebar, .mobile-header, .mobile-menu, .mobile-menu-overlay, .top-nav {
        display: none !important;
    }

    .portfolio-wrapper {
        display: block;
    }

    .section-panel {
        position: static;
        opacity: 1;
        transform: none;
        pointer-events: all;
        page-break-after: always;
    }

    .content-panel-inner {
        background: none;
        box-shadow: none;
        padding: 0;
    }
}
