/* tech-banner.css - รวม CSS จาก index.php */

/* Updated Color Scheme - Green to Yellow Tone */
:root {
    /* New Color Palette - Based on provided image */
    --teal-primary: #5fb3b3;        /* Top band - Medium teal */
    --mint-green: #88c999;          /* Second band - Mint green */
    --light-mint: #b8e6c1;         /* Third band - Light mint */
    --cream-yellow: #f0e6a6;       /* Bottom band - Cream yellow */
    
    /* Additional supporting colors */
    --dark-teal: #4a9999;          /* Darker version of primary */
    --soft-green: #7ab88a;         /* Soft green for accents */
    --pale-green: #d4f1da;         /* Very light green */
    --warm-cream: #f5ead6;         /* Warm cream tone */
    
    /* Text colors that contrast well */
    --text-dark: #2d3748;          /* Dark text for light backgrounds */
    --text-medium: #4a5568;        /* Medium gray text */
    --text-light: #ffffff;         /* White text for dark backgrounds */
    --text-accent: #2d5a5a;        /* Dark teal for headings */
}

/* ===== Tech Banner Main Styles from index.php ===== */

/* Tech Banner Styles */
.tech-banner {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5fb3b3 0%, #88c999 30%, #b8e6c1 60%, #f0e6a6 100%);
}

.tech-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 56, 72, 0.4);
    z-index: 2;
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(95, 179, 179, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(95, 179, 179, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
    animation: gridPulse 4s ease-in-out infinite;
    z-index: 3;
}

.tech-circuit {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(95, 179, 179, 0.4), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(136, 201, 153, 0.4), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(184, 230, 193, 0.5), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(240, 230, 166, 0.4), transparent);
    background-repeat: repeat;
    background-size: 150px 100px;
    animation: circuitPulse 6s ease-in-out infinite;
    z-index: 4;
}

.tech-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.floating-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2rem;
    animation: floatIcon 8s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(95, 179, 179, 0.5);
}

.floating-icon:nth-child(1) { 
    top: 20%; 
    left: 10%; 
    animation-delay: 0s; 
    color: rgba(95, 179, 179, 0.7);
}

.floating-icon:nth-child(2) { 
    top: 60%; 
    left: 85%; 
    animation-delay: 2s; 
    color: rgba(136, 201, 153, 0.7);
}

.floating-icon:nth-child(3) { 
    top: 80%; 
    left: 15%; 
    animation-delay: 4s; 
    color: rgba(184, 230, 193, 0.7);
}

.floating-icon:nth-child(4) { 
    top: 30%; 
    left: 80%; 
    animation-delay: 6s; 
    color: rgba(122, 184, 138, 0.7);
}

.floating-icon:nth-child(5) { 
    top: 70%; 
    left: 50%; 
    animation-delay: 1s; 
    color: rgba(240, 230, 166, 0.7);
}

.banner-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
    width: 100%;
}

.banner-text {
    animation: slideInUp 1.5s ease-out;
}

/* ===== Banner Title and Subtitle from index.php ===== */
.banner-title {
    font-size: clamp(1.5rem, 2.5vw, 6rem);
    font-weight: 600;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 20px rgba(95, 179, 179, 0.5);
    margin-bottom: 1.5rem;
    animation: textGlow 5s ease-in-out infinite;
    line-height: 1.2;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.banner-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 3rem;
    animation: fadeIn 2s ease-out 0.5s both;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.tech-buttons {
    animation: fadeIn 2s ease-out 1s both;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.btn-tech {
    background: linear-gradient(45deg, #5fb3b3, #88c999);
    border: none;
    color: white;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 32px rgba(95, 179, 179, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-tech::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-tech:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(95, 179, 179, 0.6);
    color: white;
    background: linear-gradient(45deg, #4a9999, #77b889);
}

.btn-tech:hover::before {
    left: 100%;
}

.btn-tech-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-tech-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-tech-outline:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    border-color: white;
}

.btn-tech-outline:hover::before {
    width: 100%;
}

/* ===== Animations from index.php ===== */
@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes textGlow {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 20px rgba(95, 179, 179, 0.5);
    }
    50% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7), 0 0 30px rgba(95, 179, 179, 0.8);
    }
}

/* ===== Original tech-banner.css content (keeping existing animations and styles) ===== */

/* Epic Keyframe Animations - Updated for new colors */
@keyframes bannerPulse {
    0%, 100% { 
        filter: brightness(1) contrast(1) saturate(1);
    }
    50% { 
        filter: brightness(1.1) contrast(1.1) saturate(1.2);
    }
}

@keyframes epicGlow {
    0%, 100% { 
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }
    50% { 
        opacity: 1;
        transform: scale(1.05) rotate(2deg);
    }
}

@keyframes pulseGlow {
    0%, 100% { 
        filter: blur(0px) brightness(1);
    }
    50% { 
        filter: blur(1px) brightness(1.3);
    }
}

@keyframes epicFloat {
    0% {
        transform: translateY(120vh) translateX(-50px) rotate(0deg);
        opacity: 0;
        filter: blur(2px);
    }
    10% {
        opacity: 1;
        filter: blur(0px);
    }
    50% {
        filter: blur(0px);
    }
    85% {
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        transform: translateY(-120px) translateX(50px) rotate(360deg);
        opacity: 0;
        filter: blur(2px);
    }
}

@keyframes gridMatrix {
    0%, 100% { 
        opacity: 0.4;
        filter: brightness(1);
    }
    50% { 
        opacity: 0.7;
        filter: brightness(1.4);
    }
}

@keyframes gridShift {
    0% { 
        transform: translate(0, 0);
    }
    25% {
        transform: translate(-10px, -10px);
    }
    50% {
        transform: translate(10px, -5px);
    }
    75% {
        transform: translate(-5px, 10px);
    }
    100% { 
        transform: translate(0, 0);
    }
}

@keyframes circuitFlow {
    0% { 
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    }
    100% { 
        background-position: 200px 140px, -200px -140px, 100px 70px, -100px -70px, 50px 0, 0 50px;
    }
}

@keyframes epicTextGlow {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(95, 179, 179, 0.8),
            0 0 40px rgba(95, 179, 179, 0.6),
            0 0 60px rgba(95, 179, 179, 0.4);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(95, 179, 179, 1),
            0 0 60px rgba(95, 179, 179, 0.8),
            0 0 90px rgba(95, 179, 179, 0.6),
            0 0 120px rgba(95, 179, 179, 0.4);
    }
}

@keyframes textFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes subtitleGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(95, 179, 179, 0.3);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.8),
            0 0 30px rgba(95, 179, 179, 0.5),
            0 0 45px rgba(95, 179, 179, 0.3);
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(95, 179, 179, 0.4),
            0 0 0 1px rgba(255, 255, 255, 0.2);
    }
    50% {
        box-shadow: 
            0 12px 48px rgba(95, 179, 179, 0.6),
            0 0 0 2px rgba(255, 255, 255, 0.4);
    }
}

@keyframes buttonGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes buttonHover {
    0% {
        transform: translateY(-5px) scale(1.05);
    }
    50% {
        transform: translateY(-8px) scale(1.08);
    }
    100% {
        transform: translateY(-5px) scale(1.05);
    }
}

@keyframes outlineGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(95, 179, 179, 0.3),
            inset 0 0 20px rgba(95, 179, 179, 0.1);
    }
    50% {
        box-shadow: 
            0 0 40px rgba(95, 179, 179, 0.6),
            inset 0 0 40px rgba(95, 179, 179, 0.2);
    }
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
        opacity: 0.8;
    }
    50% {
        background-position: 100% 50%;
        opacity: 1;
    }
    100% {
        background-position: 0% 50%;
        opacity: 0.8;
    }
}

@keyframes epicFloatIcon {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.4;
        filter: drop-shadow(0 0 10px rgba(95, 179, 179, 0.6));
    }
    25% {
        transform: translateY(-30px) rotate(90deg) scale(1.2);
        opacity: 0.7;
        filter: drop-shadow(0 0 20px rgba(95, 179, 179, 0.8));
    }
    50% {
        transform: translateY(-20px) rotate(180deg) scale(1.1);
        opacity: 0.6;
        filter: drop-shadow(0 0 15px rgba(95, 179, 179, 0.7));
    }
    75% {
        transform: translateY(-40px) rotate(270deg) scale(1.3);
        opacity: 0.8;
        filter: drop-shadow(0 0 25px rgba(95, 179, 179, 0.9));
    }
}

@keyframes iconPulse {
    0%, 100% {
        color: rgba(95, 179, 179, 0.4);
        text-shadow: 0 0 10px rgba(95, 179, 179, 0.6);
    }
    50% {
        color: rgba(95, 179, 179, 0.8);
        text-shadow: 
            0 0 20px rgba(95, 179, 179, 1),
            0 0 40px rgba(95, 179, 179, 0.8);
    }
}

@keyframes fadeInUp {
    0% { 
        opacity: 0; 
        transform: translateY(50px);
    }
    100% { 
        opacity: 1; 
        transform: translateY(0);
    }
}

@keyframes rippleExpand {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
        border-width: 2px;
    }
    50% {
        opacity: 0.7;
        border-width: 1px;
    }
    100% {
        width: 150px;
        height: 150px;
        opacity: 0;
        border-width: 0px;
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 10px currentColor;
    }
    50% {
        transform: scale(1.8);
        opacity: 1;
        box-shadow: 
            0 0 20px currentColor,
            0 0 40px currentColor;
    }
}

@keyframes binaryFlow {
    0% {
        transform: translateY(-100px) rotate(90deg);
        opacity: 0;
        filter: blur(2px);
    }
    10% {
        opacity: 0.3;
        filter: blur(0px);
    }
    50% {
        opacity: 0.2;
        filter: blur(0px);
    }
    90% {
        opacity: 0.1;
        filter: blur(1px);
    }
    100% {
        transform: translateY(500px) rotate(90deg);
        opacity: 0;
        filter: blur(2px);
    }
}

/* Matrix Rain Effect */
@keyframes matrixFall {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(500px);
        opacity: 0;
    }
}

/* Lightning Effect */
@keyframes lightning {
    0%, 90%, 100% {
        background: transparent;
    }
    5%, 10% {
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    }
}

/* Enhanced Tech Banner Animation Styles */
.tech-banner {
    animation: bannerPulse 12s ease-in-out infinite;
}

.tech-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(95, 179, 179, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(136, 201, 153, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 60% 20%, rgba(184, 230, 193, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 30% 80%, rgba(240, 230, 166, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(95, 179, 179, 0.03) 50%, transparent 70%);
    animation: epicGlow 10s ease-in-out infinite, pulseGlow 6s ease-in-out infinite;
}

/* Tech Particles Effect */
.tech-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(95, 179, 179, 0.8);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

.particle:nth-child(odd) {
    background: rgba(136, 201, 153, 0.7);
    animation-duration: 12s;
}

.particle:nth-child(3n) {
    background: rgba(184, 230, 193, 0.6);
    animation-duration: 18s;
}

/* Network Dots Effect */
.network-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.network-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--teal-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--teal-primary);
}

/* Data Stream Effect */
.data-stream {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.binary-stream {
    position: absolute;
    color: rgba(95, 179, 179, 0.2);
    font-family: 'Courier New', monospace;
    font-size: 14px;
    letter-spacing: 2px;
    white-space: nowrap;
    transform: rotate(90deg);
    animation: binaryFlow 15s linear infinite;
}

/* Mouse Ripple Effect */
.mouse-ripple {
    position: absolute;
    border: 2px solid rgba(95, 179, 179, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
}

/* Card Enhancements */
.card {
    border: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    background-color: #ffffff !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(95, 179, 179, 0.08);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(95, 179, 179, 0.15);
}

/* Force white background for all card elements */
.card-body {
    background-color: #ffffff !important;
    color: var(--text-dark) !important;
}

.card-header {
    background-color: var(--pale-green) !important;
    color: var(--text-dark) !important;
    border-bottom: 1px solid var(--light-mint);
}

.card-footer {
    background-color: var(--warm-cream) !important;
    color: var(--text-dark) !important;
    border-top: 1px solid var(--light-mint);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

/* Features Section */
.features-icon {
    background: linear-gradient(135deg, var(--teal-primary), var(--mint-green));
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(95, 179, 179, 0.3);
    transition: all 0.3s ease;
}

/* Category Cards */
.category-card {
    background: linear-gradient(135deg, var(--pale-green), #ffffff);
    border: 1px solid rgba(95, 179, 179, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    display: block;
    height: 100%;
}

.category-card:hover {
    background: linear-gradient(135deg, var(--teal-primary), var(--mint-green));
    color: white !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(95, 179, 179, 0.3);
    text-decoration: none;
}

.category-card .bi {
    transition: all 0.3s ease;
    color: var(--teal-primary);
}

.category-card:hover .bi {
    color: white !important;
    transform: scale(1.2);
}

.category-card:hover .category-title {
    color: white !important;
}

.category-card:hover .category-description {
    color: white !important;
}

.category-title {
    color: var(--text-accent);
    margin-bottom: 1rem;
    font-weight: 600;
}

.category-description {
    color: var(--text-medium);
}

/* Primary Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--teal-primary), var(--mint-green));
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--dark-teal), var(--soft-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(95, 179, 179, 0.3);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--teal-primary);
    color: var(--teal-primary);
    background: transparent;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 22px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-outline-primary:hover {
    background: var(--teal-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(95, 179, 179, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, var(--mint-green), var(--light-mint));
    border: none;
    color: var(--text-dark);
    font-weight: 600;
    border-radius: 50px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: linear-gradient(135deg, var(--soft-green), var(--mint-green));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 201, 153, 0.3);
    color: white;
}

.btn-outline-success {
    border: 2px solid var(--mint-green);
    color: var(--mint-green);
    background: transparent;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 22px;
    transition: all 0.3s ease;
}

.btn-outline-success:hover {
    background: var(--mint-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(136, 201, 153, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .tech-banner {
        min-height: 80vh;
    }
    
    .banner-content {
        padding: 1.5rem;
    }
}

@media (max-width: 992px) {
    .tech-banner {
        min-height: 70vh;
    }
    
    .floating-icon {
        font-size: 1.5rem;
    }
    
    .tech-grid {
        background-size: 30px 30px;
    }
}

@media (max-width: 768px) {
    .tech-banner {
        min-height: 60vh;
    }
    
    .banner-content {
        padding: 1rem;
    }
    
    .tech-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-tech,
    .btn-tech-outline {
        width: 100%;
        max-width: 280px;
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .floating-icon {
        font-size: 1.2rem;
    }
    
    .tech-grid {
        background-size: 20px 20px;
    }
    
    .binary-stream {
        font-size: 12px;
    }
    
    .banner-title {
        letter-spacing: 0.1em;
        margin-bottom: 1rem;
    }
    
    .banner-subtitle {
        margin-bottom: 2rem;
        letter-spacing: 0.05em;
    }
}

@media (max-width: 576px) {
    .tech-banner {
        min-height: 50vh;
    }
    
    .banner-content {
        padding: 0.75rem;
    }
    
    .banner-title {
        margin-bottom: 1rem;
        letter-spacing: 0.05em;
    }
    
    .banner-subtitle {
        margin-bottom: 2rem;
        letter-spacing: normal;
    }
    
    .floating-icon {
        display: none; /* Hide floating icons on very small screens */
    }
    
    .card-img-top {
        height: 150px;
    }
    
    .features-icon {
        width: 60px;
        height: 60px;
    }
}

/* Loading Animation */
.loading-shimmer {
    background: linear-gradient(90deg, var(--pale-green) 25%, var(--light-mint) 50%, var(--pale-green) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Focus states for accessibility */
.btn-tech:focus,
.btn-tech-outline:focus,
.btn-primary:focus,
.btn-outline-primary:focus {
    outline: 3px solid rgba(95, 179, 179, 0.5);
    outline-offset: 2px;
    box-shadow: 0 0 0 2px white, 0 0 0 4px rgba(95, 179, 179, 0.5);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--pale-green);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--teal-primary), var(--mint-green));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--dark-teal), var(--soft-green));
}