/* Footer */
/* NetFortify Solutions Footer Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    padding: 2rem;
}

/* Footer Styles */
footer {
    background: #000000;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00d9ff, #0099ff, #6600ff, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

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

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
    position: relative;
    align-items: start;
}

/* Footer Brand Section */
.footer-brand {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-brand p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #cccccc;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    flex: 1;
}

.ft-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    margin-top: auto;
}

.ft-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00d9ff, #0099ff);
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: logoShine 2s ease-in-out infinite;
}

@keyframes logoShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.ft-logo-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}


/* Footer Links Sections */
.footer-links {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-links:nth-child(2) { animation-delay: 0.3s; }
.footer-links:nth-child(3) { animation-delay: 0.4s; }
.footer-links:nth-child(4) { animation-delay: 0.5s; }

.footer-links h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    flex-shrink: 0;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #00d9ff, #0099ff);
    border-radius: 1px;
}

.footer-links ul {
    list-style: none;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links ul li {
    margin-bottom: 0;
}

.footer-links ul li a {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1rem;
}

.footer-links ul li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #00d9ff;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: #00d9ff;
    padding-left: 1.5rem;
}

.footer-links ul li a:hover::before {
    opacity: 1;
}

/* Footer Contact Section */
.footer-contact {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-contact h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    flex-shrink: 0;
}

.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    border-radius: 1px;
}

.contact-item {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-item strong {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 500;
}

.contact-item a,
.contact-item span {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #00d9ff;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d9ff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #00d9ff, #0099ff);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.4);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover svg {
    color: white;
    transform: scale(1.1);
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2rem 0;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom-left {
    flex: 1;
    min-width: 250px;
}

.footer-bottom-right {
    flex-shrink: 0;
}

.footer-bottom-left p {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-reg {
    color: #888888 !important;
    font-size: 0.8rem !important;
}

.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.15), rgba(0, 217, 255, 0.15));
    border: 1px solid rgba(0, 255, 127, 0.4);
    color: #00ff7f;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.badge:hover {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.25), rgba(0, 217, 255, 0.25));
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating particles animation */
footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 217, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 153, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
    pointer-events: none;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 2rem;
        height: auto;
    }

    .footer-brand .logo {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-brand {
        text-align: left;
        height: auto;
    }

    .footer-brand .logo {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-bottom-left {
        min-width: auto;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    .footer-badges {
        justify-content: center;
    }
}
/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(75, 85, 99, 0.1);
        border: 1px solid rgba(75, 85, 99, 0.2);
        border-radius: 8px;
        padding: 0.5rem 0;
        margin-top: 1rem;
        display: none;
    }
    
    .dropdown:hover .dropdown-menu,
    .dropdown.active .dropdown-menu {
        display: block;
    }

    .mobile-menu {
        display: block;
        z-index: 1001;
    }

    .hero {
        padding: 2rem 0;
        min-height: 80vh;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem;
    }

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

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

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

    .container {
        padding: 0 1rem;
    }

    .partner-logo {
        min-width: 150px;
        height: 80px;
    }
    
    .partner-logo img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .service-card {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Performance optimizations */
.floating-icon,
.partners-track {
    will-change: transform;
}

/* Accessibility improvements */
.service-card:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.btn-primary:focus,
.btn-secondary:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

