/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

[dir="rtl"] *{
    font-family: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .header-menu,
[dir="rtl"] .nav-item,
[dir="rtl"] .blog-meta,
[dir="rtl"] .project-meta,
[dir="rtl"] .info-item,
[dir="rtl"] .quick-link-item i {
    margin-left: 8px;
    margin-right: 0;
}

[dir="rtl"] .fa-arrow-right:before {
    content: "\f060"; /* Font Awesome RTL arrow */
}

:root {
    /* Alluring Rumors - Behr 2025 Color Palette */
    /* Primary Colors */
    --primary-bg: #1a1a1a;
    --card-bg: rgba(36, 36, 36, 0.85);
    
    /* Accent Colors from Behr 2025 Palette */
    --accent-olive: #717051;        /* Olive green - Main accent */
    --accent-burgundy: #7B4C4F;     /* Burgundy/Mauve */
    --accent-peach: #F6C886;        /* Peach/Gold */
    --accent-cream: #F1EDE2;        /* Cream/Beige */
    --accent-slate: #4E505F;        /* Dark slate blue */
    
    /* Primary accent (using olive as main) */
    --accent-blue: #717051;
    --accent-blue-rgb: 113, 112, 81;
    
    /* Secondary accent */
    --accent-red: #7B4C4F;
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-accent: #F6C886;         /* Peach for highlights */
    
    /* UI Elements */
    --card-border: rgba(113, 112, 81, 0.2);
    --hover-bg: rgba(113, 112, 81, 0.15);
    
    /* Gradients */
    --gradient-dark: linear-gradient(145deg, rgba(36, 36, 36, 0.85), rgba(26, 26, 26, 0.95));
    --glass-gradient: linear-gradient(145deg, rgba(113, 112, 81, 0.08), rgba(78, 80, 95, 0.05));
}

/* Light Mode Variables */
[data-theme="light"] {
    /* Primary Colors */
    --primary-bg: #f5f5f5;
    --card-bg: rgba(255, 255, 255, 0.95);
    
    /* Keep accent colors consistent */
    --accent-olive: #5a5a41;        /* Slightly darker for better contrast */
    --accent-burgundy: #6a3d40;     
    --accent-peach: #d4a96c;        
    --accent-cream: #e8e4d9;        
    --accent-slate: #3d3f4d;        
    
    /* Primary accent */
    --accent-blue: #5a5a41;
    --accent-blue-rgb: 90, 90, 65;
    
    /* Secondary accent */
    --accent-red: #6a3d40;
    
    /* Text colors - inverted */
    --text-primary: #1a1a1a;
    --text-secondary: rgba(26, 26, 26, 0.7);
    --text-accent: #d4a96c;
    
    /* UI Elements */
    --card-border: rgba(90, 90, 65, 0.15);
    --hover-bg: rgba(90, 90, 65, 0.1);
    
    /* Gradients */
    --gradient-dark: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.98));
    --glass-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6));
}

/* Light Mode Explicit Text Color Overrides */
[data-theme="light"] body,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] div,
[data-theme="light"] a,
[data-theme="light"] li,
[data-theme="light"] label {
    color: #1a1a1a !important;
}

[data-theme="light"] .card,
[data-theme="light"] .card * {
    color: #1a1a1a !important;
}

[data-theme="light"] i,
[data-theme="light"] .fas,
[data-theme="light"] .far,
[data-theme="light"] .fab {
    color: #5a5a41 !important;
}

/* RTL Font Support */
[dir="rtl"] body,
[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select,
[dir="rtl"] button {
    font-family: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.8; /* Better for Arabic text */
    letter-spacing: 0;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-family: 'Cairo', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-weight: 700;
}

body {
    background-color: var(--primary-bg);
    background-image: 
        linear-gradient(145deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7)),
        url('https://images.unsplash.com/photo-1614850523459-c2f4c699c52e?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

/* Light mode body background */
[data-theme="light"] body {
    background-image: 
        linear-gradient(145deg, rgba(245, 245, 245, 0.95), rgba(255, 255, 255, 0.9)),
        url('https://images.unsplash.com/photo-1614850523459-c2f4c699c52e?auto=format&fit=crop&w=1920&q=80');
}

body.menu-open {
    overflow: hidden;
}

body.menu-open::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 100px;
    position: relative;
}
@media (max-width: 768px) {
    .container {
        padding: 10px !important;
    }
}

/* Common Card Styles */
.card {
    background: var(--glass-gradient);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    animation: fadeIn 0.5s ease forwards;
}

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

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Common Button Styles */
.section-btn-center {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
}

.btn {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.btn.active {
    background: var(--accent-blue);
    border-color: rgba(113, 112, 81, 0.5);
    box-shadow: 0 0 15px rgba(113, 112, 81, 0.3);
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px 0;
}

.welcome-section h1 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.welcome-section h2 {
    font-size: 2rem;
    font-weight: 600;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Desktop: nav left, profile-pic right */
@media (min-width: 769px) {
    .header-controls {
        width: 100%;
        justify-content: space-between;
    }
	
    .header-controls .header-nav {
        order: 1;
        margin-right: auto;
    }
    .header-controls .profile-pic {
        order: 2;
    }
	[dir="rtl"] .header-controls{
	    flex-direction: row-reverse;
	}
}


/* Bottom Navigation */
.bottom-nav {
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--card-border);
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: none; /* Hide on desktop by default */
    justify-content: center;
    gap: 40px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item i {
    font-size: 1.4rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

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

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .bottom-nav {
        display: flex; /* Show on mobile */
        padding: 10px;
        gap: 10px;
        justify-content: space-around;
        border-top: 1px solid var(--card-border);
    }

    .nav-item {
        padding: 8px 12px;
        flex: 1;
        min-width: 60px;
        max-width: 80px;
    }

    .nav-item i {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }

    .nav-item span {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {

    
    .header {
        flex-direction: column;
        gap: 20px;
    }
    
    .header-controls {
        width: 100%;
        justify-content: space-between;
    }
} 


.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.cta-primary, .cta-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-primary {
    background: var(--accent-blue);
    color: var(--text-primary);
    border: none;
}

.cta-secondary {
    background: var(--glass-gradient);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-2px);
}

.cta-primary:hover {
    background: var(--accent-burgundy);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.3);
}

.cta-secondary:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.1);
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px 0;
}

.welcome-section h1 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.welcome-section h2 {
    font-size: 2rem;
    font-weight: 600;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn.active {
    background: var(--accent-blue);
    border-color: rgba(113, 112, 81, 0.5);
    box-shadow: 0 0 15px rgba(113, 112, 81, 0.3);
}

.profile-pic img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--card-border);
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: background-color 0.3s;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s;
}

.hamburger-icon::before {
    top: -6px;
}

.hamburger-icon::after {
    bottom: -6px;
}

.mobile-menu-toggle.active .hamburger-icon {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu li a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-menu li a:hover {
    background: var(--hover-bg);
}

/* Header Menu Styles */
.header-menu {
    display: flex;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu li {
    margin: 0;
}

.header-menu .btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        backdrop-filter: blur(20px);
        padding: 80px 24px 24px;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(100%);
        z-index: 1000;
        border-left: 1px solid var(--card-border);
        align-items: flex-start;
    }

    .header-nav.active {
        right: 0;
        transform: translateX(0);
    }

    .header-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .header-menu .btn {
        width: 100%;
        padding: 12px 16px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        padding: 12px; /* Larger touch target */
    }

    .header-menu {
        flex-direction: column;
        gap: 16px;
    }

    .header-menu li a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 16px;
        font-size: 1.1rem;
        border-radius: 12px;
        background: var(--glass-gradient);
        border: 1px solid var(--card-border);
    }

    /* Improve grid layouts on mobile */
    .dashboard-grid {
        padding: 12px;
        gap: 16px;
    }


    /* Improve form elements on mobile */
    input,
    textarea,
    select {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 12px;
    }

    /* Better button touch targets */
    .btn,
    .submit-btn,
    .cta-primary,
    .cta-secondary {
        padding: 12px 20px;
        min-height: 44px;
    }
}

/* Custom Sidebar Styles */
.sidebar {
    position: sticky !important;
    top: 3rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar .card-header {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--card-border);
}

.quick-links-grid,
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.quick-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.15);
}

.quick-link-item i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.quick-link-item.whatsapp {
    border-color: #25D366;
}

.quick-link-item.whatsapp i {
    color: #25D366;
}

.quick-link-item.whatsapp:hover {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.15);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.info-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 10px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
    margin-top: 3px;
}

.info-content h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.info-content p, 
.info-content a {
    color: var(--text-primary);
    text-decoration: none;
}

.availability {
    margin-top: 20px;
    padding: 15px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.status-text {
    color: var(--text-primary);
    font-weight: 500;
}

.availability-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-left: 18px;
}

@media (max-width: 768px) {
    .quick-links-grid,
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .info-item {
        flex-direction: row;
        align-items: flex-start;
    }
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin: 20px auto;
    max-width: var(--max-width);
    padding: 0 20px;
    align-items: start; /* This ensures sidebar and main content align properly */
}

@media (max-width: 768px) {
    .dashboard-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    main.card,
    aside.card {
        grid-column: 1 / -1 !important;
    }

    .sidebar {
        position: static; /* Remove sticky positioning on mobile */
    }
}

@media (max-width: 768px) {
    .dashboard-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    main.card,
    aside.card {
        grid-column: 1 / -1 !important;
    }

    .sidebar {
        gap: 15px;
    }

    .quick-links-grid,
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-link-item {
        padding: 12px;
    }

    .quick-link-item i {
        font-size: 1.2rem;
    }

    .quick-link-item span {
        font-size: 0.9rem;
    }

    .contact-info {
        gap: 10px;
    }

    .info-item {
        padding: 10px;
    }
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--accent-blue);
    clip: auto !important;
    clip-path: none;
    color: var(--text-primary);
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}


.wp-block-list li a{
	color: #d0a55d;
	text-decoration: none;
}

.logged-in-as a{
	text-decoration: none;
}

.share-buttons li a{
	text-decoration: none;
}

.wp-block-list{
	margin-left: 15px;
}

.wp-block-rank-math-toc-block nav{
	margin-left: 30px;
}

.wp-block-rank-math-toc-block{
	margin-bottom: 1.5rem;
}

.wp-block-rank-math-toc-block nav ul li a {
	color: var(--accent-blue);
	text-decoration: none;
}


.skills-filters, .project-filters{
	display: none;
}


@media (max-width: 768px) {
    .skill-circle {
        margin-left: 0px;
    }
	.dashboard-grid{
		padding: 0px !important;
	}
	.card{
		padding: 0px 10px !important;
	}
	.welcome-section{
		display: none;
	}
}

.comment-form{
	display: block !important;
}

/* Container for the navigation links */
.blog-title {
    font-weight: bold;
    text-transform: capitalize;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
}

.blog-title a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.blog-title a:hover {
    color: #d9534f;
    transform: scale(1.05);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  padding: 10px;
}

.post-nav-links a {
  display: flex;
  align-items: center;
  color: var(--accent-blue); 
  text-decoration: none;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.post-nav-links a:hover {
  color: var(--text-primary);
}


.post-nav-links a i {
  margin-right: 8px;
  font-size: 1.2em;
}

/* Styling for the text within the link */
.post-nav-links a span {
  display: flex;
  flex-direction: column;
}

.post-nav-links a span small {
  font-size: 0.8em;
  color: #6c757d; /* Bootstrap secondary text color */
}


.blog-category a{
  color: var(--accent-blue);
  text-decoration: none; 
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
}

.blog-category a:hover{
	color: var(--text-primary);
}

form.wp-block-search__button-outside{
	display: none;
}

#block-3, #block-4, #block-5, #block-6{
	display: none ;
}



/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* NOTE: Duplicate :root and body sections removed - see top of file for the main styles with light mode support */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 100px;
    position: relative;
}

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px 0;
}

.welcome-section h1 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.welcome-section h2 {
    font-size: 2rem;
    font-weight: 600;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn.active {
    background: var(--accent-blue);
    border-color: rgba(113, 112, 81, 0.5);
    box-shadow: 0 0 15px rgba(113, 112, 81, 0.3);
}

.profile-pic img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--card-border);
}

/* Dashboard Grid Layout */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

/* Card Sizes */
.about-card {
    grid-column: span 4;
}

.skills-card {
    grid-column: span 8;
}

.stats-card {
    grid-column: span 12;
}

.projects-card {
    grid-column: span 12;
}

.contact-form-card {
    grid-column: span 8;
}

.contact-card {
    grid-column: span 4;
}

/* Card Styles */
.card {
    background: var(--glass-gradient);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    transform: rotate(45deg);
    pointer-events: none;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 48%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 52%
    );
    z-index: 1;
    pointer-events: none;
}

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

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Work Status Card */
.work-status-card .time-display {
    text-align: center;
    margin: 20px 0;
}

.time-display .time {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-blue);
}

.status-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.action-btn {
    padding: 12px;
    border-radius: 8px;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: var(--accent-blue);
    grid-column: 1 / -1;
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
}

.action-btn.danger {
    background: var(--accent-red);
}

/* Metric Bars */
.metric-bar {
    margin-bottom: 20px;
}

.metric-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.metric-value {
    color: var(--text-primary);
    font-weight: 500;
}

.progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

.progress::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-peach));
    border-radius: 3px;
    width: var(--width, 0%);
    transition: width 1s ease-out;
    box-shadow: 0 0 10px rgba(113, 112, 81, 0.3);
}

.progress.negative::after {
    background: linear-gradient(90deg, var(--accent-red), #ff6666);
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

/* Financial Overview */
.metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric-box {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.metric-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
}

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

.trend {
    font-size: 0.9rem;
}

.trend.positive {
    color: #4CAF50;
}

.trend.negative {
    color: var(--accent-red);
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 600;
}

/* Attendance Summary */
.attendance-metric {
    margin-bottom: 20px;
}

.metric-number {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 10px 0;
}

.progress-bar .progress {
    height: 100%;
    border-radius: 4px;
    background: var(--accent-blue);
}

.progress-bar .progress.negative {
    background: var(--accent-red);
}

/* Approval Queue */
.approval-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.approval-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-info img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.details h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.type {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.actions {
    display: flex;
    gap: 8px;
}

.btn-approve {
    background: var(--accent-blue);
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-approve::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 48%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 52%
    );
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-approve:hover::after {
    transform: translateX(100%);
}

.btn-reject {
    padding: 6px 10px;
    background: rgba(255, 0, 0, 0.2);
    border: none;
    border-radius: 4px;
    color: var(--accent-red);
    cursor: pointer;
}

/* Bottom Navigation */
.bottom-nav {
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--card-border);
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 40px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item i {
    font-size: 1.4rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

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



/* Responsive Design */
@media (max-width: 768px) {
    
    .header {
        flex-direction: column;
        gap: 20px;
			margin-bottom: 0px !important;
			padding: 0px !important;
    }
	
    .nav-item i {
        font-size: 0.9rem !important;
    }
	
	.nav-item{
		padding: 5px 10px !important;
	}
	.bottom-nav{
		gap: 0px !important;
		padding: 5px 0 !important;
	}
    
    .header-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    animation: fadeIn 0.5s ease forwards;
}

/* Additional styles for new elements */
.date-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.calendar-icon {
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--glass-gradient);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--card-border);
}

.calendar-icon i {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.calendar-icon span {
    font-size: 1.1rem;
    font-weight: 600;
}

.date-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.location-info, .clock-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.action-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.action-link.active {
    color: var(--accent-blue);
}

.badge {
    background: rgba(113, 112, 81, 0.2);
    color: var(--accent-blue);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.status.approved {
    color: #4CAF50;
    font-size: 0.9rem;
}

.metric-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.time {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Enhanced glossy effects */
.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    transform: rotate(45deg);
    pointer-events: none;
}

.metric-box {
    position: relative;
    overflow: hidden;
}

.metric-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
}

.progress {
    position: relative;
    overflow: hidden;
}

.progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(200%);
    }
}

/* Enhanced button styles */
.btn-approve {
    background: var(--accent-blue);
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    color: var(--text-primary);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-approve::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 48%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 52%
    );
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.btn-approve:hover::after {
    transform: translateX(100%);
}

/* Additional Portfolio Styles */
.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tech-tag {
    background: var(--glass-gradient);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(113, 112, 81, 0.2);
    border-color: var(--accent-blue);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project-item {
    background: var(--glass-gradient);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 16px rgba(113, 112, 81, 0.15);
}

.project-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-item p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.2);
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

/* Enhanced Navigation Styles */
.bottom-nav {
    background: var(--glass-gradient);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--card-border);
    padding: 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.bottom-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover::before,
.nav-item.active::before {
    width: 80%;
}

.nav-item i {
    font-size: 1.4rem;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.nav-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-item:hover,
.nav-item.active {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

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

/* Enhanced Header Controls */
.header-controls .btn {
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.header-controls .btn:hover {
    background: var(--accent-blue);
    color: var(--text-primary);
}

.header-controls .btn.active {
    background: var(--accent-blue);
    color: var(--text-primary);
}

/* Skills Section Styles */
.skills-card {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    margin-bottom: 20px;
}

.skills-group {
    margin-bottom: 30px;
    animation: fadeIn 0.5s ease forwards;
}

.skills-group:last-child {
    margin-bottom: 0;
}

.skills-group-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
}

.skills-group-header i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.skills-group-header h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

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

.skill-item {
    padding: 20px;
}

.skill-info {
    text-align: center;
    margin-bottom: 15px;
    z-index: 1;
}

.skill-name {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 5px;
}

.skill-percentage {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 600;
}

.skill-circle {
    width: 80px;
    height: 80px;
}

.skill-circle path {
    fill: none;
    stroke: var(--card-border);
    stroke-width: 2.8;
    stroke-linecap: round;
}

.skill-circle path:last-child {
    stroke: var(--accent-blue);
    stroke-dasharray: 100 100;
    stroke-dashoffset: calc(100 - var(--percent));
    transition: stroke-dashoffset 1s ease;
}

/* Add animation for skill circles */
@keyframes fillCircle {
    from {
        stroke-dashoffset: 100;
    }
    to {
        stroke-dashoffset: var(--final-offset);
    }
}

/* Update the JavaScript initialization for skills */
.skill-item[data-level] path:last-child {
    --percent: attr(data-level);
    animation: fillCircle 1.5s ease forwards;
}

/* Contact Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(113, 112, 81, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.submit-btn {
    background: var(--accent-blue);
    color: var(--text-primary);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
		margin-top: 15px;
}

.submit-btn:hover {
    background: var(--accent-burgundy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.3);
}

/* WhatsApp Contact Item */
.contact-item.whatsapp {
    background: linear-gradient(145deg, rgba(37, 211, 102, 0.1), rgba(37, 211, 102, 0.05));
}

.contact-item.whatsapp i {
    color: #25D366;
}

.contact-item.whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* Enhanced Contact Grid */
.contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.contact-item {
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.contact-item i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .about-card {
        grid-column: span 12;
    }

    .skills-card {
        grid-column: span 12;
    }

    .stats-card {
        grid-column: span 12;
    }
	.bottom-nav {
    gap: 15px !important;
	}
	.nav-item i{
		font-size: 1.2rem !important;
	}
	.nav-item span{
		font-size: 0.8rem !important;
	}
}

@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-card,
    .skills-card,
    .stats-card,
    .projects-card,
    .contact-form-card,
    .contact-card {
        grid-column: span 12;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
}

/* Enhanced About Me Styles */
.profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
    border: 2px solid var(--card-border);
    background: var(--glass-gradient);
    transition: all 0.3s ease;
}

.profile-image img:hover {
    border-color: var(--accent-blue);
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(113, 112, 81, 0.15);
}

.profile-details {
    flex-grow: 1;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.profile-title {
    display: block;
    font-size: 1.1rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.about-section {
    margin-bottom: 25px;
}

.key-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    background: var(--glass-gradient);
    border-radius: 10px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.1);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 8px;
}

.highlight-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.expertise-areas {
    margin: 25px 0;
}

.expertise-areas h5 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.expertise-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.expertise-list li {
    position: relative;
    padding-left: 25px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.expertise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.cta-primary, .cta-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-primary {
    background: var(--accent-blue);
    color: var(--text-primary);
    border: none;
}

.cta-secondary {
    background: var(--glass-gradient);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.cta-primary:hover, .cta-secondary:hover {
    transform: translateY(-2px);
}

.cta-primary:hover {
    background: var(--accent-burgundy);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.3);
}

.cta-secondary:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.1);
}

/* Responsive adjustments for About section */
@media (max-width: 768px) {
    .profile-info {
        flex-direction: column;
        text-align: center;
    }

    .profile-details {
        align-items: center;
    }

    .profile-location {
        justify-content: center;
    }

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

    .expertise-list {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

/* Project Showcase Styles */
.project-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.project-showcase img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.project-card {
    background: var(--glass-gradient);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card .card-content {
    padding: 20px;
}

.project-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.project-card p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.view-project {
    display: inline-block;
    padding: 8px 16px;
    background: var(--glass-gradient);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.view-project:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Social Links Styles */
.social-links {
    margin: 25px 0;
    padding: 20px 0;
    border-top: 1px solid var(--card-border);
}

.social-links h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.2);
}

.social-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

/* Quick Links Styles */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.2);
}

.quick-link-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

/* Contact Info Styles */
.contact-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 15px;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
    margin-top: 3px;
}

.info-content h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Availability Styles */
.availability {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

.availability h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4CAF50;
}

.status-indicator.online {
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.status-text {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.availability-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .project-showcase {
        grid-template-columns: 1fr;
    }

    .project-grid-container {
        grid-template-columns: 1fr;
    }

    .social-grid,
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-item i {
        margin-bottom: 10px;
    }
}

/* Animation for project cards */
@keyframes projectCardHover {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

.project-card:hover {
    animation: projectCardHover 0.3s ease forwards;
}

/* Enhanced hover effects */
.project-card:hover .tech-tag {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

.social-item:hover i,
.quick-link-item:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Blog Showcase Styles */
.blog-showcase-card {
    grid-column: span 12;
}

.blog-showcase-card .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.blog-showcase-card .blog-card {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-showcase-card .blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 16px rgba(113, 112, 81, 0.15);
}

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

.blog-showcase-card .blog-content {
    padding: 20px;
}

.blog-showcase-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.blog-showcase-card .blog-date,
.blog-showcase-card .blog-category {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.blog-showcase-card .blog-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-showcase-card .blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-showcase-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-showcase-card .read-more:hover {
    transform: translateX(5px);
}

/* Responsive adjustments for blog showcase */
@media (max-width: 768px) {
    .blog-showcase-card .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* Custom Animation Styles for Bakry Portfolio Theme */

/* Profile image hover effect */
.profile-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Skill items enhanced animation */
.skill-item {
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-5px);
}

/* Project items hover effect */
.project-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Blog cards hover effect */
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Contact form elements focus animation */
.form-group input:focus,
.form-group textarea:focus {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

/* Social links hover animation */
.social-item {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-item:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Contact info items hover effect */
.info-item {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
}

/* Submit button hover animation */
.submit-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Loading animation for submit button */
.submit-btn.loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Skill circle animation enhancement */
.skill-circle-progress {
    transition: stroke-dashoffset 1.5s ease-in-out;
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .profile-image:hover,
    .skill-item:hover,
    .project-item:hover,
    .blog-card:hover,
    .social-item:hover,
    .info-item:hover,
    .submit-btn:hover {
        transform: none;
    }
} 
/* Modern Slider Styles for Bakry Portfolio Theme - Front Page Only */

/* Target only front page */
body.page-template-front-page .slider-controls,
body.home .slider-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

body.page-template-front-page .swiper-navigation,
body.home .swiper-navigation {
    display: flex;
    gap: 0.5rem;
}

body.page-template-front-page .swiper-navigation button,
body.home .swiper-navigation button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-blue);
    background: transparent;
    color: var(--accent-blue);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

body.page-template-front-page .swiper-navigation button:hover,
body.home .swiper-navigation button:hover {
    background: var(--accent-blue);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.3);
}

body.page-template-front-page .swiper-navigation button:active,
body.home .swiper-navigation button:active {
    transform: scale(0.95);
}

/* Swiper Container Styles */
body.page-template-front-page .swiper,
body.home .swiper {
    width: 100%;
    height: auto;
    padding: 20px 0;
}

body.page-template-front-page .swiper-wrapper,
body.home .swiper-wrapper {
    align-items: stretch;
}

body.page-template-front-page .swiper-slide,
body.home .swiper-slide {
    height: auto;
    display: flex;
}

/* Projects Slider Styles */
body.page-template-front-page .projects-swiper .swiper-slide,
body.home .projects-swiper .swiper-slide {
    padding: 0 10px;
}

body.page-template-front-page .projects-swiper .project-item,
body.home .projects-swiper .project-item {
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0px;
}

body.page-template-front-page .projects-swiper .project-item:hover,
body.home .projects-swiper .project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body.page-template-front-page .project-image-wrapper,
body.home .project-image-wrapper {
    position: relative;
    overflow: hidden;
}

body.page-template-front-page .project-image,
body.home .project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

body.page-template-front-page .project-item:hover .project-image,
body.home .project-item:hover .project-image {
    transform: scale(1.05);
}

body.page-template-front-page .project-content,
body.home .project-content {
    padding: 0px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.page-template-front-page .project-content h4,
body.home .project-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #1f2937);
}

body.page-template-front-page .project-content p,
body.home .project-content p {
    margin: 0 0 1rem 0;
    color: var(--text-secondary, #6b7280);
    line-height: 1.5;
    font-size: 0.9rem;
    flex: 1;
}

body.page-template-front-page .tech-stack,
body.home .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

body.page-template-front-page .tech-tag,
body.home .tech-tag {
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
}

.project-content h3 {
    padding: 20px 20px 0px;
}


body.page-template-front-page .project-actions,
body.home .project-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

body.page-template-front-page .cta-primary,
body.page-template-front-page .cta-secondary,
body.home .cta-primary,
body.home .cta-secondary {
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: center;
}

body.page-template-front-page .cta-primary,
body.home .cta-primary {
    background: var(--accent-blue);
    color: white;
}

body.page-template-front-page .cta-secondary,
body.home .cta-secondary {
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
}

body.page-template-front-page .cta-primary:hover,
body.home .cta-primary:hover {
    background: var(--accent-burgundy);
    transform: translateY(-1px);
}

body.page-template-front-page .cta-secondary:hover,
body.home .cta-secondary:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-1px);
}

/* Blog Slider Styles */
body.page-template-front-page .blog-swiper .swiper-slide,
body.home .blog-swiper .swiper-slide {
    padding: 0 10px;
}

body.page-template-front-page .blog-swiper .blog-card,
body.home .blog-swiper .blog-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

body.page-template-front-page .blog-swiper .blog-card:hover,
body.home .blog-swiper .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body.page-template-front-page .blog-image-wrapper,
body.home .blog-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
}

body.page-template-front-page .blog-image,
body.home .blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-template-front-page .blog-overlay,
body.home .blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(113, 112, 81, 0.9), rgba(147, 51, 234, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body.page-template-front-page .blog-card:hover .blog-overlay,
body.home .blog-card:hover .blog-overlay {
    opacity: 1;
}

body.page-template-front-page .blog-card:hover .blog-image,
body.home .blog-card:hover .blog-image {
    transform: scale(1.1);
}

body.page-template-front-page .read-more-overlay,
body.home .read-more-overlay {
    color: white;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
}

body.page-template-front-page .read-more-overlay:hover,
body.home .read-more-overlay:hover {
    background: white;
    color: var(--accent-blue);
    transform: translateY(-2px);
}

body.page-template-front-page .blog-content,
body.home .blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body.page-template-front-page .blog-meta,
body.home .blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary, #6b7280);
}

body.page-template-front-page .blog-meta span,
body.home .blog-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

body.page-template-front-page .blog-title,
body.home .blog-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    line-height: 1.4;
}

body.page-template-front-page .blog-excerpt,
body.home .blog-excerpt {
    margin: 0 0 1rem 0;
    color: var(--text-secondary, #6b7280);
    line-height: 1.6;
    flex: 1;
}

body.page-template-front-page .read-more,
body.home .read-more {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

body.page-template-front-page .read-more:hover,
body.home .read-more:hover {
    gap: 12px;
    transform: translateX(4px);
}

/* Swiper Pagination Styles */
body.page-template-front-page .swiper-pagination,
body.home .swiper-pagination {
    position: relative;
    margin-top: 2rem;
}

body.page-template-front-page .swiper-pagination-bullet,
body.home .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--text-secondary, #6b7280);
    opacity: 0.3;
    transition: all 0.3s ease;
}

body.page-template-front-page .swiper-pagination-bullet-active,
body.home .swiper-pagination-bullet-active {
    background: var(--accent-blue);
    opacity: 1;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    body.page-template-front-page .slider-controls,
    body.home .slider-controls {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    body.page-template-front-page .swiper-navigation,
    body.home .swiper-navigation {
        align-self: flex-end;
    }
    
    body.page-template-front-page .swiper-navigation button,
    body.home .swiper-navigation button {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    body.page-template-front-page .project-content,
    body.page-template-front-page .blog-content,
    body.home .project-content,
    body.home .blog-content {
        padding: 1rem;
    }
    
    body.page-template-front-page .project-content h4,
    body.page-template-front-page .blog-title,
    body.home .project-content h4,
    body.home .blog-title {
        font-size: 1.1rem;
    }
    
    body.page-template-front-page .tech-stack,
    body.home .tech-stack {
        gap: 0.25rem;
    }
    
    body.page-template-front-page .tech-tag,
    body.home .tech-tag {
        font-size: 0.7rem;
        padding: 2px 8px;
    }
}

@media (max-width: 480px) {
    body.page-template-front-page .swiper,
    body.home .swiper {
        padding: 10px 0;
    }
    
    body.page-template-front-page .swiper-slide,
    body.home .swiper-slide {
        padding: 0 5px;
    }
    
    body.page-template-front-page .project-overlay .project-actions,
    body.home .project-overlay .project-actions {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    body.page-template-front-page .project-overlay .cta-primary,
    body.page-template-front-page .project-overlay .cta-secondary,
    body.home .project-overlay .cta-primary,
    body.home .project-overlay .cta-secondary {
        padding: 8px 16px;
        min-width: auto;
        font-size: 0.875rem;
    }
}

/* Loading Animation */
body.page-template-front-page .swiper-slide,
body.home .swiper-slide {
    animation: slideIn 0.6s ease-out;
}

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

/* Hover Effects for Navigation */
body.page-template-front-page .swiper-navigation button:focus,
body.home .swiper-navigation button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(113, 112, 81, 0.3);
}

/* Accessibility */
body.page-template-front-page .swiper-navigation button:focus-visible,
body.home .swiper-navigation button:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    body.page-template-front-page .swiper-slide,
    body.page-template-front-page .project-item,
    body.page-template-front-page .blog-card,
    body.page-template-front-page .project-image,
    body.page-template-front-page .blog-image,
    body.page-template-front-page .project-overlay,
    body.page-template-front-page .blog-overlay,
    body.home .swiper-slide,
    body.home .project-item,
    body.home .blog-card,
    body.home .project-image,
    body.home .blog-image,
    body.home .project-overlay,
    body.home .blog-overlay {
        transition: none;
        animation: none;
    }
    
    body.page-template-front-page .swiper-navigation button:hover,
    body.home .swiper-navigation button:hover {
        transform: none;
    }
}

/* RTL Support for Swiper Navigation */
[dir="rtl"] body.page-template-front-page .swiper-navigation,
[dir="rtl"] body.home .swiper-navigation {
    flex-direction: row-reverse;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 16px rgba(113, 112, 81, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.blog-date, .blog-category {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.blog-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

/* Blog Single Post Styles */
.blog-header {
    margin-bottom: 40px;
}

.blog-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin: 30px 0;
}

.blog-meta-single {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    color: var(--text-primary);
    font-weight: 500;
}

.blog-content-single {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.blog-content-single h2,
.blog-content-single h3 {
    color: var(--text-primary);
    margin: 30px 0 15px;
}

.blog-content-single p {
    margin-bottom: 20px;
}

.blog-content-single img {
    max-width: 100%;
    border-radius: 12px;
    margin: 30px 0;
}

/* ============================================
   Single post entry content – readability, code, lists, tags, SEO
   ============================================ */

/* Scoped to single post body only */
.blog-content .entry-content.single-post-content {
    --entry-line-height: 1.75;
    --entry-max-width: 65ch;
    --entry-code-bg: rgba(0, 0, 0, 0.25);
    --entry-code-border: rgba(113, 112, 81, 0.25);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: var(--entry-line-height);
    color: var(--text-secondary);
    max-width: var(--entry-max-width);
}

[data-theme="light"] .blog-content .entry-content.single-post-content {
    --entry-code-bg: rgba(0, 0, 0, 0.06);
    --entry-code-border: rgba(90, 90, 65, 0.2);
}

/* Headings – clear hierarchy, spacing, SEO-friendly */
.blog-content .entry-content.single-post-content h1,
.blog-content .entry-content.single-post-content h2,
.blog-content .entry-content.single-post-content h3,
.blog-content .entry-content.single-post-content h4,
.blog-content .entry-content.single-post-content h5,
.blog-content .entry-content.single-post-content h6 {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.blog-content .entry-content.single-post-content h1:first-child,
.blog-content .entry-content.single-post-content h2:first-child,
.blog-content .entry-content.single-post-content h3:first-child {
    margin-top: 0;
}

.blog-content .entry-content.single-post-content h2 { font-size: 1.5em; }
.blog-content .entry-content.single-post-content h3 { font-size: 1.25em; }
.blog-content .entry-content.single-post-content h4 { font-size: 1.1em; }
.blog-content .entry-content.single-post-content h5,
.blog-content .entry-content.single-post-content h6 { font-size: 1em; }

/* Paragraphs */
.blog-content .entry-content.single-post-content p {
    margin-bottom: 1.25em;
}

/* Links inside entry */
.blog-content .entry-content.single-post-content a {
    color: var(--accent-blue);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.blog-content .entry-content.single-post-content a:hover {
    color: var(--text-accent);
}

/* Inline code */
.blog-content .entry-content.single-post-content code {
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
    font-size: 0.9em;
    background: var(--entry-code-bg);
    border: 1px solid var(--entry-code-border);
    border-radius: 4px;
    padding: 0.2em 0.45em;
    word-break: break-word;
}

/* Code block (pre) */
.blog-content .entry-content.single-post-content pre {
    font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    background: var(--entry-code-bg);
    border: 1px solid var(--entry-code-border);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin: 1.5em 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.blog-content .entry-content.single-post-content pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
}

/* Lists – ul, ol */
.blog-content .entry-content.single-post-content ul,
.blog-content .entry-content.single-post-content ol {
    margin: 1em 0;
    padding-left: 1.5em;
}

.blog-content .entry-content.single-post-content li {
    margin-bottom: 0.4em;
}

.blog-content .entry-content.single-post-content ul ul,
.blog-content .entry-content.single-post-content ol ol,
.blog-content .entry-content.single-post-content ul ol,
.blog-content .entry-content.single-post-content ol ul {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

[dir="rtl"] .blog-content .entry-content.single-post-content ul,
[dir="rtl"] .blog-content .entry-content.single-post-content ol {
    padding-left: 0;
    padding-right: 1.5em;
}

/* Blockquote */
.blog-content .entry-content.single-post-content blockquote {
    margin: 1.5em 0;
    padding: 0.75em 1.25em;
    border-left: 4px solid var(--accent-blue);
    background: var(--glass-gradient);
    border-radius: 0 8px 8px 0;
    color: var(--text-secondary);
    font-style: italic;
}

[dir="rtl"] .blog-content .entry-content.single-post-content blockquote {
    border-left: none;
    border-right: 4px solid var(--accent-blue);
    border-radius: 8px 0 0 8px;
}

/* Tables */
.blog-content .entry-content.single-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95em;
}

.blog-content .entry-content.single-post-content th,
.blog-content .entry-content.single-post-content td {
    border: 1px solid var(--card-border);
    padding: 0.6em 0.75em;
    text-align: left;
}

.blog-content .entry-content.single-post-content th {
    background: var(--glass-gradient);
    color: var(--text-primary);
    font-weight: 600;
}

[dir="rtl"] .blog-content .entry-content.single-post-content th,
[dir="rtl"] .blog-content .entry-content.single-post-content td {
    text-align: right;
}

/* Images inside entry */
.blog-content .entry-content.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.25em 0;
}

/* Single post title (h1) */
.blog-content .entry-title.blog-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 0.5em;
    line-height: 1.25;
}

/* Tags cloud – single post (enhanced) */
.blog-content .tags-cloud {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
}

.tags-cloud a {
    display: inline-block;
    background: var(--glass-gradient);
    padding: 0.4em 0.85em;
    border-radius: 999px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--card-border);
    transition: all 0.2s ease;
}

.tags-cloud a:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

/* Responsive – single post content */
@media (max-width: 768px) {
    .blog-content .entry-content.single-post-content {
        max-width: 100%;
        font-size: 1rem;
    }

    .blog-content .entry-content.single-post-content pre {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        border-radius: 6px;
    }

    .blog-content .entry-content.single-post-content ul,
    .blog-content .entry-content.single-post-content ol {
        padding-left: 1.25em;
    }

    [dir="rtl"] .blog-content .entry-content.single-post-content ul,
    [dir="rtl"] .blog-content .entry-content.single-post-content ol {
        padding-right: 1.25em;
    }

    .blog-content .entry-content.single-post-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tags-cloud {
        gap: 0.5rem;
    }

    .tags-cloud a {
        font-size: 0.85rem;
        padding: 0.35em 0.7em;
    }
}

@media (max-width: 480px) {
    .blog-content .entry-content.single-post-content h2 { font-size: 1.35em; }
    .blog-content .entry-content.single-post-content h3 { font-size: 1.15em; }
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 30px;
}

.categories-list,
.recent-posts-list {
    list-style: none;
}

.category-item,
.recent-post-item {
    padding: 12px;
    border-bottom: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.category-item:hover,
.recent-post-item:hover {
    background: var(--glass-gradient);
    transform: translateX(5px);
}

.category-link,
.recent-post-link {
    color: var(--text-secondary);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-count {
    background: var(--glass-gradient);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--accent-blue);
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag-item {
    background: var(--glass-gradient);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.tag-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    color: var(--text-primary);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-item {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-item.active,
.page-item:hover {
    border-color: var(--accent-blue);
    background: var(--accent-blue);
}

/* WordPress Posts Pagination */
.navigation.pagination {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 1rem;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-links a:hover {
    border-color: var(--accent-blue);
    background: var(--accent-blue);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.3);
}

.nav-links .current {
    border-color: var(--accent-blue);
    background: var(--accent-blue);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.3);
}

.nav-links .dots {
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: default;
}

.nav-links .prev,
.nav-links .next {
    font-size: 0.9rem;
}

.nav-links .prev i,
.nav-links .next i {
    font-size: 0.85rem;
}

.nav-links .prev:hover i,
.nav-links .next:hover i {
    transform: translateX(-2px);
}

.nav-links .next:hover i {
    transform: translateX(2px);
}

/* Screen reader text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-featured-image {
        height: 250px;
    }

    .blog-meta-single {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    /* Pagination responsive */
    .nav-links a,
    .nav-links span {
        min-width: 40px;
        height: 40px;
        padding: 0 0.75rem;
        font-size: 0.9rem;
    }

    .nav-links .prev,
    .nav-links .next {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    /* Hide page numbers on very small screens, keep only prev/next */
    .nav-links .page-numbers:not(.prev):not(.next):not(.current) {
        display: none;
    }

    .nav-links a,
    .nav-links span {
        min-width: 35px;
        height: 35px;
        padding: 0 0.5rem;
    }
}

/* Social Share Buttons */
.social-share {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

.social-share h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    gap: 12px;
    list-style: none;
    flex-wrap: wrap;
}

.share-buttons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.share-buttons li a:hover {
    transform: translateY(-5px);
    color: #fff;
}

.share-buttons li:nth-child(1) a:hover {
    background: #3b5998; /* Facebook blue */
    border-color: #3b5998;
}

.share-buttons li:nth-child(2) a:hover {
    background: #1da1f2; /* Twitter blue */
    border-color: #1da1f2;
}

.share-buttons li:nth-child(3) a:hover {
    background: #0077b5; /* LinkedIn blue */
    border-color: #0077b5;
}

.share-buttons li:nth-child(4) a:hover {
    background: #e60023; /* Pinterest red */
    border-color: #e60023;
}

.share-buttons li:nth-child(5) a:hover {
    background: #333333; /* Email */
    border-color: #333333;
}

.share-buttons li:nth-child(6) a:hover {
    background: #25D366; /* WhatsApp green */
    border-color: #25D366;
}
/* Contact Page Styles */
.contact-form-card {
    grid-column: span 8;
}

.contact-card {
    grid-column: span 4;
}

.quick-links-card {
    grid-column: span 12;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(113, 112, 81, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.submit-btn {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: var(--accent-burgundy);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.3);
}

/* Form Message Styles */
.form-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    display: none;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-message.success,
.form-message.error {
    opacity: 1;
    display: block;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid #F44336;
    color: #F44336;
}

.form-message .message-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.form-message i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Contact Info Styles */
.contact-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.1);
}

.info-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
    margin-top: 3px;
}

.info-content h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Social Links Styles */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.2);
}

.social-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

/* Quick Links Styles */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.2);
}

.quick-link-item i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.quick-link-item.whatsapp {
    background: linear-gradient(145deg, rgba(37, 211, 102, 0.1), rgba(37, 211, 102, 0.05));
}

.quick-link-item.whatsapp i {
    color: #25D366;
}

.quick-link-item.whatsapp:hover {
    border-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* Availability Styles */
.availability {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.status-text {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.availability-note {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}

/* Badge Styles */
.badge {
    background: rgba(113, 112, 81, 0.2);
    color: var(--accent-blue);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form-card,
    .contact-card,
    .quick-links-card {
        grid-column: span 12;
    }

    .social-grid,
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .info-item i {
        margin-bottom: 10px;
    }
}

/* Projects Page Styles */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.project-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.project-filters select {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.project-item {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.project-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 16px rgba(113, 112, 81, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-item h4 {
    padding: 20px 20px 10px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.project-item p {
    padding: 0 20px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.tech-stack {
    padding: 0 20px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: var(--glass-gradient);
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
}

.project-actions {
    padding: 15px 20px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--card-border);
}

.cta-primary,
.cta-secondary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-primary {
    background: var(--accent-blue);
    color: var(--text-primary);
}

.cta-secondary {
    background: var(--glass-gradient);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.cta-primary:hover,
.cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.2);
}

/* Project Single View */
/* Enhanced Single Project Styles */
.project-single-container {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 30px;
}

.project-main-content {
    padding: 0;
    overflow: hidden;
    grid-column: span 8;
}

.project-featured-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 15px 15px 0 0;
}

.project-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-featured-image:hover img {
    transform: scale(1.03);
}

.project-header {
    padding: 0 30px;
    margin-bottom: 30px;
}

.project-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.project-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 15px 0;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

.project-meta-item i {
    color: var(--accent-blue);
}

.project-link {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #0052cc;
    text-decoration: underline;
}

.project-content {
    padding: 0 30px;
    margin-bottom: 30px;
    color: var(--text-primary);
    line-height: 1.7;
}

.project-content p {
    margin-bottom: 20px;
}

.project-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.project-tech-stack {
    padding: 0 30px 30px;
    margin-bottom: 20px;
}

.project-tech-stack h4 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.tech-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: var(--glass-gradient);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(113, 112, 81, 0.1);
}

.project-gallery {
    padding: 0 30px 30px;
}

.project-gallery h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Project Navigation */
.project-navigation {
    padding: 30px;
    border-top: 1px solid var(--card-border);
    margin-top: 20px;
}

.post-nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-primary);
    padding: 15px;
    border-radius: 10px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    flex: 1;
    max-width: 45%;
}

.nav-previous:hover,
.nav-next:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(113, 112, 81, 0.15);
}

.nav-previous i,
.nav-next i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.nav-previous span,
.nav-next span {
    display: flex;
    flex-direction: column;
}

.nav-previous small,
.nav-next small {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.nav-placeholder {
    flex: 1;
    max-width: 45%;
    display: none;
}

/* Related Projects Sidebar */
.project-sidebar {
    height: fit-content;
    position: relative;
    grid-column: span 4;
}

.card-header {
    padding: 15px 20px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 15px;
}

.card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.related-projects-container {
    padding: 0 20px 20px;
}

.related-project {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
    position: relative;
}

.related-project:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-project-image {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.no-thumbnail {
    width: 100%;
    height: 100%;
    background: var(--glass-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.5rem;
}

.no-thumbnail:after {
    content: "\f03e";
    font-family: "Font Awesome 5 Free";
    opacity: 0.5;
}

.related-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-project:hover .related-project-image img {
    transform: scale(1.1);
}

.related-project-info {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

.related-project-info h4 {
    margin: 0 0 8px;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-project-info h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-project-info h4 a:hover {
    color: var(--accent-blue);
}

.related-project-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-related {
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .project-single-container {
        grid-template-columns: 1fr !important;
    }
    
    .project-main-content,
    .project-sidebar {
        grid-column: span 12 !important;
    }
    
    .project-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-actions {
        flex-direction: column;
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .post-nav-links {
        flex-direction: row;
    }
    
    .nav-previous,
    .nav-next {
        max-width: 100%;
    }
    
    .project-title {
        font-size: 1.5rem;
    }
    
    .project-header,
    .project-content,
    .project-tech-stack,
    .project-gallery {
        padding: 0 20px;
    }
    
    .project-navigation {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .related-project {
        flex-direction: column;
    }
    
    .related-project-image {
        flex: 0 0 auto;
        height: 150px;
        width: 100%;
        margin-bottom: 10px;
    }
}
/* Skills Page Styles */
.skills-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.skills-filters select {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

/* Skills Grid Layout */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 25px;
    padding: 10px;
}

.skill-item {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

.skill-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 16px rgba(113, 112, 81, 0.15);
}

/* Skill Circle Wrapper */
.skill-circle-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto; /* Center the wrapper itself */
}

/* Icon centered in the circle */
.skill-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.skill-icon-center i {
    font-size: 2.5rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-item:hover .skill-icon-center i {
    transform: scale(1.1);
    color: var(--accent-blue);
}

/* Skill Info - Below the circle */
.skill-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.skill-info i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 10px 0;
    display: block;
}

.skill-percentage {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-blue);
    display: block;
}

/* Improved Skill Circle SVG */
.skill-circle {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    z-index: 1;
    display: block;
}

.skill-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
    stroke-linecap: round;
}

.skill-circle-progress {
    fill: none;
    stroke: var(--accent-blue);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251.2; /* Circumference of circle with r=40 */
    stroke-dashoffset: 251.2;
    transition: stroke-dashoffset 1.5s ease-in-out;
}

/* Skills Categories */
.skills-categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.skill-category {
    padding: 8px 16px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-category.active,
.skill-category:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.2);
}

/* Skill Groups */
.skills-group {
    margin-bottom: 30px;
}

.skills-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--card-border);
}

.skills-group-header i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.skills-group-header h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin: 0;
}

/* Hover Effects */
.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, 
        rgba(var(--accent-blue-rgb), 0.1), 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.skill-item:hover::before {
    opacity: 1;
}

.skill-item:hover .skill-info i {
    transform: scale(1.1);
}

/* Skill Progress Animation */
@keyframes fillProgress {
    from {
        stroke-dashoffset: 100;
    }
    to {
        stroke-dashoffset: var(--offset);
    }
}

.skill-circle path:last-child {
    animation: fillProgress 1.5s ease forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 15px;
    }

    .skill-item {
        padding: 15px;
        min-height: 160px;
    }

    .skill-info i {
        font-size: 1.5rem;
    }

    .skill-name {
        font-size: 1rem;
    }

    .skill-percentage {
        font-size: 1rem;
    }

    .skill-circle {
        width: 90px;
        height: 90px;
    }
    
    .skill-circle-wrapper {
        width: 90px;
        height: 90px;
    }
    
    .skill-icon-center i {
        font-size: 2rem;
    }
}

/* Dark Theme Enhancements */
.skill-item {
    backdrop-filter: blur(10px);
}

.skill-item:hover .skill-info i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Additional Visual Improvements */
.skill-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

/* WordPress specific additions */
.skill-item.wp-block-group {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.skill-meta {
    margin-top: auto;
    padding-top: 15px;
}

.skill-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.skill-category {
    background: var(--glass-gradient);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-info {
        flex-wrap: wrap;
    }

    .skill-circle {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-90deg);
        margin: 0;
    }
    
    .skill-circle-wrapper {
        margin: 0 auto;
    }
}

/* Related Skills Specific Styles */
.related-skill .skill-item {
    min-height: 150px;
}

.related-skill .skill-circle {
    width: 80px;
    height: 80px;
}

.related-skill .skill-circle-wrapper {
    width: 80px;
    height: 80px;
}

.related-skill .skill-info i {
    font-size: 1.5rem;
}

.related-skill .skill-name {
    font-size: 0.9rem;
}

.related-skill .skill-percentage {
    font-size: 1rem;
}

/* Animation Enhancement */
@keyframes showPath {
    to {
        opacity: 1;
    }
}

/* Front page skills card specific styles */
.skills-card .skills-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .skills-card .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .skills-card .skills-grid {
        grid-template-columns: 1fr;
    }
}
/**
 * Services Section Styles - Matching Theme Design
 * 
 * @package Bakry_Portfolio
 */

/* Services Card - Full Width like Projects Card */
.services-card {
    grid-column: span 12;
}

/* Services Grid - Matches theme's pattern */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Service Item - Matches theme's card style */
.service-item {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

/* Glass effect like other cards */
.service-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
}

.service-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 48%,
        rgba(255, 255, 255, 0.03) 50%,
        transparent 52%
    );
    z-index: 1;
    pointer-events: none;
}

.service-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 8px 16px rgba(113, 112, 81, 0.15);
}

/* Service Icon - Matches theme's accent color */
.service-icon {
    width: 80px;
    height: 80px;
    background: var(--glass-gradient);
    border: 2px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-blue);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.2);
}

.service-icon i {
    display: block;
    transition: transform 0.3s ease;
}

.service-item:hover .service-icon i {
    transform: scale(1.1);
}

/* Service Title - Matches theme typography */
.service-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

/* Service Description - Matches theme text style */
.service-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Hover glow effect */
.service-item:hover::before {
    opacity: 1.5;
}

/* Responsive Design - Matches theme breakpoints */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-card {
        grid-column: span 12;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-item {
        padding: 25px 20px;
        min-height: 180px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-item h3 {
        font-size: 1.1rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .service-item {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* RTL Support */
[dir="rtl"] .service-item {
    direction: rtl;
    text-align: center;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .service-item,
    .service-icon {
        transition: none;
    }
    
    .service-item:hover {
        transform: none;
    }
    
    .service-item:hover .service-icon {
        transform: none;
    }
    
    .service-item:hover .service-icon i {
        transform: none;
    }
}

/* Focus Styles for Accessibility */
.service-item:focus-within {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Animation */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.service-item {
    animation: fadeIn 0.5s ease forwards;
}

/* Stagger animation delays */
.service-item:nth-child(1) { animation-delay: 0.1s; }
.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.3s; }
.service-item:nth-child(4) { animation-delay: 0.4s; }
.service-item:nth-child(5) { animation-delay: 0.5s; }
.service-item:nth-child(6) { animation-delay: 0.6s; }

/* Testimonials Section Styles */

.testimonials-card {
    grid-column: 1 / -1;
}

.testimonials-swiper {
    padding: 20px 0 40px;
}

.testimonial-slide {
    height: auto;
}

.testimonial-card {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple), var(--accent-blue));
    background-size: 200% 100%;
    animation: gradient-shift 3s ease infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(113, 112, 81, 0.15);
    border-color: var(--accent-blue);
}

/* Quote Icon */
.testimonial-quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
    color: var(--accent-blue);
    opacity: 0.15;
    line-height: 1;
    z-index: 1;
}

/* Testimonial Content */
.testimonial-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0 0 25px 0;
    font-style: italic;
    position: relative;
    flex: 1;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-blue);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Rating Stars */
.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-rating .star {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
    transition: transform 0.2s ease;
}

.testimonial-card:hover .testimonial-rating .star {
    animation: star-bounce 0.6s ease;
}

.testimonial-rating .star:nth-child(1) { animation-delay: 0s; }
.testimonial-rating .star:nth-child(2) { animation-delay: 0.1s; }
.testimonial-rating .star:nth-child(3) { animation-delay: 0.2s; }
.testimonial-rating .star:nth-child(4) { animation-delay: 0.3s; }
.testimonial-rating .star:nth-child(5) { animation-delay: 0.4s; }

@keyframes star-bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Client Info */
.testimonial-client {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

.testimonial-client-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--accent-blue);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover .testimonial-client-photo {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(113, 112, 81, 0.3);
}

.testimonial-client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-client-photo-placeholder {
    width: 100%;
    height: 100%;
    background: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-client-info {
    flex: 1;
}

.testimonial-client-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.testimonial-client-position {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.2;
}

.testimonial-client-company {
    font-size: 0.85rem;
    color: var(--accent-blue);
    font-weight: 600;
    margin: 3px 0 0 0;
}

/* Swiper Navigation */
.testimonials-prev,
.testimonials-next {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-prev:hover,
.testimonials-next:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: var(--text-primary);
    transform: scale(1.1);
}

.testimonials-prev:active,
.testimonials-next:active {
    transform: scale(0.95);
}

/* Swiper Pagination */
.testimonials-pagination {
    margin-top: 20px;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--card-border);
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background: var(--accent-blue);
    width: 30px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 20px;
        min-height: 280px;
    }

    .testimonial-quote-icon {
        font-size: 40px;
        top: 15px;
        right: 20px;
    }

    .testimonial-text {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .testimonial-text::before {
        font-size: 2rem;
        top: -15px;
    }

    .testimonial-client-photo {
        width: 50px;
        height: 50px;
    }

    .testimonial-client-name {
        font-size: 1rem;
    }

    .testimonial-client-position {
        font-size: 0.85rem;
    }

    .testimonial-client-company {
        font-size: 0.8rem;
    }

    .testimonial-rating {
        font-size: 16px;
        gap: 3px;
    }
}

/* Alternative Card Styles */
.testimonial-card.style-minimal {
    background: transparent;
    border: 2px solid var(--card-border);
    backdrop-filter: blur(5px);
}

.testimonial-card.style-gradient {
    background: linear-gradient(135deg, rgba(113, 112, 81, 0.05), rgba(138, 43, 226, 0.05));
    border: 1px solid rgba(113, 112, 81, 0.2);
}

.testimonial-card.style-shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
}

/* Loading State */
.testimonials-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
    color: var(--text-secondary);
}

.testimonials-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.testimonials-empty i {
    font-size: 48px;
    color: var(--accent-blue);
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Dark mode adjustments - using CSS variables instead of hardcoded colors */
@media (prefers-color-scheme: dark) {
    .testimonial-text {
        color: var(--text-primary);
    }

    .testimonial-client-position {
        color: var(--text-secondary);
    }

    .testimonial-card:hover {
        box-shadow: 0 20px 40px rgba(113, 112, 81, 0.25);
    }
}
/**
 * FAQ Accordion Styles
 * Modern accordion design with smooth animations
 */

/* FAQ Section Container - inherits from .card base styles */
.faq-card {
    /* Remove custom background - use base .card styles */
    /* Remove custom padding - use base .card styles */
    /* Keep position and overflow for accordion functionality */
    position: relative;
    overflow: visible; /* Changed from hidden to allow dropdowns/tooltips if needed */
}

/* Remove the ::before gradient border - base .card already has border */

/* FAQ uses standard .card-header from base.css */
/* Additional styling for FAQ header if needed */
.faq-card .card-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-blue, #717051);
    border-radius: 2px;
}

.faq-subtitle {
    color: var(--text-secondary, rgba(255,255,255,0.7));
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    margin-top: -0.5rem;
}

/* FAQ Category Filter (Optional) */
.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.faq-category-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-secondary, rgba(255,255,255,0.7));
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: var(--accent-blue, #717051);
    border-color: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(113, 112, 81, 0.3);
}

/* FAQ Items Container */
.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Individual FAQ Item */
.faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent-blue, #717051);
    box-shadow: 0 4px 20px rgba(113, 112, 81, 0.15);
}

.faq-item.active {
    background: rgba(255,255,255,0.08);
    border-color: var(--accent-blue, #717051);
    box-shadow: 0 8px 30px rgba(113, 112, 81, 0.2);
}

/* FAQ Question (Accordion Header) */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.faq-question-text {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary, #fff);
    margin: 0;
    padding-right: 1rem;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question-text {
    color: var(--accent-blue, #717051);
}

/* FAQ Icon */
.faq-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-blue, #717051);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--accent-blue, #717051);
}

.faq-icon i {
    transition: transform 0.3s ease;
}

/* FAQ Answer (Accordion Body) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer-content {
    color: var(--text-secondary, rgba(255,255,255,0.8));
    line-height: 1.8;
    font-size: 1rem;
}

.faq-answer-content p {
    margin-bottom: 1rem;
}

.faq-answer-content p:last-child {
    margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer-content li {
    margin-bottom: 0.5rem;
}

.faq-answer-content a {
    color: var(--accent-blue, #717051);
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-answer-content a:hover {
    color: var(--accent-blue, #717051);
    text-decoration: underline;
}

.faq-answer-content code {
    background: rgba(0,0,0,0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--accent-blue, #717051);
}

/* FAQ Empty State */
.faq-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary, rgba(255,255,255,0.6));
}

.faq-empty i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.faq-empty p {
    font-size: 1.1rem;
    margin: 0;
}

/* Category Badge (Optional) */
.faq-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

.faq-category-badge.general {
    background: rgba(113, 112, 81, 0.2);
    color: var(--accent-blue, #717051);
}

.faq-category-badge.services {
    background: rgba(113, 112, 81, 0.2);
    color: var(--accent-blue, #717051);
}

.faq-category-badge.pricing {
    background: rgba(113, 112, 81, 0.2);
    color: var(--accent-blue, #717051);
}

.faq-category-badge.technical {
    background: rgba(113, 112, 81, 0.2);
    color: var(--accent-blue, #717051);
}

.faq-category-badge.support {
    background: rgba(113, 112, 81, 0.2);
    color: var(--accent-blue, #717051);
}

/* Number Badge (Optional) */
.faq-number {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary, rgba(255,255,255,0.6));
    margin-right: 1rem;
    flex-shrink: 0;
}

.faq-item.active .faq-number {
    background: var(--accent-blue, #717051);
    color: var(--text-primary);
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeInUp 0.5s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.15s; }
.faq-item:nth-child(3) { animation-delay: 0.2s; }
.faq-item:nth-child(4) { animation-delay: 0.25s; }
.faq-item:nth-child(5) { animation-delay: 0.3s; }
.faq-item:nth-child(n+6) { animation-delay: 0.35s; }

/* Responsive Design */
@media (max-width: 768px) {
    .faq-card {
        padding: 2rem 1.5rem;
    }

    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        padding: 1.25rem 1rem;
    }

    .faq-question-text {
        font-size: 1rem;
        padding-right: 0.5rem;
    }

    .faq-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1.25rem 1rem;
    }

    .faq-answer-content {
        font-size: 0.95rem;
    }

    .faq-categories {
        gap: 0.5rem;
    }

    .faq-category-btn {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .faq-number {
        display: none; /* Hide numbers on mobile for space */
    }
}

@media (max-width: 480px) {
    .faq-header h2 {
        font-size: 1.75rem;
    }

    .faq-question-text {
        font-size: 0.95rem;
    }

    .faq-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}

/* Dark Mode Support - Using data-theme instead */
@media (prefers-color-scheme: light) {
    .faq-card {
        background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    }

    .faq-item {
        background: rgba(0,0,0,0.03);
        border-color: rgba(0,0,0,0.1);
    }

    .faq-item:hover {
        background: rgba(0,0,0,0.05);
    }

    .faq-item.active {
        background: rgba(113, 112, 81, 0.05);
    }

    .faq-question-text,
    .faq-header h2 {
        color: var(--text-primary);
    }

    .faq-answer-content,
    .faq-subtitle {
        color: var(--text-primary);
    }
}

/* Print Styles */
@media print {
    .faq-item {
        page-break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 1rem;
    }

    .faq-answer {
        max-height: none !important;
        padding: 1rem 1.5rem !important;
    }

    .faq-icon {
        display: none;
    }

    .faq-categories {
        display: none;
    }
}
/**
 * Theme Toggle Styles
 * 
 * @package Bakry_Portfolio
 */

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 3px;
}

.theme-toggle:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(var(--accent-blue-rgb), 0.3);
}

.theme-toggle-slider {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--accent-blue);
    border-radius: 50%;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.theme-toggle-slider i {
    font-size: 0.75rem;
    color: var(--text-primary);
}

/* Light Mode Active */
[data-theme="light"] .theme-toggle-slider {
    transform: translateX(30px);
}

/* Icons */
.theme-icon-sun,
.theme-icon-moon {
    position: absolute;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.theme-icon-sun {
    right: 8px;
    color: var(--accent-peach);
    opacity: 0.5;
}

.theme-icon-moon {
    left: 8px;
    color: var(--text-secondary);
    opacity: 0.5;
}

[data-theme="light"] .theme-icon-sun {
    opacity: 1;
}

[data-theme="dark"] .theme-icon-moon,
[data-theme]:not([data-theme="light"]) .theme-icon-moon {
    opacity: 1;
}

/* ===========================
   LIGHT MODE OVERRIDES
   =========================== */

/* Light Mode Body Background */
[data-theme="light"] body {
    background-image: 
        linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.9)),
        url('https://images.unsplash.com/photo-1614850523459-c2f4c699c52e?auto=format&fit=crop&w=1920&q=80');
    color: var(--text-primary) !important;
}

/* Light Mode Text Colors - High Priority */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: var(--text-primary) !important;
}

[data-theme="light"] p,
[data-theme="light"] span {
    color: var(--text-primary) !important;
}

[data-theme="light"] .card h1,
[data-theme="light"] .card h2,
[data-theme="light"] .card h3,
[data-theme="light"] .card h4,
[data-theme="light"] .card h5,
[data-theme="light"] .card h6 {
    color: var(--text-primary) !important;
}

[data-theme="light"] .card p,
[data-theme="light"] .card span {
    color: var(--text-primary) !important;
}

/* Light Mode Icons */
[data-theme="light"] i,
[data-theme="light"] .fas,
[data-theme="light"] .far,
[data-theme="light"] .fab {
    color: inherit;
}

/* Light Mode Specific Icon Colors */
[data-theme="light"] .skill-icon-center i,
[data-theme="light"] .service-icon i {
    color: var(--accent-blue) !important;
}

/* Light Mode Skill Circle */
[data-theme="light"] .skill-circle-progress {
    stroke: var(--accent-blue) !important;
}

[data-theme="light"] .skill-circle-bg {
    stroke: rgba(90, 90, 65, 0.2) !important;
}

/* Light Mode Card Shadows */
[data-theme="light"] .card {
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .card:hover {
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.06);
}

/* Light Mode Card Backgrounds */
[data-theme="light"] .card,
[data-theme="light"] .skill-item,
[data-theme="light"] .service-item,
[data-theme="light"] .project-item {
    background: var(--glass-gradient);
    border-color: var(--card-border);
}

/* Light Mode Profile Info */
[data-theme="light"] .profile-name,
[data-theme="light"] .profile-title,
[data-theme="light"] .profile-location {
    color: var(--text-primary) !important;
}

[data-theme="light"] .profile-location span {
    color: var(--text-secondary) !important;
}

/* Light Mode Skill Percentage */
[data-theme="light"] .skill-percentage {
    color: var(--accent-blue) !important;
}

/* Light Mode Skill Name */
[data-theme="light"] .skill-name {
    color: var(--text-primary) !important;
}

/* Light Mode Skill Info */
[data-theme="light"] .skill-info {
    color: var(--text-primary) !important;
}

[data-theme="light"] .skill-info span {
    color: var(--text-primary) !important;
}

/* Light Mode About Card */
[data-theme="light"] .about-card h1,
[data-theme="light"] .about-card h2,
[data-theme="light"] .about-card h3 {
    color: var(--text-primary) !important;
}

[data-theme="light"] .about-card p {
    color: var(--text-primary) !important;
}

/* Light Mode Skills Card */
[data-theme="light"] .skills-card h2 {
    color: var(--text-primary) !important;
}

[data-theme="light"] .skills-card span {
    color: var(--text-primary) !important;
}

/* Light Mode Navigation */
[data-theme="light"] .header-menu li a {
    color: var(--text-primary) !important;
}

[data-theme="light"] .nav-item {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .nav-item:hover,
[data-theme="light"] .nav-item.active {
    color: var(--accent-blue) !important;
}

[data-theme="light"] .nav-item i {
    color: inherit !important;
}

[data-theme="light"] .nav-item span {
    color: var(--text-secondary) !important;
}

/* Light Mode Bottom Navigation Specific */
[data-theme="light"] .bottom-nav .nav-item {
    color: #1a1a1a !important;
}

[data-theme="light"] .bottom-nav .nav-item i {
    color: #1a1a1a !important;
}

[data-theme="light"] .bottom-nav .nav-item span {
    color: #1a1a1a !important;
}

[data-theme="light"] .bottom-nav .nav-item:hover,
[data-theme="light"] .bottom-nav .nav-item.active {
    color: var(--accent-blue) !important;
}

[data-theme="light"] .bottom-nav .nav-item:hover i,
[data-theme="light"] .bottom-nav .nav-item.active i {
    color: var(--accent-blue) !important;
}

[data-theme="light"] .bottom-nav .nav-item:hover span,
[data-theme="light"] .bottom-nav .nav-item.active span {
    color: var(--accent-blue) !important;
}

/* Light Mode Buttons */
[data-theme="light"] .btn {
    color: var(--text-primary) !important;
    background: var(--glass-gradient) !important;
    border-color: var(--card-border) !important;
}

[data-theme="light"] .btn:hover {
    color: var(--text-primary) !important;
}

[data-theme="light"] .cta-secondary {
    color: var(--text-primary) !important;
}

[data-theme="light"] .cta-secondary:hover {
    color: var(--text-primary) !important;
}

/* Light Mode Hover Effects */
[data-theme="light"] .btn:hover,
[data-theme="light"] .project-item:hover,
[data-theme="light"] .skill-item:hover,
[data-theme="light"] .service-item:hover {
    box-shadow: 0 8px 16px rgba(90, 90, 65, 0.15);
}

/* Light Mode Project Cards */
[data-theme="light"] .project-item h3,
[data-theme="light"] .project-item h4 {
    color: var(--text-primary);
}

[data-theme="light"] .project-item p {
    color: var(--text-secondary);
}

[data-theme="light"] .project-content {
    color: var(--text-primary);
}

/* Light Mode Blog Cards */
[data-theme="light"] .blog-title {
    color: var(--text-primary);
}

[data-theme="light"] .blog-excerpt {
    color: var(--text-secondary);
}

[data-theme="light"] .blog-date,
[data-theme="light"] .blog-category {
    color: var(--text-secondary);
}

[data-theme="light"] .read-more {
    color: var(--accent-blue);
}

/* Light Mode FAQ */
[data-theme="light"] .faq-question-text {
    color: var(--text-primary);
}

[data-theme="light"] .faq-answer-content {
    color: var(--text-secondary);
}

/* Light Mode Testimonials */
[data-theme="light"] .testimonial-text {
    color: var(--text-primary);
}

[data-theme="light"] .testimonial-client-name {
    color: var(--text-primary);
}

[data-theme="light"] .testimonial-client-position,
[data-theme="light"] .testimonial-client-company {
    color: #1a1a1a !important;
}

/* Light Mode Contact Info */
[data-theme="light"] .info-content h3,
[data-theme="light"] .info-content h4 {
    color: var(--text-primary);
}

[data-theme="light"] .info-content p,
[data-theme="light"] .info-content a {
    color: var(--text-secondary);
}

/* Light Mode Form Labels */
[data-theme="light"] label {
    color: var(--text-secondary);
}

/* Light Mode Social Links */
[data-theme="light"] .social-item {
    color: var(--text-primary);
}

[data-theme="light"] .social-item i {
    color: var(--accent-blue);
}

/* Light Mode About Section */
[data-theme="light"] .about-section,
[data-theme="light"] .about-text {
    color: var(--text-primary);
}

/* Light Mode Bottom Nav */
[data-theme="light"] .bottom-nav {
    background: var(--glass-gradient);
    border-top-color: var(--card-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

/* Light Mode Form Inputs */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: var(--glass-gradient);
    color: var(--text-primary);
    border-color: var(--card-border);
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(var(--accent-blue-rgb), 0.1);
}

/* Light Mode Header */
[data-theme="light"] .header-nav {
    background: var(--glass-gradient);
    border-left-color: var(--card-border);
}

/* Light Mode Mobile Menu */
@media (max-width: 768px) {
    [data-theme="light"] .header-nav {
        background: var(--glass-gradient);
        backdrop-filter: blur(20px);
    }
}

/* Smooth Transitions */
body,
.card,
.btn,
input,
textarea,
select,
.header-nav,
.bottom-nav {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Toggle Button in Header */
.header-controls .theme-toggle {
    margin-left: 10px;
}

@media (max-width: 768px) {
    .header-controls .theme-toggle {
        margin-left: 0;
    }
}

/* Accessibility */
.theme-toggle:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.theme-toggle:focus:not(:focus-visible) {
    outline: none;
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateX(-10px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.theme-toggle {
    animation: slideIn 0.3s ease;
}

/* WPML Language Switcher (header) */
.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--glass-gradient);
    overflow: hidden;
}

.lang-switcher-item {
    margin: 0;
}

.lang-switcher-item:not(:last-child) .lang-switcher-link,
.lang-switcher-item:not(:last-child) .lang-switcher-current {
    border-inline-end: 1px solid var(--card-border);
}

.lang-switcher-link,
.lang-switcher-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-secondary);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switcher-link:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.lang-switcher-link:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

.lang-switcher-current {
    background: rgba(var(--accent-blue-rgb, 113, 112, 81), 0.2);
    color: var(--accent-blue);
    cursor: default;
}

[data-theme="light"] .lang-switcher-current {
    background: rgba(var(--accent-blue-rgb, 90, 90, 65), 0.15);
    color: var(--accent-blue);
}

/* RTL: lang switcher in header */
[dir="rtl"] .lang-switcher-item:not(:last-child) .lang-switcher-link,
[dir="rtl"] .lang-switcher-item:not(:last-child) .lang-switcher-current {
    border-right: none;
    border-left: 1px solid var(--card-border);
}

/* Mobile: compact and touch-friendly */
@media (max-width: 768px) {
    .header-controls .lang-switcher {
        order: 2;
    }

    .header-controls .profile-pic {
        order: 3;
    }

    .lang-switcher-list {
        border-radius: 6px;
    }

    .lang-switcher-link,
    .lang-switcher-current {
        min-width: 40px;
        min-height: 40px;
        padding: 0 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .lang-switcher-link,
    .lang-switcher-current {
        min-width: 38px;
        min-height: 38px;
        padding: 0 8px;
        font-size: 0.8rem;
    }
}

/* Light Mode Progress Bars */
[data-theme="light"] .progress::after {
    box-shadow: 0 0 10px rgba(90, 90, 65, 0.3);
}

/* Light Mode Status Indicator */
[data-theme="light"] .status-indicator.online {
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.7);
}

/* Light Mode Tech Tags */
[data-theme="light"] .tech-tag {
    background: rgba(90, 90, 65, 0.1);
    border-color: var(--card-border);
    color: var(--text-secondary);
}

[data-theme="light"] .tech-tag:hover {
    background: rgba(90, 90, 65, 0.2);
    border-color: var(--accent-blue);
    color: var(--text-primary);
}

/* Light Mode Profile Image Border */
[data-theme="light"] .profile-image img {
    border-color: var(--card-border);
}

[data-theme="light"] .profile-pic img {
    border-color: var(--card-border);
}

/* Light Mode Welcome Section */
[data-theme="light"] .welcome-section h1 {
    color: var(--text-secondary) !important;
}

[data-theme="light"] .welcome-section h2 {
    color: var(--text-primary) !important;
}

/* Light Mode Header */
[data-theme="light"] .header {
    color: var(--text-primary) !important;
}

[data-theme="light"] .header h1,
[data-theme="light"] .header h2 {
    color: var(--text-primary) !important;
}

/* Light Mode Card Headers */
[data-theme="light"] .card-header h2,
[data-theme="light"] .card-header h3 {
    color: var(--text-primary);
}

/* Light Mode Meta Information */
[data-theme="light"] .project-meta-item,
[data-theme="light"] .blog-meta {
    color: var(--text-secondary);
}

[data-theme="light"] .project-meta-item i,
[data-theme="light"] .blog-meta i {
    color: var(--accent-blue);
}

/* Light Mode Badge */
[data-theme="light"] .badge {
    background: rgba(90, 90, 65, 0.2);
    color: var(--accent-blue);
}

/* Light Mode Status Text */
[data-theme="light"] .status-text {
    color: var(--text-primary);
}

[data-theme="light"] .availability-note {
    color: var(--text-secondary);
}

/* Light Mode Metric Labels */
[data-theme="light"] .metric-label {
    color: var(--text-secondary);
}

[data-theme="light"] .metric-value {
    color: var(--text-primary);
}

/* Light Mode Quick Links */
[data-theme="light"] .quick-link-item {
    color: var(--text-primary);
}

[data-theme="light"] .quick-link-item i {
    color: var(--accent-blue);
}

/* Light Mode Footer/Credits */
[data-theme="light"] footer,
[data-theme="light"] .footer {
    color: var(--text-secondary);
}

/* Light Mode Links */
[data-theme="light"] a {
    color: var(--accent-blue);
}

[data-theme="light"] a:hover {
    color: var(--accent-olive);
}

/* Light Mode Placeholder Text */
[data-theme="light"] ::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Light Mode Selection */
[data-theme="light"] ::selection {
    background: var(--accent-blue);
    color: var(--text-primary);
}

/* Light Mode Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: var(--card-border);
}

[data-theme="light"] ::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* Light Mode Submit Button Text */
[data-theme="light"] .submit-btn {
    color: var(--text-primary);
}

[data-theme="light"] .cta-primary {
    color: var(--text-primary);
}

/**
 * Light Mode Text Color Overrides
 * 
 * This file ensures ALL text elements are dark in light mode,
 * overriding any hardcoded white colors from other CSS files.
 * 
 * @package Bakry_Portfolio
 */

/* Base Body and HTML */
[data-theme="light"] html,
[data-theme="light"] html *,
[data-theme="light"] body,
[data-theme="light"] body * {
    color: #1a1a1a !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6,
[data-theme="light"] .card h1,
[data-theme="light"] .card h2,
[data-theme="light"] .card h3,
[data-theme="light"] .card h4,
[data-theme="light"] .welcome-section h1,
[data-theme="light"] .welcome-section h2,
[data-theme="light"] .card-header h3,
[data-theme="light"] .card-header h2 {
    color: #1a1a1a !important;
}

[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] div,
[data-theme="light"] li,
[data-theme="light"] label,
[data-theme="light"] a {
    color: #1a1a1a !important;
}

/* Card Content */
[data-theme="light"] .card,
[data-theme="light"] .card *,
[data-theme="light"] .card-header,
[data-theme="light"] .card-header * {
    color: #1a1a1a !important;
}

/* Profile Section */
[data-theme="light"] .profile-name,
[data-theme="light"] .profile-title,
[data-theme="light"] .profile-location {
    color: #1a1a1a !important;
}

/* About Section */
[data-theme="light"] .about-section,
[data-theme="light"] .about-section *,
[data-theme="light"] .key-highlights * {
    color: #1a1a1a !important;
}

/* Skills Section */
[data-theme="light"] .skills-group-header,
[data-theme="light"] .skills-group-header *,
[data-theme="light"] .skills-group-header h3,
[data-theme="light"] .skill-item,
[data-theme="light"] .skill-item *,
[data-theme="light"] .skill-name,
[data-theme="light"] .skill-percentage,
[data-theme="light"] .skill-bar-text,
[data-theme="light"] .skills-card,
[data-theme="light"] .skills-card * {
    color: #1a1a1a !important;
}

/* Projects Section */
[data-theme="light"] .project-item,
[data-theme="light"] .project-item *,
[data-theme="light"] .project-item h3,
[data-theme="light"] .project-item h4,
[data-theme="light"] .project-item p,
[data-theme="light"] .tech-tag {
    color: #1a1a1a !important;
}

/* Blog Section */
[data-theme="light"] .blog-title,
[data-theme="light"] .blog-excerpt,
[data-theme="light"] .blog-date,
[data-theme="light"] .blog-category,
[data-theme="light"] .blog-category a {
    color: #1a1a1a !important;
}

/* FAQ Section */
[data-theme="light"] .faq-question-text,
[data-theme="light"] .faq-answer-content,
[data-theme="light"] .faq-item * {
    color: #1a1a1a !important;
}

/* Testimonials Section */
[data-theme="light"] .testimonial-client-name,
[data-theme="light"] .testimonial-client-position,
[data-theme="light"] .testimonial-client-company,
[data-theme="light"] .testimonial-text {
    color: #1a1a1a !important;
}

/* Contact Section */
[data-theme="light"] .contact-form label,
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .info-content h3,
[data-theme="light"] .info-content h4,
[data-theme="light"] .info-content p,
[data-theme="light"] .info-content a {
    color: #1a1a1a !important;
}

/* Form Inputs */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    color: #1a1a1a !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-color: rgba(90, 90, 65, 0.3) !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: rgba(26, 26, 26, 0.5) !important;
}

/* Navigation and Header */
[data-theme="light"] .nav-item,
[data-theme="light"] .nav-item *,
[data-theme="light"] .nav-item a,
[data-theme="light"] .nav-list,
[data-theme="light"] .nav-list *,
[data-theme="light"] .quick-link-item,
[data-theme="light"] .quick-link-item *,
[data-theme="light"] .social-item,
[data-theme="light"] .social-item *,
[data-theme="light"] .header,
[data-theme="light"] .header * {
    color: #1a1a1a !important;
}

/* Navigation active state */
[data-theme="light"] .nav-item.active,
[data-theme="light"] .nav-item.active * {
    color: #5a5a41 !important;
}

/* Icons - Keep accent color but darker - Override the universal selector */
[data-theme="light"] i,
[data-theme="light"] .fas,
[data-theme="light"] .far,
[data-theme="light"] .fab,
[data-theme="light"] .fa,
[data-theme="light"] i.fas,
[data-theme="light"] i.far,
[data-theme="light"] i.fab,
[data-theme="light"] .info-item i,
[data-theme="light"] .social-item i,
[data-theme="light"] .nav-item i {
    color: #5a5a41 !important;
}

/* Info item icons specifically */
[data-theme="light"] .info-item i {
    color: #5a5a41 !important;
}

/* Buttons */
[data-theme="light"] .btn,
[data-theme="light"] button {
    color: #1a1a1a !important;
}

/* Links */
[data-theme="light"] a:hover {
    color: #5a5a41 !important;
}

/* Table of Contents */
[data-theme="light"] .table-of-contents,
[data-theme="light"] .table-of-contents * {
    color: #1a1a1a !important;
}

/* Sliders */
[data-theme="light"] .slider-content,
[data-theme="light"] .slider-content *,
[data-theme="light"] .slide-title,
[data-theme="light"] .slide-description {
    color: #1a1a1a !important;
}

/* Audio Player */
[data-theme="light"] .audio-player,
[data-theme="light"] .audio-player * {
    color: #1a1a1a !important;
}

/* Affiliate Links */
[data-theme="light"] .affiliate-card,
[data-theme="light"] .affiliate-card * {
    color: #1a1a1a !important;
}

/* Services Section */
[data-theme="light"] .services-card,
[data-theme="light"] .services-card *,
[data-theme="light"] .service-item h4,
[data-theme="light"] .service-item p {
    color: #1a1a1a !important;
}

/* Welcome Section */
[data-theme="light"] .welcome-section,
[data-theme="light"] .welcome-section * {
    color: #1a1a1a !important;
}

/* Info Items */
[data-theme="light"] .info-item,
[data-theme="light"] .info-item * {
    color: #1a1a1a !important;
}

/* Post Navigation */
[data-theme="light"] .post-nav-links,
[data-theme="light"] .post-nav-links a {
    color: #1a1a1a !important;
}

/* Screen Reader Text - Exception */
[data-theme="light"] .screen-reader-text:focus {
    color: #1a1a1a !important;
    background-color: #f1f1f1 !important;
}

/* Additional Specific Element Fixes */
[data-theme="light"] .menu-item,
[data-theme="light"] .menu-item *,
[data-theme="light"] .menu-item a {
    color: #1a1a1a !important;
}

[data-theme="light"] .nav-item,
[data-theme="light"] .nav-item *,
[data-theme="light"] .nav-item a,
[data-theme="light"] .nav-item span {
    color: #1a1a1a !important;
}

[data-theme="light"] .profile-title,
[data-theme="light"] span.profile-title {
    color: #1a1a1a !important;
}

[data-theme="light"] [itemprop="addressLocality"],
[data-theme="light"] .profile-location,
[data-theme="light"] .profile-location * {
    color: #1a1a1a !important;
}

[data-theme="light"] .skill-percentage,
[data-theme="light"] span.skill-percentage {
    color: #1a1a1a !important;
}

[data-theme="light"] .skill-name,
[data-theme="light"] span.skill-name {
    color: #1a1a1a !important;
}

[data-theme="light"] .tech-tag,
[data-theme="light"] span.tech-tag,
[data-theme="light"] .tech-tag * {
    color: #1a1a1a !important;
}

[data-theme="light"] .blog-excerpt,
[data-theme="light"] .blog-excerpt *,
[data-theme="light"] p.blog-excerpt {
    color: #1a1a1a !important;
}

[data-theme="light"] .faq-subtitle,
[data-theme="light"] .faq-number,
[data-theme="light"] span.faq-subtitle,
[data-theme="light"] span.faq-number {
    color: #1a1a1a !important;
}

[data-theme="light"] .testimonial-client-position,
[data-theme="light"] .testimonial-client-company,
[data-theme="light"] span.testimonial-client-position,
[data-theme="light"] span.testimonial-client-company {
    color: #1a1a1a !important;
}

[data-theme="light"] .badge,
[data-theme="light"] span.badge,
[data-theme="light"] .badge * {
    color: #1a1a1a !important;
}

[data-theme="light"] .social-item,
[data-theme="light"] .social-item *,
[data-theme="light"] .social-item a,
[data-theme="light"] .social-item span {
    color: #1a1a1a !important;
}

[data-theme="light"] span,
[data-theme="light"] .card span,
[data-theme="light"] div span {
    color: #1a1a1a !important;
}

/* Ultra-specific overrides for stubborn elements */
[data-theme="light"] .faq-card .faq-subtitle,
[data-theme="light"] .faq-subtitle,
[data-theme="light"] p.faq-subtitle {
    color: #1a1a1a !important;
}

[data-theme="light"] .header-menu,
[data-theme="light"] .header-menu *,
[data-theme="light"] .header-menu li,
[data-theme="light"] .header-menu li a,
[data-theme="light"] .header-menu li a span {
    color: #1a1a1a !important;
}

[data-theme="light"] .bottom-nav,
[data-theme="light"] .bottom-nav *,
[data-theme="light"] .bottom-nav .nav-item,
[data-theme="light"] .bottom-nav .nav-item *,
[data-theme="light"] .bottom-nav .nav-item i,
[data-theme="light"] .bottom-nav .nav-item span,
[data-theme="light"] .bottom-nav a,
[data-theme="light"] .bottom-nav a * {
    color: #1a1a1a !important;
}

[data-theme="light"] .testimonial-card .testimonial-client-position,
[data-theme="light"] .testimonial-card .testimonial-client-company,
[data-theme="light"] .testimonial-client .testimonial-client-position,
[data-theme="light"] .testimonial-client .testimonial-client-company,
[data-theme="light"] .testimonial-client-info .testimonial-client-position,
[data-theme="light"] .testimonial-client-info .testimonial-client-company,
[data-theme="light"] p.testimonial-client-position,
[data-theme="light"] p.testimonial-client-company {
    color: #1a1a1a !important;
}

/* Bottom nav icons should be dark too */
[data-theme="light"] .bottom-nav i,
[data-theme="light"] .bottom-nav .fas,
[data-theme="light"] .bottom-nav .far,
[data-theme="light"] .bottom-nav .fab {
    color: #1a1a1a !important;
}


/* Affiliate Marketing Styles - Enhanced for Bakry Portfolio Theme */

/* ========================================
   READING PROGRESS BAR
======================================== */
.reading-progress {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 999;
}

.reading-progress-fill {
    height: 100%;
    width: 0;
    background: var(--accent-blue);
    transition: width 0.15s ease;
}

/* ========================================
   AFFILIATE DISCLOSURE
======================================== */
.affiliate-disclosure {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--accent-blue);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 15px rgba(113, 112, 81, 0.1);
}

.disclosure-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.disclosure-content i {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.disclosure-content strong {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
    display: block;
}

.disclosure-content p {
    color: var(--text-secondary);
    margin: 8px 0 0 0;
    line-height: 1.6;
}

.sponsored-badge {
    display: inline-block;
    background: var(--accent-red);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 10px;
}

/* ========================================
   PRODUCT REVIEW LAYOUT
======================================== */
.product-review {
    /* Base styles handled by theme */
}

.product-review__header {
    margin-bottom: 30px;
}

.product-header-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.product-title-section h1 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.product-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.product-meta i {
    color: var(--accent-blue);
}

.product-featured-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-featured-image:hover .product-image {
    transform: scale(1.02);
}

/* ========================================
   PRODUCT SUMMARY CARD
======================================== */
.product-summary-card {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 0;
    margin: 30px 0;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(113, 112, 81, 0.08);
    overflow: hidden;
    position: relative;
}

.product-summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-blue);
}

.product-summary-card .card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 0;
}

.product-summary-content {
    padding: 25px;
}

.product-rating-section {
    text-align: center;
    margin-bottom: 25px;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.stars-container {
    display: flex;
    gap: 4px;
    font-size: 1.5rem;
    color: #ffc107;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.rating-value {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

.rating-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   PRICE SECTION
======================================== */
.price-section {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--glass-gradient);
    border-radius: 12px;
    border: 1px solid var(--card-border);
}

.price-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-size: 1.2rem;
    opacity: 0.7;
}

.discount-price {
    color: var(--accent-red);
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(255, 68, 68, 0.2);
}

.current-price {
    color: var(--accent-blue);
    font-size: 1.8rem;
    font-weight: 600;
}

.savings-badge {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

/* ========================================
   CTA BUTTONS
======================================== */
.cta-section {
    text-align: center;
}

.affiliate-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(113, 112, 81, 0.3);
    margin-bottom: 15px;
}

.large-cta {
    padding: 18px 40px;
    font-size: 1.2rem;
}

.affiliate-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.affiliate-cta:hover::before {
    left: 100%;
}

.affiliate-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(113, 112, 81, 0.4);
    text-decoration: none;
}

.cta-note {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 10px;
    font-style: italic;
}

/* ========================================
   PROS AND CONS
======================================== */
.pros-cons-card {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 0;
    margin: 30px 0;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.pros-cons-card .card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 0;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.pros-section,
.cons-section {
    padding: 25px;
}

.pros-section {
    border-right: 1px solid var(--card-border);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), transparent);
}

.cons-section {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.05), transparent);
}

.pros-header,
.cons-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.pros-header i {
    color: #4CAF50;
    font-size: 1.3rem;
}

.cons-header i {
    color: #f44336;
    font-size: 1.3rem;
}

.pros-header h4,
.cons-header h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin: 0;
}

.pros-list,
.cons-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-list li,
.cons-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.pros-list li i {
    color: #4CAF50;
    margin-top: 2px;
    flex-shrink: 0;
}

.cons-list li i {
    color: #f44336;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ========================================
   REVIEW CONTENT
======================================== */
.product-review-content {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 0;
    margin: 30px 0;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

article .product-review-content .review-content a{
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.review-content a:hover{
    color: var(--accent-red);
}

.product-review-content .card-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 0;
}

.review-content {
    padding: 25px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.review-content h2,
.review-content h3,
.review-content h4 {
    color: var(--text-primary);
    margin: 30px 0 15px 0;
}

.review-content p {
    margin-bottom: 20px;
}

.review-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ========================================
   FINAL CTA SECTION
======================================== */
.final-cta-section {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-blue);
}

.cta-content h3 {
    color: var(--text-primary);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   ARCHIVE PAGE STYLES
======================================== */
.archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.archive-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.archive-title i {
    color: var(--accent-blue);
}

.archive-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto 30px;
}

.archive-filters {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
    backdrop-filter: blur(20px);
}

.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-form {
    flex: 1;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    max-width: 400px;
    margin: 0 auto;
}

.search-input-wrapper input {
    flex: 1;
    padding: 12px 50px 12px 15px;
    border: 1px solid var(--card-border);
    border-radius: 25px;
    background: var(--glass-gradient);
    color: var(--text-primary);
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.search-input-wrapper input::placeholder {
    color: var(--text-secondary);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-blue);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #0052cc;
    transform: translateY(-50%) scale(1.1);
}

.filter-options {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--glass-gradient);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.results-info {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

.results-count {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   REVIEWS GRID
======================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(20px);
}

.review-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue);
    box-shadow: 0 12px 25px rgba(113, 112, 81, 0.15);
}

.review-card .sponsored-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
}

.review-image {
    position: relative;
    max-height: 400px;
    overflow: hidden;
}

.review-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-card:hover .review-thumb {
    transform: scale(1.05);
}

.network-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

.review-content {
    padding: 20px;
}

.review-header {
    margin-bottom: 15px;
}

.review-title {
    margin: 0 0 10px 0;
}

.review-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.review-title a:hover {
    color: var(--accent-blue);
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-rating .stars {
    color: #ffc107;
    font-size: 1rem;
}

.review-rating .rating-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.review-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.review-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-meta i {
    color: var(--accent-blue);
}

.review-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.review-card .original-price {
    font-size: 1rem;
}

.review-card .current-price {
    font-size: 1.3rem;
    color: var(--accent-blue);
}

.review-actions {
    display: flex;
    gap: 10px;
}

.review-actions .cta-secondary,
.review-actions .cta-primary {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    font-size: 0.9rem;
    text-align: center;
}

/* ========================================
   PAGINATION
======================================== */
.archive-pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pagination-list li {
    margin: 0;
}

.pagination-list a,
.pagination-list span {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pagination-list .current {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.pagination-list a:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.15);
}

/* ========================================
   NO RESULTS
======================================== */
.no-reviews-found {
    text-align: center;
    padding: 60px 20px;
    margin-top: 40px;
}

.no-results-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-results-content i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-results-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.no-results-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ========================================
   NEWSLETTER SIGNUP
======================================== */
.newsletter-signup-section {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.newsletter-signup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-blue);
}

.newsletter-content h3 {
    color: var(--text-primary);
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.newsletter-form .form-group {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--glass-gradient);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
    color: var(--text-secondary);
}

.newsletter-note {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 15px;
    font-style: italic;
}

/* ========================================
   SOCIAL SHARE
======================================== */
.social-share {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--card-border);
}

.social-share h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.share-buttons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.share-buttons li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Social platform specific colors */
.share-buttons li:nth-child(1) a:hover {
    background: #3b5998;
    border-color: #3b5998;
    color: white;
}

.share-buttons li:nth-child(2) a:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.share-buttons li:nth-child(3) a:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.share-buttons li:nth-child(4) a:hover {
    background: #e60023;
    border-color: #e60023;
    color: white;
}

.share-buttons li:nth-child(5) a:hover {
    background: #333333;
    border-color: #333333;
    color: white;
}

/* ========================================
   TAGS
======================================== */
.tags-section {
    margin-bottom: 25px;
}

.tags-section h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 15px;
}

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

.tags-cloud a {
    display: inline-block;
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tags-cloud a:hover {
    border-color: var(--accent-blue);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* ========================================
   SIDEBAR AFFILIATE COMPONENTS
======================================== */

/* Featured Products Card */
.featured-products-card {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 0;
    margin-bottom: 25px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.featured-products-card .card-header {
    padding: 20px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 0;
}

.featured-products-card .card-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-products-card .card-header h3::before {
    content: "⭐";
    font-size: 1rem;
}

.featured-products {
    padding: 20px;
}

.featured-product-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--card-border);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 15px;
    background: var(--glass-gradient);
    border: 1px solid transparent;
}

.featured-product-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.featured-product-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.1);
}

.featured-product-item__thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
    transition: transform 0.3s ease;
}

.featured-product-item__thumb:hover {
    transform: scale(1.05);
}

.featured-product-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-product-item__content {
    flex: 1;
    min-width: 0;
}

.featured-product-item__content h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.featured-product-item__content h4 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-product-item__content h4 a:hover {
    color: var(--accent-blue);
}

.featured-product-item__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.featured-product-item__rating .stars {
    color: #ffc107;
    font-size: 0.85rem;
    line-height: 1;
}

.featured-product-item__rating .rating-value {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
}

.featured-product-item__price {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.featured-product-item__cta {
    display: inline-block;
    background: var(--accent-blue);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(113, 112, 81, 0.2);
}

.featured-product-item__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(113, 112, 81, 0.3);
    color: white;
    text-decoration: none;
}

/* Newsletter Card */
.newsletter-card {
    background: var(--glass-gradient);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 0;
    margin-bottom: 25px;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-blue);
}

.newsletter-card .card-header {
    padding: 20px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 0;
}

.newsletter-card .card-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.newsletter-card .card-header h3::before {
    content: "📧";
    font-size: 1rem;
}

.newsletter-card__content {
    padding: 20px;
}

.newsletter-card__content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    background: var(--glass-gradient);
    color: var(--text-primary);
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(113, 112, 81, 0.1);
}

.newsletter-form input[type="email"]::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.newsletter-form button {
    width: 100%;
    padding: 12px 20px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.newsletter-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.newsletter-form button:hover::before {
    left: 100%;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(113, 112, 81, 0.3);
}

.newsletter-form button:active {
    transform: translateY(0);
}

.newsletter-card__disclaimer {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 10px;
    text-align: center;
    font-style: italic;
    opacity: 0.8;
}

/* Empty state for featured products */
.featured-products p {
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: 20px 0;
    margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
    /* Single Review Responsive */
    .product-title-section h1 {
        font-size: 1.8rem;
    }
    
    .product-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .pros-section {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
    }
    
    .price-display {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .affiliate-cta {
        width: 100%;
        justify-content: center;
    }
    
    /* Archive Responsive */
    .archive-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-controls {
        gap: 15px;
    }
    
    .filter-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .pagination-list {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    /* Sidebar Components Mobile */
    .featured-products-card,
    .newsletter-card {
        margin-bottom: 20px;
    }
    
    .featured-product-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .featured-product-item__thumb {
        align-self: center;
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
    
    .featured-product-item__content h4 {
        font-size: 1rem;
    }
    
    .newsletter-form {
        gap: 12px;
    }
    
    .newsletter-form input[type="email"],
    .newsletter-form button {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .product-summary-card,
    .pros-cons-card,
    .product-review-content,
    .final-cta-section {
        margin: 20px -10px;
        border-radius: 12px;
    }
    
    .disclosure-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .archive-filters {
        padding: 20px 15px;
    }
    
    .search-input-wrapper {
        max-width: 100%;
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.affiliate-cta:active {
    animation: pulse 0.3s ease;
}

/* ========================================
   ACCESSIBILITY
======================================== */
@media (prefers-reduced-motion: reduce) {
    .affiliate-cta,
    .review-card,
    .share-buttons li a {
        transition: none;
    }
    
    .affiliate-cta::before {
        display: none;
    }
}

/* Focus states for accessibility */
.affiliate-cta:focus,
.filter-select:focus,
.search-input-wrapper input:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .affiliate-disclosure,
    .product-summary-card,
    .pros-cons-card,
    .review-card {
        border-width: 2px;
    }
    
    .stars-container,
    .review-rating .stars {
        filter: contrast(1.5);
    }
}
