/*
Theme Name: 3D Print Orlando - Synthwave
Theme URI: https://3dprintorlando.com
Author: 3D Print Orlando
Author URI: https://3dprintorlando.com
Description: A retro synthwave-themed WordPress theme for 3D Print Orlando with neon aesthetics and modern responsive design.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 3dprint-orlando
Tags: custom-header, custom-menu, featured-images, threaded-comments, translation-ready, business

This theme is designed specifically for 3D Print Orlando.
*/

:root {
    --neon-pink: #ff006e;
    --neon-blue: #00d9ff;
    --neon-purple: #8338ec;
    --neon-orange: #fb5607;
    --dark: #0a0e27;
    --darker: #050714;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    background: var(--darker);
    color: #ffffff;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
}

/* Strip ALL styling from content areas - AGGRESSIVE */
.entry-content,
.page-content,
.content,
.hero-text,
.hero-text *,
.entry-content *,
.page-content *,
.content *,
article,
article *,
p,
div,
blockquote {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:visited {
    color: inherit;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(255, 0, 110, 0.15), transparent 50%),
        radial-gradient(ellipse at bottom, rgba(0, 217, 255, 0.15), transparent 50%),
        radial-gradient(ellipse at center, rgba(131, 56, 236, 0.1), transparent 60%);
    animation: gradientMove 15s ease infinite;
    z-index: -1;
}

@keyframes gradientMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.grid-bg {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: 
        linear-gradient(transparent 0%, var(--darker) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(0, 217, 255, 0.2) 49px, rgba(0, 217, 255, 0.2) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(0, 217, 255, 0.2) 49px, rgba(0, 217, 255, 0.2) 50px);
    transform: perspective(500px) rotateX(60deg);
    transform-origin: bottom;
    z-index: -1;
    opacity: 0.4;
}

header.site-header {
    background: rgba(17, 17, 35, 0.7);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--neon-pink), var(--neon-purple), var(--neon-blue)) 1;
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 25px 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logo {
    font-family: 'Audiowide', cursive;
    font-size: 32px;
    background: linear-gradient(135deg, #ffffff, var(--neon-blue), var(--neon-pink)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% 200% !important;
    animation: gradientShift 5s ease infinite !important;
    filter: drop-shadow(0 0 50px rgba(255, 0, 110, 1)) 
            drop-shadow(0 0 100px rgba(0, 217, 255, 0.8))
            drop-shadow(0 0 150px rgba(131, 56, 236, 0.6));
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.logo:hover {
    text-decoration: none;
}

@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.5)); }
    50% { filter: drop-shadow(0 0 30px rgba(0, 217, 255, 0.7)); }
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.contact-link, .contact-text {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s;
}

.contact-link:hover,
.contact-link:visited,
.contact-link:active,
.contact-link:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

.contact-text {
    opacity: 0.9;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--neon-blue);
    padding: 15px 20px;
    cursor: pointer;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: all 0.3s;
    position: relative;
}

.menu-toggle:hover {
    background: var(--neon-blue);
    box-shadow: 0 0 20px var(--neon-blue);
}

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

.hamburger span {
    width: 35px;
    height: 4px;
    background: var(--neon-blue);
    transition: all 0.3s;
}

.menu-toggle:hover .hamburger span {
    background: var(--darker);
}

.menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Desktop Navigation */
nav.main-navigation {
    display: block;
}

nav.main-navigation ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 8px;
    align-items: flex-end;
}

nav.main-navigation a {
    color: #ffffff;
    text-decoration: none;
    padding: 0px 28px;
    display: block;
    font-weight: 700;
    font-size: 13px;
    position: relative;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    min-width: 180px;
    text-align: right;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

nav.main-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

nav.main-navigation a:hover::before {
    opacity: 1;
}

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.2), transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero h1 {
    font-family: 'Audiowide', cursive;
    font-size: 78px;
    line-height: 1.1;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
    filter: drop-shadow(0 0 50px rgba(255, 0, 110, 1)) 
            drop-shadow(0 0 100px rgba(0, 217, 255, 0.8))
            drop-shadow(0 0 150px rgba(131, 56, 236, 0.6));
    max-width: 900px;
    word-break: keep-all;
    white-space: normal;
}

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

.hero h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 35px;
    letter-spacing: 3px;
    text-transform: uppercase;
    max-width: 700px;
    background: linear-gradient(135deg, #ffffff, var(--neon-blue), var(--neon-pink)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% 200% !important;
    animation: gradientShift 5s ease infinite !important;
    filter: drop-shadow(0 0 50px rgba(255, 0, 110, 1)) 
            drop-shadow(0 0 100px rgba(0, 217, 255, 0.8))
            drop-shadow(0 0 150px rgba(131, 56, 236, 0.6));
}

.hero-text {
    max-width: 700px;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 45px;
    font-weight: 500;
    background: transparent !important;
    padding: 0;
    border: none !important;
    border-left: none !important;
    box-shadow: none !important;
}

.hero-text p {
    background: transparent !important;
    border: none !important;
    border-left: none !important;
    padding: 0;
    margin: 0;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 45px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    color: white;
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    transition: left 0.4s;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.7);
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-blue);
    border: 3px solid var(--neon-blue);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.btn-secondary:hover {
    background: var(--neon-blue);
    color: var(--darker);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.6);
    transform: translateY(-3px);
}

.geo-shapes {
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.1;
}

.geo-shape {
    width: 200px;
    height: 200px;
    border: 3px solid var(--neon-pink);
    position: absolute;
    animation: rotate 20s linear infinite;
}

.geo-shape:nth-child(1) {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.geo-shape:nth-child(2) {
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
    border-color: var(--neon-blue);
    animation-delay: 2s;
}

.geo-shape:nth-child(3) {
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    border-color: var(--neon-purple);
    animation-delay: 4s;
}

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

.services {
    padding: 120px 40px;
    background: transparent;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.section-title {
    font-family: 'Audiowide', cursive;
    font-size: 58px;
    margin-bottom: 70px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, var(--neon-blue), var(--neon-pink)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% 200% !important;
    animation: gradientShift 5s ease infinite !important;
    filter: drop-shadow(0 0 50px rgba(255, 0, 110, 1)) 
            drop-shadow(0 0 100px rgba(0, 217, 255, 0.8))
            drop-shadow(0 0 150px rgba(131, 56, 236, 0.6));
}

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

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

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.service-card {
    background: var(--darker);
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ffffff, var(--neon-blue), var(--neon-pink)) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 5s ease infinite !important;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
    z-index: -1;
}

.service-card a {
    display: block;
    text-decoration: none !important;
    color: inherit !important;
}

.service-card a:hover,
.service-card a:visited,
.service-card a:active {
    text-decoration: none !important;
    color: inherit !important;
}

.service-card .service-icon {
    font-size: 52px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    filter: drop-shadow(0 0 10px var(--neon-blue));
    color: inherit !important;
}

.service-card h3 {
    font-family: 'Audiowide', cursive;
    font-size: 24px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background: linear-gradient(135deg, #ffffff, var(--neon-blue), var(--neon-pink)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% 200% !important;
    animation: gradientShift 5s ease infinite !important;
    filter: drop-shadow(0 0 50px rgba(255, 0, 110, 1)) 
            drop-shadow(0 0 100px rgba(0, 217, 255, 0.8))
            drop-shadow(0 0 150px rgba(131, 56, 236, 0.6));
}

.service-card p {
    font-size: 17px;
    line-height: 1.7;
    font-weight: 500;
    opacity: 0.9;
    color: #ffffff !important;
    text-decoration: none !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple), var(--neon-blue));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.4);
    cursor: pointer;
}

.service-card:hover::before {
    opacity: 0.2;
}

.service-icon {
    font-size: 52px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    filter: drop-shadow(0 0 10px var(--neon-blue));
}

.service-card h3 {
    font-family: 'Audiowide', cursive;
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 15px var(--neon-blue);
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
    opacity: 0.9;
}

.materials {
    padding: 120px 20px;
    background: transparent;
}

.materials-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .materials-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .stats {
        max-width: 900px;
        margin: 0 auto;
    }
}

.materials h2 {
    font-family: 'Audiowide', cursive;
    font-size: 68px;
    margin-bottom: 30px;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 30px rgba(255, 0, 110, 0.6));
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.materials-subtitle {
    font-size: 18px;
    color: var(--neon-blue);
    margin-bottom: 20px;
    font-weight: 600;
    font-style: italic;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.materials-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 35px 0;
    max-width: 600px;
}

.material-tag {
    background: transparent;
    border: 3px solid var(--neon-blue);
    padding: 14px 30px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: all 0.3s;
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
}

.material-tag:hover {
    background: var(--neon-blue);
    color: var(--darker);
    box-shadow: 0 0 30px var(--neon-blue);
    transform: scale(1.1);
}

.materials-text {
    font-size: 17px;
    line-height: 1.8;
    font-weight: 500;
    max-width: 700px;
}

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

.stat-item {
    text-align: center;
    padding: 35px 20px;
    background: var(--darker);
    position: relative;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    transition: all 0.3s;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ffffff, var(--neon-blue), var(--neon-pink)) !important;
    background-size: 200% 200% !important;
    animation: gradientShift 5s ease infinite !important;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    z-index: -1;
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.4);
}

.stat-number {
    font-family: 'Audiowide', cursive;
    font-size: 56px;
    display: block;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 0, 110, 0.5));
}

.stat-label {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.9;
}

footer.site-footer {
    background: transparent;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--neon-pink), var(--neon-purple), var(--neon-blue)) 1;
    padding: 80px 20px 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto 50px;
}

.footer-section h4 {
    font-family: 'Audiowide', cursive;
    font-size: 20px;
    margin-bottom: 25px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff, var(--neon-blue), var(--neon-pink)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    background-size: 200% 200% !important;
    animation: gradientShift 5s ease infinite !important;
    filter: drop-shadow(0 0 50px rgba(255, 0, 110, 1)) 
            drop-shadow(0 0 100px rgba(0, 217, 255, 0.8))
            drop-shadow(0 0 150px rgba(131, 56, 236, 0.6));
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none !important;
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s;
    font-weight: 500;
}

.footer-section a:hover,
.footer-section a:visited,
.footer-section a:active,
.footer-section a:focus {
    text-decoration: none !important;
}

.footer-section a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
    transform: translateX(5px);
}

.footer-menu {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    padding: 5px 0;
}

.footer-menu a:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 10px var(--neon-blue);
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 1px;
}

/* WordPress Core */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

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

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Tablet and Mobile - Below 1024px */
@media (max-width: 1023px) {
    /* Hide decorative elements on mobile */
    .grid-bg,
    .geo-shapes {
        display: none !important;
    }

    /* Show hamburger menu */
    .menu-toggle {
        display: block;
    }

    /* Hide desktop navigation */
    .header-content > nav.main-navigation {
        display: none;
    }

    .header-content > nav.main-navigation.mobile-active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        border-top: 2px solid var(--neon-blue);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        padding: 20px;
    }

    .header-content > nav.main-navigation.mobile-active ul {
        align-items: stretch;
        gap: 10px;
    }

    .header-content > nav.main-navigation.mobile-active a {
        text-align: center;
        justify-content: center;
        padding: 15px 20px;
        width: 100%;
        min-width: auto;
        font-size: 14px;
    }

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

    .hero h1 {
        font-size: 56px;
    }

    .services {
        padding: 80px 15px;
    }

    .materials {
        padding: 80px 15px;
    }
}

/* Mobile Large - 640px to 768px */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 42px;
    }

    .hero h2 {
        font-size: 20px;
    }

    .hero-text {
        font-size: 16px;
    }

    .geo-shapes {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 48px;
    }

    .materials h2 {
        font-size: 56px;
    }

    .materials-subtitle {
        font-size: 16px;
    }
}

/* Mobile Medium - 480px to 640px */
@media (max-width: 640px) {
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        width: 100vw;
    }

    * {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Force all sections to stay within viewport */
    .header-content,
    .hero,
    .hero-content,
    .services,
    .materials,
    .materials-content,
    .container,
    .services-grid,
    .stats,
    footer.site-footer {
        max-width: 100vw !important;
        width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    .logo {
        font-size: 22px !important;
    }

    .hero {
        min-height: auto;
        padding: 50px 10px !important;
    }

    .hero-content {
        padding: 0 !important;
    }

    .hero h1 {
        font-size: 28px !important;
        margin-bottom: 15px;
        word-break: break-word;
        max-width: 100% !important;
    }

    .hero h2 {
        font-size: 14px !important;
        margin-bottom: 20px;
        word-break: break-word;
    }

    .hero-text {
        font-size: 16px !important;
        padding: 12px !important;
        margin-bottom: 25px;
        max-width: 100% !important;
        line-height: 1.7;
    }

    .cta-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }

    .btn {
        width: 100% !important;
        text-align: center !important;
    }

    .services {
        padding: 50px 10px !important;
    }

    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .section-title {
        font-size: 30px !important;
        margin-bottom: 40px;
        word-break: break-word;
    }

    .services-grid {
        gap: 20px !important;
    }

    .service-card {
        padding: 25px 15px !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .service-icon {
        font-size: 40px;
    }

    .service-card h3 {
        font-size: 16px !important;
        word-break: break-word;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 15px !important;
        word-break: break-word;
        line-height: 1.6;
    }

    .materials {
        padding: 50px 10px !important;
    }

    .materials-content {
        padding: 0 !important;
    }

    .materials h2 {
        font-size: 32px !important;
        word-break: break-word;
        hyphens: auto;
        margin-bottom: 15px;
    }

    .materials-subtitle {
        font-size: 15px !important;
        word-break: break-word;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .materials-list {
        gap: 10px !important;
        margin: 20px 0 !important;
    }

    .material-tag {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }

    .materials-text {
        font-size: 15px !important;
        word-break: break-word;
        line-height: 1.7;
    }

    .stats {
        gap: 15px !important;
    }

    .stat-item {
        padding: 20px 10px !important;
        max-width: 100% !important;
    }

    .stat-number {
        font-size: 22px !important;
        word-break: normal !important;
        hyphens: none !important;
        white-space: nowrap !important;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 10px !important;
        word-break: break-word;
        line-height: 1.4;
    }

    footer.site-footer {
        padding: 50px 10px 25px !important;
    }

    .footer-grid {
        gap: 30px !important;
    }

    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 12px;
        word-break: break-word;
    }
}

/* Mobile Small - Below 480px */
@media (max-width: 480px) {
    html, body {
        max-width: 100vw !important;
        overflow-x: hidden !important;
        width: 100vw !important;
    }

    body, * {
        max-width: 100% !important;
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        word-break: break-word !important;
    }

    .header-content {
        padding: 15px 8px !important;
    }

    .logo {
        font-size: 18px !important;
    }

    .hero {
        padding: 40px 8px !important;
    }

    .hero h1 {
        font-size: 24px !important;
    }

    .hero h2 {
        font-size: 12px !important;
    }

    .hero-text {
        font-size: 12px !important;
        padding: 8px !important;
    }

    .services {
        padding: 40px 8px !important;
    }

    .section-title {
        font-size: 26px !important;
    }

    .service-card {
        padding: 20px 12px !important;
    }

    .service-card h3 {
        font-size: 15px !important;
    }

    .service-card p {
        font-size: 12px !important;
    }

    .materials {
        padding: 40px 8px !important;
    }

    .materials h2 {
        font-size: 26px !important;
        word-break: break-word;
        hyphens: auto;
    }

    .materials-subtitle {
        font-size: 12px !important;
        word-break: break-word;
    }

    .materials-text {
        font-size: 12px !important;
    }

    .material-tag {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }

    .stat-item {
        padding: 18px 8px !important;
    }

    .stat-number {
        font-size: 20px !important;
        word-break: normal !important;
        hyphens: none !important;
        white-space: nowrap !important;
    }

    .stat-label {
        font-size: 9px !important;
    }

    .btn {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }

    footer.site-footer {
        padding: 40px 8px 25px !important;
    }

    .footer-section p,
    .footer-section a {
        font-size: 11px !important;
    }
}

/* Mobile Extra Small - Below 360px */
@media (max-width: 360px) {
    .logo {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 24px;
    }

    .hero h2 {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .materials h2 {
        font-size: 32px;
    }

    .materials-subtitle {
        font-size: 13px;
    }
}
