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

:root {
    --primary-color: #00d4ff;
    --secondary-color: #0a0e27;
    --dark-bg: #050816;
    --text-color: #ffffff;
    --text-secondary: #b0b0b0;
    --card-bg: #0f1525;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar - MOBILE OPTIMIZED */
.navbar {
    background-color: rgba(5, 8, 22, 0.95);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.glitch {
    position: relative;
    animation: glitch-animation 3s infinite;
}

@keyframes glitch-animation {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, 2px);
    }
    94% {
        transform: translate(2px, -2px);
    }
    96% {
        transform: translate(-2px, -2px);
    }
    98% {
        transform: translate(2px, 2px);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Shield Animation */
.shield-animation {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.shield-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

.shield-layer:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.8;
}

.shield-layer:nth-child(2) {
    animation-delay: 1s;
    opacity: 0.5;
}

.shield-layer:nth-child(3) {
    animation-delay: 2s;
    opacity: 0.3;
}

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

/* Stats Bar */
.stats-bar {
    background-color: var(--secondary-color);
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-color);
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.author-name {
    font-weight: bold;
    color: var(--text-color);
}

.author-role {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem 1rem;
}

.feature-number {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Certifications */
.certifications {
    padding: 3rem 0;
    background-color: var(--secondary-color);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.certs-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.certs-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cert-badge {
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    font-weight: bold;
    background: rgba(0, 212, 255, 0.05);
    white-space: nowrap;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--dark-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trust-item {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border-radius: 5px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    background-color: var(--card-bg);
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
}

.contact-form select {
    cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.contact-form button {
    cursor: pointer;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* MOBILE RESPONSIVENESS - ENHANCED */
@media (max-width: 768px) {
    /* Hero mobile optimization */
    .hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }

    /* Mobile nav fix */
    .logo {
        font-size: 1.2rem;
        gap: 8px;
    }

    .logo svg {
        width: 30px;
        height: 30px;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.9rem;
    }

    /* Stats mobile layout */
    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .stat {
        min-width: 90px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* CTA buttons mobile */
    .cta-buttons {
        justify-content: center;
    }

    .btn {
        flex: 1;
        min-width: 140px;
    }

    /* Stats bar mobile */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    /* Section titles mobile */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Services mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Contact mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }

    /* Shield animation mobile */
    .shield-animation {
        width: 200px;
        height: 200px;
    }

    /* Certifications mobile */
    .certs-grid {
        gap: 1rem;
    }

    .cert-badge {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }

    /* Footer mobile */
    .footer-links {
        gap: 1.5rem;
    }

    /* Sections padding mobile */
    .services,
    .testimonials,
    .about,
    .contact {
        padding: 60px 0;
    }

    .stats-bar,
    .certifications {
        padding: 2rem 0;
    }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 480px) {
    /* Extra small nav */
    .nav-links {
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    /* Hero extra small */
    .hero-content h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    /* Stats single column */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Hero stats stacked */
    .hero-stats {
        gap: 1rem;
    }

    /* Buttons full width */
    .btn {
        width: 100%;
        min-width: unset;
    }

    /* Section padding reduced */
    .services,
    .testimonials,
    .about,
    .contact {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* Cert badges smaller */
    .cert-badge {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: linear-gradient(135deg, #00d4ff 0%, #0096ff 100%);
    color: var(--dark-bg);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    font-family: inherit;
    white-space: nowrap;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #0096ff 0%, #00d4ff 100%);
}

.theme-toggle:active {
    transform: translateY(0);
}

/* Mobile adjustments for theme button */
@media (max-width: 768px) {
    .theme-toggle {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .theme-toggle {
        padding: 0.35rem 0.8rem;
        font-size: 0.8rem;
    }
}
