/* ============================================
   PY CODING STUDIO - COMPLETE CSS FILE
   รวมสไตล์สำหรับหน้าเว็บหลักและหน้าบทความ
============================================ */

/* ============================================
   1. VARIABLES & BASE STYLES
============================================ */
:root {
    --primary-color: #6a00f4;
    --secondary-color: #00d4ff;
    --dark-color: #0a0a16;
    --light-color: #ffffff;
    --accent-color: #ff4d88;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-muted: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    background-color: var(--dark-color);
    color: var(--light-color);
    overflow-x: hidden;
    line-height: 1.6;
    font-weight: 400;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   2. CUSTOM SCROLLBAR
============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient);
    border-radius: 10px;
}

    ::-webkit-scrollbar-thumb:hover {
        opacity: 0.8;
    }

/* ============================================
   3. NAVIGATION
============================================ */
.navbar {
    background: rgba(10, 10, 22, 0.95);
    backdrop-filter: blur(10px);
    padding: 5px 0;
    transition: all 0.5s ease;
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
}

.navbar-brand {
    font-family: 'Kanit', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

    .navbar-brand img {
        height: 60px;
        margin-right: 10px;
    }

    .navbar-brand:after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--gradient);
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.5s ease;
    }

    .navbar-brand:hover:after {
        transform: scaleX(1);
        transform-origin: left;
    }

.nav-link {
    color: var(--light-color) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Kanit', sans-serif;
    font-size: 1.2rem;
}

    .nav-link:before {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--secondary-color);
        transition: width 0.3s ease;
    }

    .nav-link:hover:before {
        width: 100%;
    }

    .nav-link.active {
        color: var(--secondary-color) !important;
    }

/* ============================================
   4. HERO SECTIONS
============================================ */
/* Main Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(10, 10, 22, 0.8), rgba(10, 10, 22, 0.9)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2072&q=80') no-repeat center center;
    background-size: cover;
}

/* Articles Hero */
.articles-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(10, 10, 22, 0.8), rgba(10, 10, 22, 0.9)), url('https://images.unsplash.com/photo-1518709268805-4e9042af2176?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2068&q=80') no-repeat center center;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(106, 0, 244, 0.5);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   5. SECTION STYLES
============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.01em;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: var(--gradient);
        border-radius: 2px;
    }

/* Section Backgrounds */
.services-section {
    background: linear-gradient(to bottom, var(--dark-color), #0f0f1f);
}

.portfolio-section {
    background: linear-gradient(to bottom, #0f0f1f, var(--dark-color));
}

.team-section {
    background: linear-gradient(to bottom, var(--dark-color), #0f0f1f);
}

.articles-section {
    background: linear-gradient(to bottom, var(--dark-color), #0f0f1f);
}

/* ============================================
   6. FLOATING ELEMENTS & PARTICLES
============================================ */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
    }
}

/* Particle Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* ============================================
   7. CARD STYLES
============================================ */
/* Hologram Card */
.hologram-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

    .hologram-card:before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: var(--gradient);
        z-index: -1;
        border-radius: 17px;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .hologram-card:hover:before {
        opacity: 1;
    }

    .hologram-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    .hologram-card h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .hologram-card p {
        font-size: 1.15rem;
        line-height: 1.7;
        margin-bottom: 1.2rem;
    }

/* Service Card */
.service-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid var(--card-border);
    position: relative;
    height: 100%;
}

    .service-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient);
        opacity: 0;
        transition: opacity 0.5s ease;
        z-index: -1;
    }

    .service-card:hover {
        transform: translateY(-15px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

        .service-card:hover:before {
            opacity: 0.1;
        }

.service-icon {
    height: 80px;
    width: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--secondary-color);
}

.service-content {
    padding: 25px;
    text-align: center;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--light-color);
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
}

.service-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Portfolio Card */
.portfolio-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid var(--card-border);
    position: relative;
}

    .portfolio-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

.portfolio-image {
    height: 200px;
    overflow: hidden;
}

    .portfolio-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-content {
    padding: 20px;
}

.portfolio-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--light-color);
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
}

.portfolio-description {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.5;
}

/* Article Card */
.article-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    border: 1px solid var(--card-border);
    position: relative;
    height: 100%;
    margin-bottom: 30px;
}

    .article-card:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--gradient);
        opacity: 0;
        transition: opacity 0.5s ease;
        z-index: -1;
    }

    .article-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    }

        .article-card:hover:before {
            opacity: 0.1;
        }

.article-image {
    height: 220px;
    overflow: hidden;
}

    .article-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    background: rgba(106, 0, 244, 0.2);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border: 1px solid rgba(106, 0, 244, 0.3);
    font-weight: 500;
}

.article-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--light-color);
    font-weight: 700;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Featured Article */
.featured-article {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    margin-bottom: 50px;
}

.featured-content {
    padding: 40px;
}

.featured-category {
    display: inline-block;
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.featured-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--light-color);
    font-weight: 700;
    line-height: 1.3;
}

.featured-excerpt {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-size: 1.2rem;
    line-height: 1.7;
}

/* ============================================
   8. TEAM CARD
============================================ */
.team-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
    max-width: 600px;
    margin: 0 auto;
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

.team-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 3px solid var(--primary-color);
}

    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.team-name {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--light-color);
    font-weight: 700;
    font-family: 'Kanit', sans-serif;
}

.team-position {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.team-description {
    color: var(--text-muted);
    margin-bottom: 25px;
    line-height: 1.7;
}

    .team-description p {
        margin-bottom: 15px;
    }

    .team-description strong {
        color: var(--secondary-color);
        font-weight: 600;
    }

/* ============================================
   9. STATS
============================================ */
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 50px;
}

.stat-item {
    text-align: center;
    margin: 20px;
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
    font-family: 'Kanit', sans-serif;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-weight: 500;
}

/* ============================================
   10. SKILLS & TAGS
============================================ */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.skill-tag {
    background: rgba(106, 0, 244, 0.2);
    color: var(--secondary-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(106, 0, 244, 0.3);
    font-weight: 500;
    transition: all 0.3s ease;
}

    .skill-tag:hover {
        background: var(--gradient);
        color: white;
        transform: translateY(-3px);
    }

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: rgba(106, 0, 244, 0.2);
    color: var(--secondary-color);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(106, 0, 244, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .tag:hover {
        background: var(--gradient);
        color: white;
    }

/* ============================================
   11. GRID LAYOUTS
============================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* ============================================
   12. SIDEBAR (สำหรับบทความ)
============================================ */
.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--card-border);
}

.sidebar-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

    .sidebar-title:after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: var(--gradient);
    }

.recent-articles li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

    .recent-articles li:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }

.recent-articles a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .recent-articles a:hover {
        color: var(--secondary-color);
    }

/* ============================================
   13. ARTICLE DETAIL
============================================ */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
}

.article-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

    .article-body h3 {
        font-size: 1.8rem;
        margin: 30px 0 15px;
        color: var(--secondary-color);
    }

    .article-body p {
        margin-bottom: 20px;
    }

    .article-body ul, .article-body ol {
        margin-bottom: 20px;
        padding-left: 20px;
    }

    .article-body li {
        margin-bottom: 10px;
    }

.code-block {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-color);
    font-family: monospace;
    overflow-x: auto;
    color: #00ff88;
}

.alert {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
}

.alert-dark {
    background: rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* ============================================
   14. PAGINATION
============================================ */
.pagination-container {
    margin-top: 50px;
}

.page-link {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

    .page-link:hover {
        background: var(--gradient);
        color: white;
        border-color: transparent;
    }

.page-item.active .page-link {
    background: var(--gradient);
    border-color: transparent;
}

/* ============================================
   15. BUTTONS
============================================ */
.btn-neon {
    background: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
    font-family: 'Kanit', sans-serif;
    cursor: pointer;
}

    .btn-neon:before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: var(--secondary-color);
        transition: all 0.3s ease;
        z-index: -1;
    }

    .btn-neon:hover {
        color: var(--dark-color);
    }

        .btn-neon:hover:before {
            left: 0;
        }

/* ============================================
   16. FOOTER
============================================ */
footer {
    background: #0a0a16;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    font-family: 'Kanit', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

    .footer-logo img {
        height: 60px;
        margin-right: 15px;
    }

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    font-weight: 500;
}

    .footer-links a:hover {
        color: var(--secondary-color);
        padding-left: 5px;
    }

.footer-links h5 {
    font-family: 'Kanit', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-links p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    transition: all 0.3s ease;
    color: var(--light-color);
    text-decoration: none;
}

    .social-icon:hover {
        background: var(--gradient);
        transform: translateY(-5px);
    }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ============================================
   17. FLOATING CONTACT
============================================ */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.7rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.phone-btn {
    background: #28a745;
}

.line-btn {
    background: #06c755;
}

.email-btn {
    background: var(--accent-color);
}

.contact-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

.contact-tooltip {
    position: absolute;
    right: 70px;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-btn:hover .contact-tooltip {
    opacity: 1;
    right: 75px;
}

/* ============================================
   18. FORM STYLES
============================================ */
.form-control {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--light-color);
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--secondary-color);
        color: var(--light-color);
        box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.25);
    }

.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border-left: none;
    background: var(--gradient);
    color: white;
    border-color: var(--card-border);
}

    .input-group .btn:hover {
        opacity: 0.9;
    }

/* ============================================
   19. MODAL
============================================ */
.modal-content {
    background: var(--dark-color);
    border: 1px solid var(--card-border);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid var(--card-border);
}

.modal-footer {
    border-top: 1px solid var(--card-border);
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* ============================================
   20. RESPONSIVE DESIGN
============================================ */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .section {
        padding: 80px 0;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .featured-title {
        font-size: 1.9rem;
    }

    .sidebar {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

        .navbar-brand img {
            height: 50px;
        }

    .floating-contact {
        bottom: 20px;
        right: 20px;
    }

    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        padding: 25px;
    }

    .team-name {
        font-size: 1.9rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .featured-content {
        padding: 25px;
    }

    .section-title:after {
        width: 80px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .hologram-card {
        padding: 20px;
    }

    .service-content, .portfolio-content, .article-content {
        padding: 20px;
    }

    .team-image {
        width: 150px;
        height: 150px;
    }

    .stats-container {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        margin: 15px 0;
    }

    .floating-contact {
        bottom: 15px;
        right: 15px;
    }

    .footer-logo {
        font-size: 1.8rem;
    }

        .footer-logo img {
            height: 50px;
        }
}

/* ============================================
   21. UTILITY CLASSES
============================================ */
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: var(--gradient) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

.bg-dark {
    background-color: var(--dark-color) !important;
}

.rounded-lg {
    border-radius: 15px;
}

.shadow-lg {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.shadow-xl {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
}

.mt-10 {
    margin-top: 100px;
}

.mb-10 {
    margin-bottom: 100px;
}

.p-10 {
    padding: 100px;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 100ms !important;
}

.delay-200 {
    animation-delay: 200ms !important;
}

.delay-300 {
    animation-delay: 300ms !important;
}

.delay-400 {
    animation-delay: 400ms !important;
}

.delay-500 {
    animation-delay: 500ms !important;
}

/* ============================================
   22. PRINT STYLES
============================================ */
@media print {
    .navbar,
    .floating-contact,
    .social-icons,
    .btn-neon,
    .contact-btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .text-gradient {
        -webkit-text-fill-color: black !important;
        background: none !important;
    }

    .card, .hologram-card, .service-card, .article-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
        background: white !important;
        color: black !important;
    }
}

/* ============================================
   END OF CSS FILE
============================================ */
