/*
Theme Name: Michael Favia 2026
Theme URI: https://michaelfavia.dev
Author: Michael Favia
Author URI: https://michaelfavia.dev
Description: Custom portfolio theme for Michael G. Favia 2026
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mf2026
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news, tailwind
*/

:root {
    --deep-navy: #001a25;
    --teal-blue: #00a0ba;
    --electric-cyan: #01eeff;
    --vibrant-orange: #f9731f;
    --dark-color: #001a25;
    --light-color: #f8f9fa;
    --light-navy: #0a2635;
    --medium-navy: #032837;
    --gray-color: #8a9ba8;
    --light-gray: #e9ecef;

    --primary-dark: #001a25;
    --primary-blue: #00a0ba;
    --accent-teal: #01eeff;
    --accent-orange: #f9731f;
    --light-text: #f0f8ff;
    --gray-bg: #0a2530;
    --card-bg: #0a2d3a;

    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 26, 37, 0.15);
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--light-color);
    background-color: var(--deep-navy);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--teal-blue), var(--electric-cyan));
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--gray-color);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--vibrant-orange), #e05d1a);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 15px rgba(249, 115, 31, 0.3);
}

.btn:hover {
    background: linear-gradient(135deg, #e05d1a, #d15317);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(249, 115, 31, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--electric-cyan);
    border: 2px solid var(--electric-cyan);
    box-shadow: 0 4px 15px rgba(1, 238, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(1, 238, 255, 0.1);
    box-shadow: 0 10px 20px rgba(1, 238, 255, 0.3);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 26, 37, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--electric-cyan);
    display: flex;
    align-items: center;
}

.logo span {
    color: var(--vibrant-orange);
}

.logo-icon {
    margin-right: 0.5rem;
    color: var(--electric-cyan);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    color: var(--light-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--electric-cyan);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--electric-cyan);
}

nav ul li a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-color);
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 8rem;
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--light-navy) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 160, 186, 0.1) 0%, rgba(1, 238, 255, 0.05) 50%, transparent 70%);
    transform: rotate(30deg);
    z-index: 0;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    color: white;
}

.hero h1 span {
    color: var(--electric-cyan);
    position: relative;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(1, 238, 255, 0.2);
    z-index: -1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 500px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image-placeholder {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-blue), var(--electric-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 50px rgba(1, 238, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-image-placeholder::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-blue), var(--electric-cyan));
    opacity: 0.2;
    z-index: -1;
}

.hero-image-placeholder i {
    font-size: 10rem;
    color: white;
    opacity: 0.9;
}


/* Skills Section */
.skills {
    background-color: var(--deep-navy);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.skills-category {
    flex: 1;
    min-width: 300px;
}

/*
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-item {
    background-color: var(--light-navy);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    transition: var(--transition);
    border-left: 4px solid var(--teal-blue);
}

*/


.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-left-color: var(--electric-cyan);
}

/*
.skill-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 160, 186, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    color: var(--electric-cyan);
    font-size: 1.5rem;
}
    */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.skill-item {
    background-color: var(--light-navy);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    border-left: 4px solid var(--teal-blue);
}

.skill-icon {
    width: 100px; /* Slightly larger for emphasis */
    height: 100px;        
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem; /* Changed from margin-right to margin-bottom */
    color: var(--electric-cyan);
    font-size: 1.8rem; /* Slightly larger */
}

.skill-icon img {
    max-width: 100px;
}

.skill-item > div:not(.skill-icon) {
    width: 100%; /* Make text container full width */
}

.skill-item h4 {
    color: white;
}

/* Tools Section */
.tools {
    background-color: var(--light-navy);
}

.tools-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tool-category {
    background-color: var(--medium-navy);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--vibrant-orange);
}

.tool-category h3 {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--electric-cyan);
}

.tool-category h3 i {
    margin-right: 0.7rem;
    color: var(--vibrant-orange);
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tool-badge {
    background-color: rgba(0, 160, 186, 0.2);
    color: var(--electric-cyan);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(0, 160, 186, 0.3);
}

.tool-badge:hover {
    background-color: var(--teal-blue);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 160, 186, 0.3);
}

/* Why Work With Me Section */
.benefits {
    background-color: var(--deep-navy);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background-color: var(--light-navy);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid var(--vibrant-orange);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--vibrant-orange);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: white;
}

/* Projects Section */
.projects {
    background-color: var(--light-navy);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.project-card {
    background-color: var(--medium-navy);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 4px solid var(--teal-blue);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-top-color: var(--electric-cyan);
}

.project-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, var(--teal-blue), var(--electric-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    color: white;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.project-tag {
    background-color: rgba(0, 160, 186, 0.2);
    color: var(--electric-cyan);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(0, 160, 186, 0.3);
}

/* Tag Archive Page */
.tag-archive {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.tag-archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.tag-archive-label {
    display: inline-block;
    color: var(--electric-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.tag-archive-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 15px;
}

.tag-archive-description {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.tag-archive-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.tag-project-item {
    display: flex;
    gap: 30px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(1, 238, 255, 0.08);
    transition: var(--transition);
}

.tag-project-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(1, 238, 255, 0.2);
}

.tag-project-image {
    flex-shrink: 0;
    width: 300px;
    min-height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal-blue), var(--electric-cyan));
}

.tag-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tag-project-item:hover .tag-project-image img {
    transform: scale(1.05);
}

.tag-project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.tag-project-info {
    padding: 25px 25px 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.tag-project-info h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 10px;
    line-height: 1.3;
}

.tag-project-info p {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tag-project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 12px;
}

.tag-project-date {
    color: var(--gray-color);
    font-size: 0.8rem;
    opacity: 0.7;
}

.tag-no-projects {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    border: 2px dashed rgba(1, 238, 255, 0.15);
}

.tag-no-projects i {
    font-size: 3rem;
    color: var(--gray-color);
    margin-bottom: 15px;
    display: block;
}

.tag-no-projects p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

.tag-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.tag-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background-color: var(--card-bg);
    color: var(--gray-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid rgba(1, 238, 255, 0.1);
    transition: var(--transition);
}

.tag-pagination .page-numbers:hover {
    background-color: rgba(1, 238, 255, 0.1);
    color: var(--electric-cyan);
    border-color: rgba(1, 238, 255, 0.3);
}

.tag-pagination .page-numbers.current {
    background-color: var(--electric-cyan);
    color: var(--deep-navy);
    border-color: var(--electric-cyan);
    font-weight: 700;
}

.tag-pagination .prev,
.tag-pagination .next {
    gap: 6px;
}

.tag-archive-back {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .tag-archive {
        padding: 100px 0 60px;
    }

    .tag-archive-header h1 {
        font-size: 2.2rem;
    }

    .tag-project-item {
        flex-direction: column;
    }

    .tag-project-image {
        width: 100%;
        height: 200px;
    }

    .tag-project-info {
        padding: 20px;
    }
}

/* Projects Archive Page */
.projects-archive {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.projects-archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-archive-label {
    display: inline-block;
    color: var(--electric-cyan);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.projects-archive-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 15px;
}

.projects-archive-description {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.projects-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.projects-archive-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    border: 2px dashed rgba(1, 238, 255, 0.15);
}

.projects-archive-empty i {
    font-size: 3rem;
    color: var(--gray-color);
    margin-bottom: 15px;
    display: block;
}

.projects-archive-empty p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .projects-archive {
        padding: 100px 0 60px;
    }

    .projects-archive-header h1 {
        font-size: 2.2rem;
    }
}

/* 404 Error Page */
.error-404 {
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.error-404-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.error-404-code .digit {
    font-family: 'Poppins', sans-serif;
    font-size: 8rem;
    font-weight: 700;
    color: var(--light-text);
    line-height: 1;
}

.error-404-code .zero {
    color: var(--electric-cyan);
    position: relative;
}

.error-404-code .zero i {
    font-size: 6rem;
}

.error-404-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 15px;
}

.error-404-content p {
    color: var(--gray-color);
    font-size: 1.15rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-404-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.error-404-actions .btn i,
.error-404-actions .btn-secondary i {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .error-404-code .digit {
        font-size: 5rem;
    }

    .error-404-code .zero i {
        font-size: 3.8rem;
    }

    .error-404-content h1 {
        font-size: 1.6rem;
    }

    .error-404-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* CTA Section */
.cta {
    text-align: center;
    background: linear-gradient(135deg, var(--teal-blue), var(--medium-navy));
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,50 Q250,0 500,50 T1000,50 L1000,100 L0,100 Z" fill="rgba(0,26,37,0.1)"/></svg>');
    background-size: cover;
    opacity: 0.3;
}

.cta h2 {
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta h2::after {
    background: white;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.cta .btn {
    background: linear-gradient(135deg, var(--vibrant-orange), #e05d1a);
    font-size: 1.1rem;
    padding: 1.2rem 3rem;
    position: relative;
    z-index: 1;
}

.cta .btn:hover {
    background: linear-gradient(135deg, #e05d1a, #d15317);
}

/* Footer */
footer {
    background-color: #000f15;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--electric-cyan);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul li a {
    color: var(--gray-color);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--electric-cyan);
    padding-left: 5px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--light-navy);
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--gray-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-left-color: var(--accent-orange);
}

.service-card .card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent-teal);
}

.service-card p {
    color: rgba(240, 248, 255, 0.8);
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 3rem;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .hero-image-placeholder {
        width: 300px;
        height: 300px;
    }
    
    .hero-image-placeholder i {
        font-size: 7rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .header-container {
        padding: 1rem 1.5rem;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--light-navy);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        padding: 2rem;
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        transition: var(--transition);
    }
    
    .mobile-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .mobile-menu ul {
        list-style: none;
    }
    
    .mobile-menu ul li {
        margin: 1.5rem 0;
    }
    
    .mobile-menu ul li a {
        font-size: 1.2rem;
        font-weight: 500;
        color: white;
    }
    
    .hero {
        padding-top: 8rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
     
}

 /* Responsive Design */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    
    .services-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 576px) {
    .service-card {
        padding: 25px;
    }
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

 .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-3px);
}

#project-hero {
    padding-top: 150px;
    padding-bottom: 100px;
    /* background: linear-gradient(135deg, var(--deep-navy) 0%, var(--light-navy) 100%); */
    position: relative;
    overflow: hidden;
    background-image: url(img/herobg.jpg);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}

#project .project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 0px;    
}

#project .meta-item {
    flex: 1;
    min-width: 200px;
}

#project .meta-label {
    font-size: 0.9em;    
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #ffffff;
}

#project .meta-value {
    font-size: 1.1em;
    font-weight: 600;    
    color: var(--gray-color);
}


.overview-section {
    background-color: var(--gray-bg);
}

.wp-block-getwid-section__wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;        
    width: 100%;   
    min-width: 70px;
    margin: 0 auto;   
}

.wp-block-getwid-section__inner-wrapper {
    max-width: var(--max-width);
    padding: 50px 20px;
}

/* Tech Stacks Container */
.techstacks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
    justify-content: center;
}

/* Tech Stack Item */
.techstacks-item {
    flex: 1 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
    min-width: 150px;
    box-sizing: border-box;
    position: relative;
    color: var(--electric-cyan);
}

.techstacks-item-inner {    
    border-radius: 12px;
    padding: 25px 15px 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;    
    position: relative;
    background: var(--primary-dark);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--vibrant-orange);
}

.techstacks-item-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.techstacks-current-post .techstacks-item-inner:hover {
    border-color: #005a87;
    box-shadow: 0 8px 20px rgba(0, 124, 186, 0.15);
}

/* Current Post Indicator */
.techstacks-current-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #007cba;
    background: #fff;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.techstacks-current-post .techstacks-current-indicator .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

/* Link Styles */
.techstacks-link {
    text-decoration: none;
    color: var(--electric-cyan);
    display: block;
    transition: color 0.3s ease;
}

.techstacks-link:hover {
    color: #007cba;
}

.techstacks-name a:hover {
    text-decoration: underline;
}

/* Icon */
.techstacks-icon {
    margin-bottom: 15px;
}

.techstacks-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;    
    transition: transform 0.3s ease;
}

.techstacks-item:hover .techstacks-icon img {
    transform: scale(1.05);
}

/* Tag Name */
.techstacks-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 5px;
}

.techstacks-count {
    font-weight: normal;
    font-size: 14px;
    color: #666;
    margin-left: 5px;
}

/* Description */
.techstacks-description {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
    margin-top: 8px;
    max-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* No Tags Message */
.techstacks-no-tags {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
    font-style: italic;
}

/* Responsive Columns */
.techstacks-columns-1 .techstacks-item {
    flex: 1 0 100%;
    max-width: 100%;
}

.techstacks-columns-2 .techstacks-item {
    flex: 1 0 calc(50% - 20px);
    max-width: calc(50% - 20px);
}

.techstacks-columns-3 .techstacks-item {
    flex: 1 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
}

.techstacks-columns-4 .techstacks-item {
    flex: 1 0 calc(25% - 20px);
    max-width: calc(25% - 20px);
}

.techstacks-columns-5 .techstacks-item {
    flex: 1 0 calc(20% - 20px);
    max-width: calc(20% - 20px);
}

.techstacks-columns-6 .techstacks-item {
    flex: 1 0 calc(16.666% - 20px);
    max-width: calc(16.666% - 20px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .techstacks-item {
        flex: 1 0 calc(33.333% - 20px) !important;
        max-width: calc(33.333% - 20px) !important;
    }
}

@media (max-width: 768px) {
    .techstacks-item {
        flex: 1 0 calc(50% - 20px) !important;
        max-width: calc(50% - 20px) !important;
    }
    
    .techstacks-icon img {
        width: 70px;
        height: 70px;
    }
    
    .techstacks-current-indicator {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .techstacks-item {
        flex: 1 0 100% !important;
        max-width: 100% !important;
    }
    
    .techstacks-container {
        gap: 15px;
    }
    
    .techstacks-item-inner {
        padding: 20px 15px 15px;
    }
}

.the-challenge .wp-block-columns {
    align-items: stretch;
}

.the-challenge .wp-block-column {
    background-color: var(--medium-navy);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);    
    height: 100%;
    border-top: 4px solid var(--teal-blue);
}

.the-challenge ul {
    margin-left: 20px;
}

.key-features .wp-block-column {
    background-color: var(--medium-navy);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--vibrant-orange);
    position: relative;     
}

.key-features p {
    color: var(--gray-color);
    line-height: 25px;
}

.key-features .wp-block-columns:last-child {
    margin-top: 30px;
}

.key-features .wp-block-column h3 {
    color: var(--electric-cyan);
    font-size: 24px;
    padding-left: 60px;
}

.key-features .wp-block-getwid-icon {
    position: absolute;
    color: var(--vibrant-orange);
    font-size: 24px;
    left: 20px;
    top: 20px;
}

#hero-section {
    background: url(img/herobg.jpg) no-repeat bottom center;
    background-size: cover;
    position: relative;    
    font-weight: 400;
    font-size: 26px;
    color:#001A25;
    min-height: calc(100vh);
    display: flex;
    align-items: center;
    justify-content: start;
}

#hero-section .content {
    width: 75%;
}

#hero-section h1 {
    font-weight: 700;
    font-size: 87px;    
    color: #ffffff;
    /* color: var(--electric-cyan); */
}

#hero-section h2 {
    font-weight:bold;
    font-size:48px !important;
    color:#001A25;    
    text-align: left;
}

#hero-section h2::after {
    display: none;
}

#hero-section p {
    color: #ffffff;
}

#hero-section .btn-secondary {
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

#hero-section .btn-secondary:hover {
    background: var(--electric-cyan);
    box-shadow: 0 10px 20px rgba(1, 238, 255, 0.3);
}

#hero-section .content {
    position: relative;
    z-index: 2;
}

#hero-section .photo {
    position: absolute;
    bottom: 0px;
    right: calc((100vw - var(--max-width)) / 2 + 0px);
    width: auto;
    max-height: 80vh;
    z-index: 1;
}

@media (max-width: 1024px) {
    #hero-section {
        min-height: auto;
        padding: 120px 0 0;
    }

    #hero-section .container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #hero-section .content {
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 2;
    }

    #hero-section .content .flex {
        justify-content: center;
    }

    #hero-section h1 {
        font-size: 56px;
    }

    #hero-section h2 {
        font-size: 32px !important;
        text-align: center;
    }

    #hero-section .photo {
        position: relative;
        right: auto;
        bottom: auto;
        max-height: 60vh;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    #hero-section {
        padding: 100px 0 0;
    }

    #hero-section h1 {
        font-size: 40px;
    }

    #hero-section h2 {
        font-size: 24px !important;
    }

    #hero-section p {
        font-size: 16px;
    }

    #hero-section .photo {
        max-height: 50vh;
    }
}

@media (max-width: 480px) {
    #hero-section h1 {
        font-size: 32px;
    }

    #hero-section h2 {
        font-size: 20px !important;
    }

    #hero-section .photo {
        max-height: 40vh;
    }
}

.stats-bar {    
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;    
    position: relative;
    overflow: hidden;
    padding: 20px 0px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    flex: 1;
    min-width: 200px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 70px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--electric-cyan), transparent);
    opacity: 0.3;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    background-color: rgba(1, 238, 255, 0.1);
    color: var(--electric-cyan);
    border: 2px solid rgba(1, 238, 255, 0.2);
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light-text);
    line-height: 1.2;
}

.stat-label {
    color: var(--gray-color);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.badge {
    display: inline-block;
    background-color: var(--accent-orange);
    color: var(--light-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 6px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 992px) {
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stat-item {
        min-width: 180px;
    }
}

@media (max-width: 768px) {
    .stats-bar {
        flex-direction: column;
        padding: 30px 20px;
    }
    
    .stat-item {
        width: 100%;
        margin-bottom: 30px;
        min-width: unset;
    }
    
    .stat-item:last-child {
        margin-bottom: 0;
    }
    
    .stat-value {
        font-size: 2.2rem;
    }
}

/* Animation effects */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    background-color: rgba(1, 238, 255, 0.2);
    border-color: var(--electric-cyan);
    box-shadow: 0 0 15px rgba(1, 238, 255, 0.3);
}

/* Sticky Navigation Styles */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--light-navy);
}

.sticky-nav.scrolled {
    background-color: rgba(0, 26, 37, 0.95);
    backdrop-filter: blur(10px);
    padding: 5px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--accent-teal);
}

.logo-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--electric-cyan);
}

.logo-name span {
    color: var(--vibrant-orange);
}

.logo-title {
    font-size: 0.8rem;
    color: var(--accent-teal);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-teal);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-teal);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.hamburger {
    width: 25px;
    height: 2px;
    background-color: var(--light-text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--primary-dark);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-link {
    display: block;
    color: var(--light-text);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--light-navy);
    transition: all 0.3s ease;
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--accent-teal);
    padding-left: 10px;
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .nav-container {
        padding: 10px 20px;
    }
    
    .logo-name {
        font-size: 1.3rem;
    }
    
    .logo-title {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .logo-name {
        font-size: 1.1rem;
    }
    
    .logo-title {
        font-size: 0.6rem;
    }
    
    .mobile-toggle {
        width: 35px;
        height: 35px;
    }
    
    .hamburger {
        width: 20px;
    }
}