:root {
    --primary-color: #6366f1;
    --secondary-color: #0f172a;
    --accent-color: #8b5cf6;
    --text-color: #f8fafc;
    --background-dark: #0f172a;
    --background-light: #1e293b;
    --section-bg-1: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --section-bg-2: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(45deg, #6366f1 0%, #a855f7 100%);
    --red-gradient: linear-gradient(135deg, #ef4444 0%, #f43f5e 100%);
    --blue-gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --purple-gradient: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    --cyber-gradient: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --neon-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    --card-bg: rgba(30, 41, 59, 0.95);
    --form-bg: rgba(15, 23, 42, 0.95);
    --input-bg: rgba(30, 41, 59, 0.9);
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    background-attachment: fixed;
}

/* Navbar Styles */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    height: auto;
    z-index: 1030;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-color) !important;
    padding: 0.25rem 0;
    height: 100%;
    line-height: 1;
}

.shield-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.8rem;
    width: 1.8rem;
    position: relative;
}

.shield-icon i {
    font-size: 1.6rem;
    color: #6366f1;
    text-shadow: 0 0 3px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: var(--text-color) !important;
    margin: 0 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    width: 1.25em;
    height: 1.25em;
}

/* Hero Section */
.hero {
    background: var(--background-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0 3rem;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%236366f1' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
    animation: backgroundMove 30s linear infinite;
}

@keyframes backgroundMove {
    from {
        transform: translateX(0) translateY(0);
    }
    to {
        transform: translateX(-100px) translateY(-100px);
    }
}

.hero h1 {
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero p {
    color: rgba(230, 233, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 0.8rem 2rem;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-2);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
    color: var(--text-color);
}

/* Enhanced Cyber Animation */
.cyber-animation {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shield-pulse {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 36, 71, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(78, 110, 242, 0.3);
}

/* Security Icons Animation */
.security-icons {
    position: absolute;
    width: 200px;
    height: 200px;
    animation: iconRotate 30s linear infinite;
}

.security-icons i {
    position: absolute;
    font-size: 2rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(78, 110, 242, 0.5));
    opacity: 0;
    transition: all 0.5s ease;
}

/* Position icons in a circle */
.security-icons i:nth-child(1) { transform: translate(100px, 0); animation: fadeInOut 3s infinite 0s; }
.security-icons i:nth-child(2) { transform: translate(70.7px, 70.7px); animation: fadeInOut 3s infinite 0.3s; }
.security-icons i:nth-child(3) { transform: translate(0, 100px); animation: fadeInOut 3s infinite 0.6s; }
.security-icons i:nth-child(4) { transform: translate(-70.7px, 70.7px); animation: fadeInOut 3s infinite 0.9s; }
.security-icons i:nth-child(5) { transform: translate(-100px, 0); animation: fadeInOut 3s infinite 1.2s; }
.security-icons i:nth-child(6) { transform: translate(-70.7px, -70.7px); animation: fadeInOut 3s infinite 1.5s; }
.security-icons i:nth-child(7) { transform: translate(0, -100px); animation: fadeInOut 3s infinite 1.8s; }
.security-icons i:nth-child(8) { transform: translate(70.7px, -70.7px); animation: fadeInOut 3s infinite 2.1s; }
.security-icons i:nth-child(9) { transform: translate(50px, -86.6px); animation: fadeInOut 3s infinite 2.4s; }
.security-icons i:nth-child(10) { transform: translate(86.6px, -50px); animation: fadeInOut 3s infinite 2.7s; }

/* Pulse Rings */
.pulse-rings {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.6);
    opacity: 0;
    animation: pulseRing 5s linear infinite;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.ring:nth-child(2) {
    animation-delay: 1s;
}

.ring:nth-child(3) {
    animation-delay: 2s;
}

.ring:nth-child(4) {
    animation-delay: 3s;
}

.ring:nth-child(5) {
    animation-delay: 4s;
}

/* Security Labels */
.security-label {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    opacity: 0;
    transform: translateY(20px);
    animation: labelAppear 5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.security-label i {
    font-size: 1.2rem;
    color: var(--text-color);
}

.security-label span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Position labels around the circle */
.ring:nth-child(1) .security-label {
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.ring:nth-child(2) .security-label {
    top: 30%;
    right: -120px;
}

.ring:nth-child(3) .security-label {
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.ring:nth-child(4) .security-label {
    top: 30%;
    left: -120px;
}

.ring:nth-child(5) .security-label {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Animations */
@keyframes iconRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5) translateY(0);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) translateY(-10px);
    }
}

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

@keyframes labelAppear {
    0%, 100% {
        opacity: 0;
        transform: translateY(20px);
    }
    20%, 80% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hexagon Grid Background */
.shield-pulse::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(30deg, var(--primary-color) 12%, transparent 12.5%, transparent 87%, var(--primary-color) 87.5%, var(--primary-color)),
        linear-gradient(150deg, var(--primary-color) 12%, transparent 12.5%, transparent 87%, var(--primary-color) 87.5%, var(--primary-color)),
        linear-gradient(30deg, var(--primary-color) 12%, transparent 12.5%, transparent 87%, var(--primary-color) 87.5%, var(--primary-color)),
        linear-gradient(150deg, var(--primary-color) 12%, transparent 12.5%, transparent 87%, var(--primary-color) 87.5%, var(--primary-color)),
        linear-gradient(60deg, rgba(78, 110, 242, 0.1) 25%, transparent 25.5%, transparent 75%, rgba(78, 110, 242, 0.1) 75%, rgba(78, 110, 242, 0.1)),
        linear-gradient(60deg, rgba(78, 110, 242, 0.1) 25%, transparent 25.5%, transparent 75%, rgba(78, 110, 242, 0.1) 75%, rgba(78, 110, 242, 0.1));
    background-size: 40px 70px;
    background-position: 0 0, 0 0, 20px 35px, 20px 35px, 0 0, 20px 35px;
    animation: hexMove 20s linear infinite;
    opacity: 0.1;
}

@keyframes hexMove {
    from {
        transform: translateX(-50%) translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) translateY(-50%) rotate(360deg);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        padding: 0.3rem 1rem;
    }

    .navbar-collapse {
        background: rgba(10, 10, 10, 0.98);
        padding: 0.5rem 0;
        border-radius: 0 0 10px 10px;
        border: 1px solid rgba(99, 102, 241, 0.1);
        border-top: none;
        margin-top: 0.3rem;
    }

    .hero {
        padding-top: 5.5rem;
        min-height: auto;
        text-align: center;
        display: block;
    }

    .hero-content {
        margin-top: 0;
        padding: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
        padding-top: 1rem;
    }

    .hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        opacity: 1;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        margin: 0;
        border-radius: 5px;
    }

    .nav-link:hover {
        background: rgba(99, 102, 241, 0.1);
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .navbar-brand {
        font-size: 1.3rem;
    }

    .shield-icon {
        height: 1.5rem;
        width: 1.5rem;
    }

    .shield-icon i {
        font-size: 1.3rem;
    }
}

/* Section Styles */
.section-padding {
    padding: 100px 0;
    position: relative;
    background: var(--section-bg-1);
}

.section-padding.bg-light {
    background: var(--section-bg-2);
}

.section-padding::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 30% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Feature Cards */
.feature-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(45, 127, 249, 0.3));
}

.feature-card h4 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: rgba(230, 233, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
}

.feature-card .feature-list {
    text-align: left;
    margin-top: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.feature-card .feature-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
    color: rgba(230, 233, 255, 0.9);
}

.feature-card .feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Service Cards */
.service-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.2);
    height: 100%;
    transition: all 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card.red {
    border-left: 4px solid var(--accent-color);
}

.service-card.blue {
    border-left: 4px solid var(--primary-color);
}

.service-card.purple {
    border-left: 4px solid var(--purple-gradient);
}

.service-card h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card ul li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    opacity: 0.9;
    color: rgba(230, 233, 255, 0.9);
}

.service-card ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* New Service Icon Animation */
.service-icon {
    position: relative;
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.service-icon i {
    color: white;
    font-size: 1.5rem;
    z-index: 1;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.service-icon:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Refined Contact Form Styles */
.contact-form {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.2);
    position: relative;
    z-index: 1;
}

/* Form Controls */
.form-control {
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(99, 102, 241, 0.2);
    color: #ffffff !important;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-control:focus {
    background: rgba(30, 41, 59, 0.95);
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
    color: #ffffff !important;
}

/* Placeholder Styling */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

/* Input Text Color Override */
input.form-control,
textarea.form-control {
    color: #ffffff !important;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* Autofill Styles */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px rgba(30, 41, 59, 0.95) inset !important;
    box-shadow: 0 0 0px 1000px rgba(30, 41, 59, 0.95) inset !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #ffffff;
}

/* Form Group */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Form Label */
.form-group label {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .contact-form {
        padding: 2rem;
    }

    .form-control {
        font-size: 16px;
        padding: 0.8rem 1rem;
    }
    
    input.form-control,
    textarea.form-control {
        font-size: 16px !important; /* Prevent zoom on mobile */
    }
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--background-dark) 0%, var(--background-light) 100%);
    padding: 50px 0 20px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
}

.footer h3 {
    color: var(--text-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer p {
    color: rgba(230, 233, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

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

/* Benefits Section */
.benefit-item {
    padding: 1.5rem;
    border-radius: 10px;
    background: rgba(0, 102, 255, 0.05);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

.benefit-item:hover {
    transform: translateX(10px);
    background: rgba(0, 102, 255, 0.1);
}

.benefit-item i {
    color: var(--primary-color);
    margin-right: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    
    .cyber-animation {
        height: 200px;
        margin-top: 2rem;
    }
    
    .service-card, .result-card {
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .team-badge {
        padding: 0.4rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .navbar {
        background-color: rgba(15, 28, 63, 0.98);
    }
}

/* Particle Animation */
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 102, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    animation: float 5s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    background: var(--background-light);
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.notification.success {
    border-left: 4px solid #00ff00;
}

.notification.error {
    border-left: 4px solid #ff3e3e;
}

.notification i {
    font-size: 1.2rem;
}

/* Service Icon Animation */
.service-icon i {
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animate Class */
.animate {
    opacity: 1 !important;
    transform: translateY(0) !important;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Updated Service Cards */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

/* Benefit Items Animation */
.benefit-item {
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateX(10px);
    background: rgba(0, 102, 255, 0.1);
}

/* Loading Spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Service Category Headers */
.service-category h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
}

.service-category h3 i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.btn-outline-light {
    color: var(--text-color);
    border: 2px solid var(--text-color);
    background: transparent;
    padding: 0.8rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-outline-light::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--text-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-outline-light:hover {
    color: var(--background-dark);
    border-color: var(--text-color);
    transform: translateY(-2px);
}

.btn-outline-light:hover::before {
    left: 0;
}

.btn-lg {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Button Container */
.hero-buttons {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    pointer-events: auto;
}

/* Active and Focus States */
.btn-outline-light:active,
.btn-outline-light:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(248, 250, 252, 0.3);
}

/* Ensure section target is reachable */
#why-us {
    scroll-margin-top: 80px; /* Adjust based on your navbar height */
    position: relative;
    z-index: 1;
}

/* Button Animation */
@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(248, 250, 252, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(248, 250, 252, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(248, 250, 252, 0);
    }
}

.btn-outline-light:hover {
    animation: buttonPulse 1.5s infinite;
}

/* Ensure parent containers don't block clicks */
.hero {
    position: relative;
}

.hero::before,
.hero::after {
    pointer-events: none;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .btn-outline-light {
        text-align: center;
    }
}

/* Team Badges */
.team-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-color);
}

.team-badge.red {
    background: var(--red-gradient);
}

.team-badge.blue {
    background: var(--blue-gradient);
}

.team-badge.purple {
    background: var(--purple-gradient);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .lead {
    max-width: 700px;
    margin: 1rem auto 0;
    opacity: 0.8;
    color: rgba(230, 233, 255, 0.9);
}

/* Result Cards Container */
.row.g-4 {
    position: relative;
    z-index: 1;
}

/* Enhanced Result Cards */
.result-card {
    background: rgba(30, 41, 59, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, 
        rgba(99, 102, 241, 0.1) 0%,
        rgba(139, 92, 246, 0.1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.result-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #6366f1, #8b5cf6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 2;
}

.result-card i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.4));
}

.result-card h4 {
    color: #f8fafc;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.result-card p {
    color: rgba(248, 250, 252, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Hover Effects */
.result-card:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.2);
    background: rgba(30, 41, 59, 0.98);
}

.result-card:hover::after {
    transform: scaleX(1);
}

.result-card:hover i {
    animation: pulseIcon 1s ease infinite;
}

/* Full-width card special styling */
.col-12 .result-card {
    background: rgba(30, 41, 59, 0.98);
    border-width: 2px;
    padding: 3rem;
}

.col-12 .result-card i {
    font-size: 3rem;
}

.col-12 .result-card h4 {
    font-size: 1.8rem;
}

/* Icon pulse animation */
@keyframes pulseIcon {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .result-card {
        padding: 2rem;
    }
    
    .result-card h4 {
        font-size: 1.3rem;
    }
    
    .result-card p {
        font-size: 1rem;
    }
    
    .col-12 .result-card {
        padding: 2rem;
    }
    
    .col-12 .result-card h4 {
        font-size: 1.5rem;
    }
    
    .col-12 .result-card i {
        font-size: 2.5rem;
    }
}

/* Card Inner Content Container */
.result-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
}

/* Enhanced Ring Glow */
.ring::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, transparent 60%);
    opacity: 0.2;
    animation: glowRotate 5s linear infinite;
}

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

/* Security Labels */
.security-label:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(99, 102, 241, 1) 0%, rgba(139, 92, 246, 1) 100%);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

/* Icon Styles and Animations */
.fas.fa-handshake {
    position: relative;
    display: inline-block;
    transform-origin: center;
    transition: all 0.3s ease;
}

/* Contained Animation for Handshake Icon */
@keyframes handshakeWave {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(-10deg) scale(1.1);
    }
    50% {
        transform: rotate(0deg) scale(1);
    }
    75% {
        transform: rotate(10deg) scale(1.1);
    }
    100% {
        transform: rotate(0deg) scale(1);
    }
}

/* Apply animation on hover */
.result-card:hover .fa-handshake {
    animation: handshakeWave 1.5s ease-in-out infinite;
    transform-origin: center center;
}

/* Ensure icon container maintains bounds */
.result-card i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.5em;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(99, 102, 241, 0.4));
    overflow: visible;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

/* Override default icon pulse for handshake */
.result-card:hover .fa-handshake {
    animation: handshakeWave 1.5s ease-in-out infinite;
}

.result-card:hover i:not(.fa-handshake) {
    animation: pulseIcon 1s ease infinite;
}

/* Ensure smooth animation */
.result-card i {
    transform: translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Shield Icon */
.fa-shield-alt {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.fa-shield-alt::before {
    content: '\f3ed';  /* Font Awesome shield-alt unicode */
    position: absolute;
    font-family: "Font Awesome 5 Free";
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    z-index: 2;
    transform: translateZ(2px);
}

.fa-shield-alt::after {
    content: '\f3ed';  /* Font Awesome shield-alt unicode */
    position: absolute;
    font-family: "Font Awesome 5 Free";
    color: rgba(255, 255, 255, 0.3);
    text-shadow: 
        0 0 2px rgba(255, 255, 255, 0.5),
        0 0 4px rgba(255, 255, 255, 0.3),
        0 0 6px rgba(255, 255, 255, 0.2);
    z-index: 1;
    transform: translateZ(1px) scale(1.1);
    filter: blur(1px);
    opacity: 0.8;
}

/* Shield Animation */
@keyframes shieldPulse {
    0% {
        transform: translateZ(1px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateZ(1px) scale(1.15);
        opacity: 1;
    }
    100% {
        transform: translateZ(1px) scale(1.1);
        opacity: 0.8;
    }
}

/* Shield Glow Effect */
.result-card:hover .fa-shield-alt::after {
    animation: shieldPulse 2s ease-in-out infinite;
}

/* Additional inner shield effect */
.fa-shield-alt {
    overflow: visible !important;
}

.fa-shield-alt::before {
    text-shadow: 
        0 0 15px rgba(99, 102, 241, 0.6),
        0 0 30px rgba(99, 102, 241, 0.4);
}

/* Shield Container Enhancement */
.result-card i.fa-shield-alt {
    position: relative;
    width: 3em;
    height: 3em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Shield Inner Glow */
.result-card i.fa-shield-alt::before {
    animation: shieldInnerGlow 3s ease-in-out infinite;
}

@keyframes shieldInnerGlow {
    0% {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
    }
    100% {
        filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    }
}

/* Mobile-First Responsive Styles */
@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .feature-card, 
    .service-card {
        margin-bottom: 1rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
}

/* Tablet Styles */
@media (min-width: 577px) and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
    }

    .feature-card, 
    .service-card {
        margin-bottom: 1.5rem;
    }
}

/* Ensure proper touch targets on mobile */
@media (max-width: 768px) {
    .nav-link,
    .btn,
    .form-control {
        min-height: 44px; /* Apple's recommended minimum */
    }

    .navbar-toggler {
        padding: 8px 12px;
    }

    /* Prevent column stacking issues */
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .col, [class*="col-"] {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* Improve form usability on mobile */
    .form-control {
        font-size: 16px !important; /* Prevent zoom on iOS */
        padding: 12px 16px;
    }

    /* Improve table responsiveness */
    .table-responsive {
        margin-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    /* Fix sticky hover states on mobile */
    .nav-link:hover,
    .btn:hover {
        transition: none;
    }
}

/* Fix for iOS form elements */
@supports (-webkit-touch-callout: none) {
    input,
    textarea {
        font-size: 16px !important;
    }
    
    select {
        font-size: 16px !important;
        height: 44px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 6rem 0 3rem;
    }

    .navbar-collapse {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
} 