/* Modern Black & White Cybersecurity Website */
body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    min-height: 100vh;
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

/* Binary Background Animation */
.binary-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    opacity: 0.1;
}

.binary-code {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    animation: fallDown 10s linear infinite;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.tool-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tool-name {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.tool-description {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 10px 0;
}

.feature-tag {
    background: linear-gradient(45deg, #333, #555);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid #666;
    font-weight: 500;
}

.download-btn {
    background: linear-gradient(135deg, #000, #333);
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}

.download-btn:hover {
    background: linear-gradient(135deg, #fff, #ccc);
    color: #000;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.download-icon {
    font-size: 1.1rem;
}

.security-tips {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.tip-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(20, 20, 20, 0.6));
    border: 1px solid #444;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: #fff;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8), rgba(30, 30, 30, 0.8));
}

.tip-card h4 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.tip-card p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Light mode styles for tools */
.light-mode .tool-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9));
    border-color: #ddd;
    color: #333;
}

.light-mode .tool-card:hover {
    border-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.light-mode .tool-name {
    color: #333;
}

.light-mode .tool-description {
    color: #666;
}

.light-mode .feature-tag {
    background: linear-gradient(45deg, #e0e0e0, #f0f0f0);
    color: #333;
    border-color: #ccc;
}

.light-mode .download-btn {
    background: linear-gradient(135deg, #fff, #f0f0f0);
    color: #333;
    border-color: #333;
}

.light-mode .download-btn:hover {
    background: linear-gradient(135deg, #333, #555);
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.light-mode .tip-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(245, 245, 245, 0.8));
    border-color: #ddd;
}

.light-mode .tip-card:hover {
    border-color: #333;
    background: linear-gradient(135deg, rgba(250, 250, 250, 0.9), rgba(240, 240, 240, 0.9));
}

.light-mode .tip-card h4 {
    color: #333;
}

.light-mode .tip-card p {
    color: #666;
}

.light-mode .security-tips {
    border-top-color: #ddd;
}

/* Price tag styles */
.price-tag {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: bold;
    margin: 2px;
    display: inline-block;
}

.price-tag.free {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    color: #000;
}

.price-tag.freemium {
    background: linear-gradient(135deg, #00bfff, #0088cc);
    color: white;
}

.price-tag.paid {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #000;
}

/* Premium download button styling */
.download-btn.premium {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    color: #000;
}

.download-btn.premium:hover {
    background: linear-gradient(135deg, #ffb347, #ff8c00);
}

/* Light mode price tag styles */
.light-mode .price-tag.free {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.light-mode .price-tag.freemium {
    background: linear-gradient(135deg, #17a2b8, #117a8b);
    color: white;
}

.light-mode .price-tag.paid {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.light-mode .download-btn.premium {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
}

.light-mode .download-btn.premium:hover {
    background: linear-gradient(135deg, #e0a800, #d39e00);
}

/* Expertise Areas Styling */
.expertise-areas {
    margin: 2rem 0;
}

.expertise-areas h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.expertise-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.expertise-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.expertise-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.expertise-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Certifications Section */
.certifications-section {
    margin: 2rem 0;
}

.certifications-section h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.cert-badge {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.cert-icon {
    font-size: 1.5rem;
}

.cert-badge span {
    color: var(--text-primary);
    font-weight: 500;
}

/* Response Times Section */
.response-times {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.response-times h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.response-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.response-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.response-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
}

.response-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.response-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.response-time {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Enhanced social links */
.social-link {
    display: inline-block;
    margin: 0.25rem 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

/* CSS Variables for consistency */
:root {
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --card-bg: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    --border-color: #333333;
    --accent-color: #00ff00;
    --bg-secondary: rgba(255, 255, 255, 0.05);
}

body.light-mode {
    --text-primary: #212529;
    --text-secondary: #495057;
    --card-bg: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --border-color: #dee2e6;
    --accent-color: #007bff;
    --bg-secondary: rgba(0, 0, 0, 0.05);
}

/* Loading animations for tools */
@keyframes toolCardLoad {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tool-card {
    animation: toolCardLoad 0.6s ease-out;
}

.tool-card:nth-child(1) { animation-delay: 0.1s; }
.tool-card:nth-child(2) { animation-delay: 0.2s; }
.tool-card:nth-child(3) { animation-delay: 0.3s; }
.tool-card:nth-child(4) { animation-delay: 0.4s; }
.tool-card:nth-child(5) { animation-delay: 0.5s; }
.tool-card:nth-child(6) { animation-delay: 0.6s; }
.tool-card:nth-child(7) { animation-delay: 0.7s; }
.tool-card:nth-child(8) { animation-delay: 0.8s; }

.binary-code {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #ffffff;
    white-space: nowrap;
    animation: fallDown 10s linear infinite;
}

@keyframes fallDown {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
}

.navbar-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

.navbar-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.navbar-menu li a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.navbar-menu li a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle, .music-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.theme-toggle:hover, .music-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.music-toggle.playing {
    background: rgba(255, 255, 255, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.navbar-dropdown {
    position: relative;
}

.dropdown-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.navbar-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Main Content */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    padding-top: 100px;
    position: relative;
}

.main-title {
    margin-bottom: 3rem;
    z-index: 1;
}

.brand {
    font-size: 1.2rem;
    color: #cccccc;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.cyber-title {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    font-family: 'Inter', sans-serif;
}

.subtitle {
    font-size: 1.3rem;
    color: #999999;
    margin-top: 1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* AI Search Bar Container */
.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    z-index: 10;
}

.ai-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
}

.ai-search-bar:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.ai-search-bar input {
    flex: 1;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.1rem;
    outline: none;
    padding: 0.5rem 1rem;
    font-weight: 400;
}

.ai-search-bar input::placeholder {
    color: #888888;
}

.ai-search-btn {
    background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    margin-left: 1rem;
}

.ai-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* AI Response Speech Bubble */
.ai-response {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    max-height: 300px;
    overflow-y: auto;
}

.ai-response.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.ai-response::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0, 0, 0, 0.9);
}

/* Stats Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 1000px;
    width: 100%;
}

.stats-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.stats-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stats-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.stats-label {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.stats-change {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-block;
}

/* Quick Actions */
.quick-actions {
    margin: 4rem 0;
    max-width: 1000px;
    width: 100%;
}

.quick-actions h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.action-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.action-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.action-desc {
    font-size: 0.9rem;
    color: #cccccc;
    line-height: 1.4;
}

/* Common Questions & Fun Facts */
.common-questions, .fun-facts {
    margin: 3rem 0;
    max-width: 800px;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.common-questions h2, .fun-facts h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: center;
}

.common-questions ul, .fun-facts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.common-questions li, .fun-facts li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #cccccc;
    line-height: 1.5;
}

.common-questions li:last-child, .fun-facts li:last-child {
    border-bottom: none;
}

/* Binary Trail Effect */
.binary-trail {
    position: fixed;
    pointer-events: none;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 5;
    animation: fadeTrail 1.5s ease-out forwards;
}

@keyframes fadeTrail {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
}

/* Content Pages */
.content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content ul {
    list-style: none;
    padding: 0;
}

.content li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content li:last-child {
    border-bottom: none;
}

.content a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content a:hover {
    color: #cccccc;
}

/* Quick Links */
.quick-links {
    text-align: center;
    margin: 2rem 0;
}

.quick-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    margin: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.quick-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    text-align: center;
    color: #888888;
    margin-top: 4rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero > * {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .navbar-menu {
        display: none;
    }
    
    .cyber-title {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 1rem;
        padding-top: 80px;
    }
    
    .stats-cards {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .ai-search-bar {
        padding: 0.75rem 1rem;
    }
    
    .content {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* Form Styling */
form input, form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 8px;
    padding: 12px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
}

form input::placeholder, form textarea::placeholder {
    color: #888888;
}

/* Light Mode Styles */
body.light-mode {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    color: #212529;
}

body.light-mode .binary-bg {
    opacity: 0.05;
}

body.light-mode .binary-code {
    color: #212529;
}

body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .navbar-logo {
    color: #212529;
}

body.light-mode .navbar-menu li a {
    color: #495057;
}

body.light-mode .navbar-menu li a:hover {
    color: #212529;
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .theme-toggle, 
body.light-mode .music-toggle {
    background: rgba(0, 0, 0, 0.1);
    color: #212529;
}

body.light-mode .theme-toggle:hover, 
body.light-mode .music-toggle:hover {
    background: rgba(0, 0, 0, 0.2);
}

body.light-mode .dropdown-btn {
    background: rgba(0, 0, 0, 0.1);
    color: #212529;
}

body.light-mode .dropdown-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

body.light-mode .dropdown-content {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .dropdown-content a {
    color: #495057;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .dropdown-content a:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #212529;
}

body.light-mode .cyber-title {
    color: #212529;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

body.light-mode .brand {
    color: #495057;
}

body.light-mode .subtitle {
    color: #6c757d;
}

body.light-mode .ai-search-bar {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .ai-search-bar:hover {
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .ai-search-bar input {
    color: #212529;
}

body.light-mode .ai-search-bar input::placeholder {
    color: #6c757d;
}

body.light-mode .ai-search-btn {
    background: linear-gradient(135deg, #212529 0%, #495057 100%);
    color: #ffffff;
}

body.light-mode .ai-response {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #212529;
}

body.light-mode .ai-response::before {
    border-bottom-color: rgba(255, 255, 255, 0.9);
}

body.light-mode .stats-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .stats-card:hover {
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body.light-mode .stats-main {
    color: #212529;
}

body.light-mode .stats-label {
    color: #495057;
}

body.light-mode .stats-change {
    background: rgba(0, 0, 0, 0.1);
    color: #212529;
}

body.light-mode .quick-actions h2 {
    color: #212529;
}

body.light-mode .action-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #212529;
}

body.light-mode .action-card:hover {
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    color: #212529;
}

body.light-mode .action-desc {
    color: #495057;
}

body.light-mode .common-questions, 
body.light-mode .fun-facts {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .common-questions h2, 
body.light-mode .fun-facts h2 {
    color: #212529;
}

body.light-mode .common-questions li, 
body.light-mode .fun-facts li {
    color: #495057;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .content {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .content h2 {
    color: #212529;
}

body.light-mode .content p {
    color: #495057;
}

body.light-mode .content li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-mode .content a {
    color: #212529;
}

body.light-mode .content a:hover {
    color: #495057;
}

body.light-mode .quick-link {
    background: rgba(0, 0, 0, 0.1);
    color: #212529;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

body.light-mode .quick-link:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #212529;
}

body.light-mode .footer {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #6c757d;
}

body.light-mode .binary-trail {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode form input, 
body.light-mode form textarea {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #212529;
}

body.light-mode form input:focus, 
body.light-mode form textarea:focus {
    border-color: rgba(0, 0, 0, 0.5);
}

body.light-mode form input::placeholder, 
body.light-mode form textarea::placeholder {
    color: #6c757d;
}

/* Article Cards Styling */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    transition: left 0.3s ease;
}

.article-card:hover::before {
    left: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: #00ff00;
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.article-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.article-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.article-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
}

.article-date, .article-category {
    color: #888;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #00ff00 0%, #00cc00 100%);
    color: #000;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.learn-more-btn:hover {
    background: linear-gradient(135deg, #00cc00 0%, #009900 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.learn-more-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Light mode styles for articles */
.light-mode .article-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #dee2e6;
    color: #333;
}

.light-mode .article-card:hover {
    border-color: #007bff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.light-mode .article-card::before {
    background: linear-gradient(90deg, transparent, #007bff, transparent);
}

.light-mode .article-title {
    color: #333;
}

.light-mode .article-description {
    color: #666;
}

.light-mode .article-date,
.light-mode .article-category {
    color: #666;
    background: rgba(0, 0, 0, 0.1);
}

.light-mode .learn-more-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
}

.light-mode .learn-more-btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Attack Cards Styling */
.attacks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.attack-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.attack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff4444, transparent);
    transition: left 0.3s ease;
}

.attack-card:hover::before {
    left: 100%;
}

.attack-card:hover {
    transform: translateY(-5px);
    border-color: #ff4444;
    box-shadow: 0 10px 30px rgba(255, 68, 68, 0.2);
}

.attack-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.attack-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.attack-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.threat-level {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.threat-level.critical {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    border: 1px solid #ff4444;
}

.threat-level.high {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid #ffa500;
}

.threat-level.medium {
    background: rgba(255, 255, 0, 0.2);
    color: #ffff00;
    border: 1px solid #ffff00;
}

/* Light mode styles for attacks */
.light-mode .attack-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #dee2e6;
    color: #333;
}

.light-mode .attack-card:hover {
    border-color: #dc3545;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
}

.light-mode .attack-card::before {
    background: linear-gradient(90deg, transparent, #dc3545, transparent);
}

.light-mode .attack-title {
    color: #333;
}

.light-mode .attack-description {
    color: #666;
}

.light-mode .threat-level.critical {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: #dc3545;
}

.light-mode .threat-level.high {
    background: rgba(255, 193, 7, 0.1);
    color: #fd7e14;
    border-color: #fd7e14;
}

.light-mode .threat-level.medium {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-color: #ffc107;
}

/* Virus Cards Styling */
.viruses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.virus-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.virus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #9400d3, transparent);
    transition: left 0.3s ease;
}

.virus-card:hover::before {
    left: 100%;
}

.virus-card:hover {
    transform: translateY(-5px);
    border-color: #9400d3;
    box-shadow: 0 10px 30px rgba(148, 0, 211, 0.2);
}

.virus-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.virus-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.virus-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.severity-level {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.severity-level.critical {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    border: 1px solid #ff4444;
}

.severity-level.high {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid #ffa500;
}

.severity-level.medium {
    background: rgba(255, 255, 0, 0.2);
    color: #ffff00;
    border: 1px solid #ffff00;
}

/* Light mode styles for viruses */
.light-mode .virus-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #dee2e6;
    color: #333;
}

.light-mode .virus-card:hover {
    border-color: #6f42c1;
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.2);
}

.light-mode .virus-card::before {
    background: linear-gradient(90deg, transparent, #6f42c1, transparent);
}

.light-mode .virus-title {
    color: #333;
}

.light-mode .virus-description {
    color: #666;
}

.light-mode .severity-level.critical {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: #dc3545;
}

.light-mode .severity-level.high {
    background: rgba(255, 193, 7, 0.1);
    color: #fd7e14;
    border-color: #fd7e14;
}

.light-mode .severity-level.medium {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border-color: #ffc107;
}

/* Resource Cards Styling */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4a90e2, transparent);
    transition: left 0.3s ease;
}

.resource-card:hover::before {
    left: 100%;
}

.resource-card:hover {
    transform: translateY(-5px);
    border-color: #4a90e2;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.resource-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.resource-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.resource-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.resource-type {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    background: rgba(74, 144, 226, 0.2);
    color: #4a90e2;
    border: 1px solid #4a90e2;
}

/* Light mode styles for resources */
.light-mode .resource-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #dee2e6;
    color: #333;
}

.light-mode .resource-card:hover {
    border-color: #007bff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.light-mode .resource-card::before {
    background: linear-gradient(90deg, transparent, #007bff, transparent);
}

.light-mode .resource-title {
    color: #333;
}

.light-mode .resource-description {
    color: #666;
}

.light-mode .resource-type {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border-color: #007bff;
}

/* About Page Styling */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.mission-section {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.value-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    transition: left 0.3s ease;
}

.value-card:hover::before {
    left: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: #00ff00;
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: #ccc;
    line-height: 1.6;
}

.team-section {
    text-align: center;
    margin-bottom: 4rem;
}

.team-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

.cta-section h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.learn-more-btn.primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.learn-more-btn.primary:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

/* Light mode styles for about page */
.light-mode .mission-text {
    color: #666;
}

.light-mode .value-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #dee2e6;
}

.light-mode .value-card:hover {
    border-color: #007bff;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.2);
}

.light-mode .value-card::before {
    background: linear-gradient(90deg, transparent, #007bff, transparent);
}

.light-mode .value-card h3 {
    color: #333;
}

.light-mode .value-card p {
    color: #666;
}

.light-mode .team-description {
    color: #666;
}

.light-mode .stat-number {
    color: #007bff;
}

.light-mode .stat-label {
    color: #666;
}

.light-mode .cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #dee2e6;
}

.light-mode .cta-section h3 {
    color: #333;
}

.light-mode .cta-section p {
    color: #666;
}

/* Contact Cards Styling */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #28a745, transparent);
    transition: left 0.3s ease;
}

.contact-card:hover::before {
    left: 100%;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #28a745;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.contact-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.contact-detail {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #28a745;
}

.learn-more-btn.emergency {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
}

.learn-more-btn.emergency:hover {
    background: linear-gradient(135deg, #c82333 0%, #a71e2a 100%);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.contact-form-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 2rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #555;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #28a745;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Light mode styles for contact */
.light-mode .contact-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #dee2e6;
}

.light-mode .contact-card:hover {
    border-color: #28a745;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
}

.light-mode .contact-card::before {
    background: linear-gradient(90deg, transparent, #28a745, transparent);
}

.light-mode .contact-title {
    color: #333;
}

.light-mode .contact-description {
    color: #666;
}

.light-mode .social-link {
    color: #666;
}

.light-mode .social-link:hover {
    color: #28a745;
}

.light-mode .contact-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-color: #dee2e6;
}

.light-mode .form-group label {
    color: #333;
}

.light-mode .form-group input,
.light-mode .form-group select,
.light-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.8);
    border-color: #ced4da;
    color: #333;
}

.light-mode .form-group input:focus,
.light-mode .form-group select:focus,
.light-mode .form-group textarea:focus {
    border-color: #28a745;
}

.light-mode .form-group input::placeholder,
.light-mode .form-group textarea::placeholder {
    color: #6c757d;
}

/* Tools grid styling to match other subpages */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.tool-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: toolCardLoad 0.6s ease-out;
}

.tool-card:hover {
    border-color: #28a745;
    box-shadow: 0 10px 30px rgba(40, 167, 69, 0.2);
    transform: translateY(-5px);
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(40, 167, 69, 0.1), transparent);
    transition: left 0.5s ease;
}

.tool-card:hover::before {
    left: 100%;
}

.tool-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.tool-info {
    flex: 1;
}

.tool-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tool-description {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.tool-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-tag {
    background: linear-gradient(45deg, #28a745, #34ce57);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background: linear-gradient(135deg, #20c997 0%, #17a085 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.download-icon {
    font-size: 1rem;
}

/* Light mode styles for tools */
.light-mode .tool-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(240, 240, 240, 0.9));
    border-color: #ddd;
    color: #333;
}

.light-mode .tool-card:hover {
    border-color: #000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.light-mode .tool-name {
    color: #333;
}

.light-mode .tool-description {
    color: #666;
}

.light-mode .feature-tag {
    background: linear-gradient(45deg, #e0e0e0, #f0f0f0);
    color: #333;
    border-color: #ccc;
}

.light-mode .download-btn {
    background: linear-gradient(135deg, #fff, #f0f0f0);
    color: #333;
    border-color: #333;
}

.light-mode .download-btn:hover {
    background: linear-gradient(135deg, #333, #555);
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}
