/* 90s Website Style - The Golden Age of the Web! */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    line-height: 1.4;
    color: #000000;
    background: #000080 url('data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7') repeat;
    background-image: 
        linear-gradient(45deg, #ff0000 25%, transparent 25%), 
        linear-gradient(-45deg, #00ff00 25%, transparent 25%), 
        linear-gradient(45deg, transparent 75%, #0000ff 75%), 
        linear-gradient(-45deg, transparent 75%, #ffff00 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    animation: backgroundMove 2s linear infinite;
    position: relative;
    cursor: none; /* Hide default cursor */
}

/* Rainbow Cursor */
.rainbow-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080);
    background-size: 200% 200%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    animation: rainbowCursor 2s linear infinite;
    box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
    transform: translate(-50%, -50%);
}

.rainbow-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px #ffffff;
}

@keyframes rainbowCursor {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 0, 0.03) 2px,
            rgba(0, 255, 0, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 0, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

@keyframes backgroundMove {
    0% { background-position: 0 0, 0 10px, 10px -10px, -10px 0px; }
    100% { background-position: 20px 20px, 20px 30px, 30px 10px, 10px 20px; }
}

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

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    background: #ffffff;
    border: 3px solid #ff0000;
    box-shadow: 5px 5px 0px #000000;
    position: relative;
    z-index: 2;
}

.container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff00, #0000ff, #ff0000, #ffff00);
    background-size: 400% 400%;
    animation: borderGlow 3s ease infinite;
    z-index: -1;
}

/* Header and Logo */
header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ffff00, #ff00ff);
    background-size: 200% 100%;
    animation: rainbow 3s linear infinite;
    border: 5px double #000000;
    margin-bottom: 20px;
}

@keyframes rainbow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.logo-container {
    margin-bottom: 15px;
}

.logo {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 3px solid #000000;
    filter: drop-shadow(3px 3px 0px #ff0000);
    animation: bounce 1s ease-in-out infinite alternate;
}

@keyframes bounce {
    from { transform: translateY(0px); }
    to { transform: translateY(-10px); }
}

/* Main content */
main {
    padding: 10px;
}

section {
    margin-bottom: 30px;
    background: #ffffff;
    padding: 20px;
    border: 3px solid #000000;
    box-shadow: 5px 5px 0px #ff0000;
    position: relative;
}

section::before {
    content: "★";
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 24px;
    color: #ff0000;
    animation: spin 2s linear infinite;
}

section::after {
    content: "H4CK3R";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 8px;
    color: #00ff00;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    transform: rotate(15deg);
    animation: matrix 4s linear infinite;
}

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

@keyframes matrix {
    0% { opacity: 0.3; transform: rotate(15deg) scale(0.8); }
    50% { opacity: 1; transform: rotate(15deg) scale(1.2); }
    100% { opacity: 0.3; transform: rotate(15deg) scale(0.8); }
}

/* Hero section */
.hero {
    text-align: center;
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff);
    background-size: 300% 300%;
    animation: gradientShift 2s ease infinite;
    color: #ffffff;
    margin-bottom: 20px;
    border: 5px ridge #ffff00;
    position: relative;
    overflow: hidden;
}

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

.hero::after {
    content: "🚢 ⚓ 🌊";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    animation: float 3s ease-in-out infinite;
}

.hero::before {
    content: "01001000 01000001 01000011 01001011 01000101 01010010 01010011";
    position: absolute;
    bottom: 5px;
    left: 5px;
    font-size: 6px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    opacity: 0.7;
    animation: binary 8s linear infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes binary {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 3px 3px 0px #000000, 6px 6px 0px #ff0000;
    font-family: 'Courier New', monospace;
    letter-spacing: 5px;
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
}

.hero h1::before {
    content: '> ';
    color: #00ff00;
    animation: cursor 1s infinite;
}

.hero h1::after {
    content: ' <';
    color: #00ff00;
    animation: cursor 1s infinite;
}

@keyframes glow {
    from { text-shadow: 3px 3px 0px #000000, 6px 6px 0px #ff0000; }
    to { text-shadow: 3px 3px 0px #000000, 6px 6px 0px #ff0000, 0 0 20px #ffff00; }
}

@keyframes cursor {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.tagline {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 0px #000000;
    animation: blink 1s infinite;
    position: relative;
    z-index: 1;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.tagline::before {
    content: ">>> ";
    color: #00ff00;
}

.tagline::after {
    content: " <<<";
    color: #00ff00;
}

/* Loading Bar */
.loading-bar-container {
    margin-top: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.loading-bar {
    width: 100%;
    height: 20px;
    background: #000000;
    border: 2px solid #00ff00;
    border-radius: 0;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 255, 0, 0.3);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #ffff00, #ff0000, #00ff00);
    background-size: 200% 100%;
    animation: loadingMove 15s ease-in-out infinite, loadingGradient 2s linear infinite;
    width: 0%;
    animation-fill-mode: forwards;
}

@keyframes loadingMove {
    0% { width: 0%; }
    20% { width: 20%; }
    40% { width: 45%; }
    60% { width: 70%; }
    80% { width: 85%; }
    90% { width: 92%; }
    95% { width: 96%; }
    98% { width: 98%; }
    99% { width: 99%; }
    100% { width: 99.5%; }
}

@keyframes loadingGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.loading-text {
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000000;
    animation: loadingBlink 1s infinite;
}

.loading-percentage {
    color: #ffff00;
    font-weight: bold;
    animation: percentageCount 15s ease-in-out infinite;
}

@keyframes loadingBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

@keyframes percentageCount {
    0% { content: "0%"; }
    20% { content: "20%"; }
    40% { content: "45%"; }
    60% { content: "70%"; }
    80% { content: "85%"; }
    90% { content: "92%"; }
    95% { content: "96%"; }
    98% { content: "98%"; }
    99% { content: "99%"; }
    100% { content: "99.5%"; }
}

/* DOOM Section */
.doom-section {
    background: linear-gradient(45deg, #1a1a1a, #2d2d2d, #1a1a1a);
    border: 3px solid #ff0000;
    position: relative;
    overflow: hidden;
}

.doom-section::before {
    content: "🔥";
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 24px;
    color: #ff0000;
    animation: spin 2s linear infinite;
}

.doom-section::after {
    content: "💀";
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 24px;
    color: #ff0000;
    animation: spin 2s linear infinite reverse;
}

.doom-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.doom-video {
    text-align: center;
}

.doom-game {
    text-align: center;
    position: relative;
}

#doomCanvas {
    border: 3px solid #ff0000;
    background: #000000;
    box-shadow: 0 0 20px #ff0000;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.doom-controls {
    margin-top: 15px;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 1px 1px 0px #000000;
}

.doom-controls p {
    margin: 5px 0;
    animation: doomBlink 1s infinite;
}

@keyframes doomBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.7; }
}

.doom-info h3 {
    color: #ff0000;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0px #000000;
    animation: doomGlow 2s ease-in-out infinite alternate;
}

@keyframes doomGlow {
    from { text-shadow: 2px 2px 0px #000000; }
    to { text-shadow: 2px 2px 0px #000000, 0 0 10px #ff0000; }
}

.doom-info p {
    color: #cccccc;
    font-family: 'Courier New', monospace;
    line-height: 1.6;
    margin-bottom: 20px;
}

.doom-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.stat {
    background: linear-gradient(45deg, #2a2a2a, #1a1a1a);
    border: 2px solid #00ff00;
    padding: 10px;
    text-align: center;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 0px #000000;
    animation: statPulse 2s ease-in-out infinite;
}

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

.stat span {
    color: #ffff00;
    font-size: 1.1rem;
}

.doom-facts {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(45deg, #1a1a1a, #2a2a2a);
    border: 2px solid #00ff00;
    border-radius: 5px;
}

.doom-facts p {
    margin: 8px 0;
    color: #cccccc;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.doom-facts strong {
    color: #00ff00;
    font-weight: bold;
}

/* DOOM Screen */
.doom-screen {
    width: 400px;
    height: 300px;
    border: 3px solid #ff0000;
    box-shadow: 0 0 20px #ff0000;
    background: #000000;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.doom-hud {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #000000, #333333, #000000);
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    text-shadow: 1px 1px 0px #000000;
}

.doom-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1a1a 0%, #000000 50%, #1a1a1a 100%);
}

.doom-corridor {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 60%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #333333 20%, 
        #666666 30%, 
        #999999 40%, 
        #cccccc 50%, 
        #999999 60%, 
        #666666 70%, 
        #333333 80%, 
        transparent 100%);
    animation: corridorMove 3s linear infinite;
}

@keyframes corridorMove {
    0% { transform: translateX(-50%) perspective(100px) rotateX(0deg); }
    100% { transform: translateX(-50%) perspective(100px) rotateX(5deg); }
}

.doom-demon {
    position: absolute;
    bottom: 30%;
    right: 20%;
    font-size: 24px;
    animation: demonFloat 2s ease-in-out infinite;
    z-index: 5;
}

@keyframes demonFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.doom-player {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    z-index: 5;
    animation: playerAim 1s ease-in-out infinite alternate;
}

@keyframes playerAim {
    0% { transform: translateX(-50%) scale(1); }
    100% { transform: translateX(-50%) scale(1.1); }
}

/* Section headings */
h2 {
    color: #ff0000;
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 0px #000000;
    border-bottom: 3px double #000000;
    padding-bottom: 10px;
    position: relative;
}

h2::before {
    content: "🔧 ";
}

h2::after {
    content: " 🔧";
}

h3 {
    color: #0000ff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px #ffff00;
}

/* About section */
.about p {
    font-size: 1.1rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: #000000;
    line-height: 1.6;
    font-family: 'Courier New', monospace;
    border: 2px dotted #000000;
    padding: 15px;
    background: #ffffe0;
}

.about p::before {
    content: "💡 ";
}

.about p::after {
    content: " 💡";
}

/* Services section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(45deg, #ffffe0, #ffe4e1);
    border: 3px solid #000000;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: "🎯";
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 16px;
    animation: pulse 1s infinite;
}

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

.service-item:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #ff0000;
    background: linear-gradient(45deg, #ffe4e1, #ffffe0);
}

.service-item h3 {
    margin-bottom: 10px;
    color: #ff0000;
    font-size: 1.2rem;
}

.service-item p {
    color: #000000;
    margin-top: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Contact section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    text-align: center;
    padding: 20px;
    background: linear-gradient(45deg, #e6e6fa, #f0f8ff);
    border: 3px solid #000000;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
}

.contact-item:nth-child(1)::before {
    content: "👤";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    animation: pulse 1s infinite;
}

.contact-item:nth-child(2)::before {
    content: "🌐";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    animation: spin 3s linear infinite;
}

.contact-item:nth-child(3)::before {
    content: "📧";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    animation: bounce 1s ease-in-out infinite alternate;
}

.contact-item:nth-child(4)::before {
    content: "📞";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    animation: shake 0.5s infinite;
}

.contact-item:nth-child(5)::before {
    content: "🏢";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    animation: float 2s ease-in-out infinite;
}

.contact-item:nth-child(6)::before {
    content: "🏢";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    animation: pulse 1.5s infinite;
}

.contact-item:nth-child(7)::before {
    content: "📋";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    animation: spin 4s linear infinite;
}

.contact-item:nth-child(8)::before {
    content: "📄";
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 16px;
    animation: bounce 1.2s ease-in-out infinite alternate;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.contact-item:hover {
    transform: rotate(2deg);
    box-shadow: 0 0 15px #0000ff;
}

.contact-item strong {
    display: block;
    margin-bottom: 10px;
    color: #ff0000;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
}

.contact-item a {
    color: #0000ff;
    text-decoration: underline;
    font-weight: bold;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

.contact-item a:hover {
    color: #ff0000;
    text-decoration: none;
    font-size: 1.1em;
}

.contact-item p {
    margin: 0;
    color: #000000;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(90deg, #000000, #333333, #000000);
    color: #ffffff;
    margin-top: 30px;
    border-top: 5px solid #ff0000;
    position: relative;
}

footer::before {
    content: "🏴‍☠️";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    animation: wave 2s infinite;
}

footer::after {
    content: "🏴‍☠️";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    animation: wave 2s infinite reverse;
}

@keyframes wave {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-50%) rotate(10deg); }
}

footer p {
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 0px #ff0000;
    animation: flicker 0.5s infinite alternate;
}

@keyframes flicker {
    0% { opacity: 1; }
    100% { opacity: 0.8; }
}

/* Responsive design */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 15px;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
        margin: 5px;
    }
    
    section {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .tagline {
        font-size: 1.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about p {
        font-size: 1.1rem;
        padding: 20px 15px;
    }
    
    .service-item {
        padding: 25px 20px;
    }
    
    .contact-item {
        padding: 25px 20px;
    }
    
    .hero::before {
        font-size: 4px;
    }
    
    .hero::after {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
        margin: 2px;
    }
    
    .hero h1 {
        font-size: 2rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    section {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .logo {
        max-width: 80px;
    }
    
    .about p {
        font-size: 1rem;
        padding: 15px 10px;
    }
    
    .service-item {
        padding: 20px 15px;
    }
    
    .contact-item {
        padding: 20px 15px;
    }
    
    .hero::before {
        font-size: 3px;
    }
    
    .hero::after {
        font-size: 14px;
    }
    
    .contact-item strong {
        font-size: 0.9rem;
    }
    
    .contact-item p {
        font-size: 0.8rem;
    }
    
    .service-item p {
        font-size: 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    .container {
        padding: 3px;
    }
    
    section {
        padding: 12px 8px;
    }
    
    .about p {
        font-size: 0.9rem;
        padding: 12px 8px;
    }
    
    .service-item, .contact-item {
        padding: 15px 10px;
    }
    
    .hero::before {
        font-size: 2px;
    }
    
    .hero::after {
        font-size: 12px;
    }
}

/* Landscape orientation fixes */
@media (max-width: 768px) and (orientation: landscape) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 8px;
    }
    
    section {
        padding: 15px 12px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
} 