/*
Theme Name: Developer Portfolio
Theme URI: https://prestashopexpert.com
Author: Yasir Ahmed
Author URI: https://prestashopexpert.com
Description: A lightning-fast, custom-built portfolio theme for PrestaShop Expert Yasir Ahmed. Optimized for performance with minimal dependencies.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: developer-portfolio
*/

/* ============================================
   CSS RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

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

ul, ol {
    list-style: none;
}

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary: #0077c2;
    --primary-dark: #005a94;
    --primary-light: #00a8e8;
    --secondary: #1a1a2e;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --gray-light: #f8f9fa;
    --gray: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
    --header-height: 80px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.highlight {
    color: var(--primary);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

.section-header p {
    max-width: 600px;
    margin: 25px auto 0;
    font-size: 1.1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 194, 0.35);
    color: var(--white);
}

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

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

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

.btn-white:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
}

.btn-upwork {
    background: #14a800;
    color: var(--white);
}

.btn-upwork:hover {
    background: #108a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(20, 168, 0, 0.35);
    color: var(--white);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    color: var(--white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    height: var(--header-height);
    transition: var(--transition);
}

.site-header .container {
    height: 100%;
}

.site-header.scrolled {
    height: 70px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.main-nav ul {
    display: flex;
    gap: 35px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after,
.main-nav .current-menu-item a::after {
    width: 100%;
}

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

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

.header-social a {
    width: 38px;
    height: 38px;
    background: var(--gray-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 16px;
    transition: var(--transition);
}

.header-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left a {
    color: var(--primary-light);
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-left a:hover {
    color: var(--white);
}

.top-bar-right .btn {
    padding: 8px 20px;
    font-size: 13px;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: linear-gradient(135deg, rgba(0, 119, 194, 0.05), rgba(0, 168, 232, 0.08));
    border-radius: 50%;
    z-index: 0;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content .tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.hero-stats .stat {
    text-align: center;
    background: var(--white);
    padding: 20px 15px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 500px;
}

.hero-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f7fc, #e0eef7);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 3px dashed var(--primary);
    color: var(--primary);
}

.hero-placeholder i {
    font-size: 80px;
    opacity: 0.5;
}

.hero-placeholder span {
    font-size: 14px;
    text-align: center;
    opacity: 0.7;
    line-height: 1.5;
}

/* ============================================
   BANNER SECTION (Meetup Photo)
   ============================================ */
.banner-section {
    background: var(--secondary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.banner-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.banner-content {
    color: var(--white);
}

.banner-content h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.banner-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.banner-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ============================================
   SERVICES / WHY CHOOSE ME
   ============================================ */
.why-choose-me {
    background: var(--white);
    padding: 60px 0;
}

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

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.service-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Stats Bar */
.stats-bar {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 60px 0;
    margin: 60px 0;
    border-radius: var(--radius);
}

.stats-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;
}

.stats-grid .stat {
    color: var(--white);
    text-align: center;
    flex: 1;
}

.stats-grid .stat-number {
    color: var(--white);
    font-size: 3rem;
}

.stats-grid .stat-label {
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
}

/* Stats Bar with Slider */
.stats-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.stats-content .stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stats-content .stats-grid .stat {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px 20px;
    border-radius: var(--radius-sm);
    backdrop-filter: blur(5px);
    text-align: center;
}

.stats-content .stats-grid .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stats-content .stats-grid .stat-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.stats-slider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats-slider .feedback-slider-container {
    max-width: 100%;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ============================================
   PORTFOLIO / PROJECTS SLIDER
   ============================================ */
.projects-section {
    background: var(--gray-light);
}

.projects-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.projects-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.project-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray);
}

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

.project-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 119, 194, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    color: var(--white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.project-content p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

/* ============================================
   TESTIMONIALS SLIDER
   ============================================ */
.testimonials-section {
    background: var(--white);
}

.testimonials-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(50% - 15px);
    background: var(--gray-light);
    padding: 40px;
    border-radius: var(--radius);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    font-size: 100px;
    color: var(--primary);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 30px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    margin-bottom: 25px;
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 0;
    font-style: italic;
}

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

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

.testimonial-rating {
    color: #ffc107;
    margin-top: 5px;
    font-size: 14px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    background: linear-gradient(135deg, var(--gray-light), var(--white));
    padding: 140px 0 80px;
}

.about-hero-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.about-placeholder {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #f0f7fc, #e0eef7);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 3px dashed var(--primary);
    color: var(--primary);
}

.about-placeholder i {
    font-size: 60px;
    opacity: 0.5;
}

.about-placeholder span {
    font-size: 13px;
    text-align: center;
    opacity: 0.7;
    line-height: 1.4;
}

.about-intro h1 {
    margin-bottom: 10px;
}

.about-intro .subtitle {
    color: var(--primary);
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 25px;
}

.about-intro p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Experience Timeline */
.experience-section {
    background: var(--white);
    padding: 60px 0;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.experience-card {
    background: var(--gray-light);
    padding: 30px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.experience-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.experience-card .period {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

/* Skills Section */
.skills-section {
    background: var(--gray-light);
}

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

.skill-item {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

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

.skill-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.skill-item h4 {
    font-size: 1rem;
}

/* ============================================
   CONTACT / REQUEST A QUOTE PAGE
   ============================================ */
.contact-page {
    background: var(--gray-light);
    padding: 140px 0 100px;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info h1 {
    margin-bottom: 20px;
}

.contact-info > p {
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.contact-details {
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    flex-shrink: 0;
}

.contact-item span,
.contact-item a {
    font-size: 1rem;
    color: var(--text);
}

.contact-item a {
    color: var(--primary);
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.social-links a.facebook:hover { background: #1877f2; }
.social-links a.linkedin:hover { background: #0a66c2; }
.social-links a.whatsapp:hover { background: #25D366; }
.social-links a.upwork:hover { background: #14a800; }

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 45px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form-wrapper h2 {
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-group label .required {
    color: #dc3545;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--white);
}

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

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

.form-group input[type="file"] {
    padding: 12px;
    background: var(--gray-light);
}

.contact-form-wrapper .btn {
    width: 100%;
    padding: 16px;
    font-size: 17px;
}

/* ============================================
   BLOG PAGE
   ============================================ */
.blog-page {
    background: var(--gray-light);
    padding: 140px 0 100px;
}

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

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.blog-image {
    height: 220px;
    overflow: hidden;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.blog-meta span {
    margin-right: 15px;
}

.blog-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.blog-content h3 a {
    color: var(--secondary);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

.blog-content p {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    gap: 10px;
}

/* Single Blog Post */
.single-post {
    background: var(--gray-light);
    padding: 40px 0;
}

.post-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.post-container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.post-container h2 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.post-container .blog-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray);
}

.post-container img {
    border-radius: var(--radius-sm);
    margin: 25px 0;
}

.post-container p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}

.post-container h2,
.post-container h3 {
    margin-top: 35px;
    margin-bottom: 15px;
}

.post-container ul,
.post-container ol {
    margin: 20px 0;
    padding-left: 25px;
}

.post-container li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.post-container ul li {
    list-style: disc;
}

.post-container ol li {
    list-style: decimal;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 70px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand .site-logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-column ul a:hover {
    color: var(--primary-light);
}

.footer-column ul a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul a i {
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-email-link {
    white-space: nowrap;
}

.footer-logo img {
    max-height: 45px;
    width: auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ============================================
   WHATSAPP STICKY BUTTON
   ============================================ */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-sticky a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    color: var(--white);
    font-size: 32px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-sticky a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-sticky .tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.whatsapp-sticky:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 5px;
    z-index: 999;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 119, 194, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 119, 194, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991px) {
    .hero-inner,
    .about-hero-inner,
    .contact-inner,
    .banner-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        text-align: center;
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-hero-inner {
        text-align: center;
    }

    .about-image {
        max-width: 280px;
        margin: 0 auto;
    }

    .about-links {
        justify-content: center;
    }

    .banner-inner {
        text-align: center;
    }

    .banner-image {
        order: -1;
    }

    .project-card {
        flex: 0 0 calc(50% - 15px);
    }

    .testimonial-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .section {
        padding: 40px 0;
    }

    /* Hero Mobile Optimizations */
    .hero {
        padding: 100px 0 50px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-content .tagline {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .top-bar {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: flex !important;
    }

    .header-social {
        display: none;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    /* Hero Stats - 2x2 Grid on Mobile */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-stats .stat {
        padding: 15px;
        background: var(--white);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow);
    }

    .hero-stats .stat-number {
        font-size: 1.8rem;
    }

    /* Stats Bar - Allow wrapping */
    .stats-bar {
        padding: 30px 20px;
        margin: 25px 0;
        border-radius: var(--radius-sm);
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stats-grid .stat {
        background: rgba(255, 255, 255, 0.15);
        padding: 20px 15px;
        border-radius: var(--radius-sm);
        backdrop-filter: blur(5px);
    }

    .stats-grid .stat-number {
        font-size: 1.8rem;
        color: var(--white);
    }

    .stats-grid .stat-label {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.9);
    }

    /* Stats Bar with Slider - Mobile */
    .stats-bar-inner {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stats-slider {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        display: block !important;
    }

    .stats-slider .feedback-slider-container {
        max-width: 320px;
        margin: 0 auto;
    }

    .stats-content {
        order: -1;
    }

    .stats-content .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stats-content .stats-grid .stat {
        padding: 15px 10px;
    }

    .stats-content .stats-grid .stat-number {
        font-size: 1.6rem;
    }

    .stats-content .stats-grid .stat-label {
        font-size: 0.7rem;
    }

    /* CTA Section Mobile */
    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .cta-section p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Page Header Mobile */
    .page-header {
        padding: 20px 0;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Center Footer Logo */
    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .contact-inner {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .project-card {
        flex: 0 0 100%;
    }

    /* Testimonial Cards - Auto Height on Mobile */
    .testimonial-card {
        flex: 0 0 100%;
        height: auto !important;
        min-height: auto !important;
        padding: 25px;
    }

    .testimonials-slider {
        align-items: flex-start;
    }

    .testimonial-content {
        margin-bottom: 15px;
    }

    /* About Me Page - Bullet List Fix */
    .about-intro ul {
        text-align: left;
        max-width: 100%;
        padding: 15px !important;
        margin: 15px 0 !important;
        background: var(--gray-light);
        border-radius: 12px;
        border-left: 4px solid var(--primary);
        list-style: none !important;
    }

    .about-intro ul li {
        text-align: left;
        font-size: 0.95rem;
        font-weight: 500;
        line-height: 1.5;
        margin-bottom: 12px !important;
        padding-left: 24px !important;
        position: relative;
        color: var(--secondary) !important;
        list-style: none !important;
    }

    .about-intro ul li:last-child {
        margin-bottom: 0 !important;
    }

    .about-intro ul li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--primary);
        font-weight: 700;
        font-size: 0.9rem;
    }

    .whatsapp-sticky {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-sticky a {
        width: 55px;
        height: 55px;
        font-size: 28px;
    }

    .scroll-to-top {
        bottom: 20px;
        left: 5px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .post-container {
        padding: 25px;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-primary { background: var(--primary); }
.bg-light { background: var(--gray-light); }

/* Scroll margin for anchor links */
section[id] {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

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

/* WordPress Editor Styles */
.wp-block-button__link {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-sm);
    padding: 14px 32px;
    font-weight: 600;
}

.wp-block-button__link:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

/* Gutenberg alignwide and alignfull */
.alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* ============================================
   BLOG CARD STYLES (Extended)
   ============================================ */
.blog-section {
    background: var(--gray-light);
    padding-top: 80px;
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-content .read-more {
    margin-top: auto;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.blog-title a {
    color: var(--secondary);
}

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

.blog-excerpt {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Pagination */
.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 8px;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary);
    color: var(--white);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 15px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary), #005a9e);
    padding: 30px 0;
    color: var(--white);
    margin-top: var(--header-height);
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 10px;
}

.page-header p {
    color: #ffffff;
}

/* Privacy Checkbox */
.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
}

.privacy-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
}

.privacy-checkbox label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.privacy-checkbox a {
    color: var(--primary);
}

/* Upwork Promo Box */
.upwork-promo {
    background: linear-gradient(135deg, #14a800, #108a00);
    border-radius: var(--radius);
    padding: 25px;
    color: var(--white);
    margin-top: 30px;
}

.upwork-promo h4 {
    color: var(--white);
    margin-bottom: 10px;
}

.upwork-promo p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.upwork-promo .btn {
    background: var(--white);
    color: #14a800;
}

.upwork-promo .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-header {
    background: linear-gradient(135deg, var(--primary), #005a9e);
    text-align: center;
}

.services-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 0;
}

.services-intro {
    background: var(--white);
    padding: 80px 0;
}

.services-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.services-intro-content h2 {
    margin-bottom: 20px;
}

.services-intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.services-main {
    background: var(--gray-light);
}

.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-detailed-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 25px;
    transition: var(--transition);
}

.service-detailed-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-icon-large {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.service-detailed-content h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.service-detailed-content > p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text);
}

.service-features li i {
    color: var(--primary);
    margin-top: 3px;
    flex-shrink: 0;
}

.services-grid-small {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-small-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-small-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-small-card i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-small-card h4 {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.service-small-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Versions Section */
.versions-section {
    background: var(--white);
}

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

.version-card {
    background: var(--gray-light);
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.version-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.version-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 20px;
    background: var(--gray);
    color: var(--text-light);
    margin-bottom: 15px;
}

.version-badge.popular {
    background: var(--primary);
    color: var(--white);
}

.version-badge.latest {
    background: #14a800;
    color: var(--white);
}

.version-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.version-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Why Choose Section */
.why-choose-section {
    background: var(--gray-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-choose-item {
    text-align: center;
    padding: 30px;
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--white);
}

.why-choose-item h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.why-choose-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Services Page Responsive */
@media (max-width: 1024px) {
    .services-detailed-grid {
        grid-template-columns: 1fr;
    }

    .services-grid-small {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-detailed-card {
        flex-direction: column;
        text-align: center;
    }

    .service-icon-large {
        margin: 0 auto;
    }

    .service-features li {
        justify-content: center;
    }

    .services-grid-small {
        grid-template-columns: 1fr;
    }

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

    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* Margin utilities */
.mt-3 {
    margin-top: 1.5rem;
}
