/* Modern Footer Styles with Glassmorphism Effects */
/* Hamro Labs Themed Footer Styles */
:root {
    --dev-primary: #00B894;
    /* Primary Green */
    --dev-secondary: #0F172A;
    /* Navy Blue */
    --dev-accent: #8141A5;
    /* Accent Purple */
    --dev-dark: #0F172A;
    --dev-light: #F8FAFC;
    --hamro-gradient: linear-gradient(135deg, #00B894 0%, #00A180 100%);
    --hamro-glass: rgba(15, 23, 42, 0.85);
}

/* Developer Info Section - Top Enhanced */
.developer-info-wrapper {
    background: var(--dev-dark);
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(0, 184, 148, 0.2);
    overflow: hidden;
}

.developer-info-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(0, 184, 148, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 50%, rgba(129, 65, 165, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.developer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 20px 0;
}

.dev-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dev-logo-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dev-logo-box:hover {
    border-color: var(--dev-primary);
    background: rgba(0, 184, 148, 0.1);
}

.dev-logo {
    height: 48px;
    width: auto;
    transition: all 0.3s ease;
}

.dev-brand-text h6 {
    color: #fff;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dev-brand-text span {
    color: var(--dev-primary);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
}

.dev-pitch {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.pitch-icon {
    width: 40px;
    height: 40px;
    background: rgba(129, 65, 165, 0.1);
    color: var(--dev-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.pitch-text p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.9rem;
    line-height: 1.3;
}

.pitch-text strong {
    color: var(--dev-primary);
}

.dev-contact {
    display: flex;
    gap: 15px;
}

.dev-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dev-btn-primary {
    background: var(--hamro-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.dev-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
    color: white;
}

.dev-btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dev-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--dev-primary);
    color: var(--dev-primary);
}

.pulse-badge {
    height: 8px;
    width: 8px;
    background: var(--dev-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Developer Micro-Section Styles */
.developer-micro-section {
    padding: 30px 0 10px;
}

.dev-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 25px;
    position: relative;
}

.dev-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 3px;
    background: var(--dev-primary);
    border-radius: 10px;
}

.dev-flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.dev-brand-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.dev-brand-link:hover {
    transform: translateX(5px);
}

.dev-micro-logo {
    height: 40px;
    width: auto;
    opacity: 0.95;
    transition: var(--transition);
}

.dev-brand-link:hover .dev-micro-logo {
    opacity: 1;
    filter: none;
}

.dev-text-content {
    display: flex;
    flex-direction: column;
}

.dev-title {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.dev-tagline {
    color: #94a3b8;
    font-size: 0.75rem;
    margin: 0;
    font-weight: 500;
}

.dev-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.dev-contact-info {
    display: flex;
    gap: 20px;
}

.dev-contact-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.dev-contact-link i {
    color: var(--dev-primary);
    font-size: 1rem;
}

.dev-contact-link:hover {
    color: white;
}

.dev-socials {
    display: flex;
    gap: 15px;
}

.dev-socials a {
    color: #94a3b8;
    font-size: 1.1rem;
    transition: var(--transition);
}

.dev-socials a:hover {
    color: var(--dev-primary);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 992px) {
    .dev-flex-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .dev-brand-link {
        flex-direction: column;
        gap: 10px;
    }

    .dev-links {
        flex-direction: column;
        gap: 15px;
    }

    .dev-contact-info {
        flex-direction: column;
        gap: 8px;
    }
}

/* Main Footer - Enhanced */
.main-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dev-primary), var(--dev-secondary), var(--dev-accent), var(--dev-primary));
    background-size: 300% 100%;
    animation: gradientMove 6s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 300% 50%;
    }
}

.footer-container {
    position: relative;
    z-index: 2;
}

/* Logo Container Enhancement */
.logo-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.logo-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.footer-logo-img {
    height: 70px;
    width: 70px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s ease;
}

.logo-container:hover .footer-logo-img {
    border-color: var(--dev-primary);
    transform: scale(1.05);
}

.org-info {
    flex: 1;
}

.footer-org-name {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.footer-org-desc {
    color: var(--dev-primary);
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Footer Headings with Animated Underline */
.footer-heading {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--dev-primary), var(--dev-secondary));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.footer-heading:hover .footer-heading-line {
    width: 80px;
}

/* Footer Links Enhancement */
.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
    transform: translateX(0);
    transition: all 0.3s ease;
}

.footer-links-list li:hover {
    transform: translateX(10px);
}

.footer-links-list a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-links-list a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--dev-primary);
}

.footer-links-list a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links-list a:hover::before {
    opacity: 1;
    left: -15px;
}

/* Contact Info Enhancement */
.footer-contact-list p {
    display: flex;
    align-items: flex-start;
    color: #cbd5e1;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 8px;
}

.footer-contact-list p:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
    color: white;
}

.footer-contact-list i {
    color: var(--dev-primary);
    font-size: 1.2rem;
    width: 30px;
    transition: all 0.3s ease;
}

.footer-contact-list p:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--dev-secondary);
}

/* Social Links Enhancement */
.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.footer-social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--dev-primary), var(--dev-secondary));
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.footer-social-links a:hover::before {
    opacity: 1;
}

.footer-social-links a i {
    position: relative;
    z-index: 2;
}

.footer-social-links a:hover {
    transform: translateY(-5px) rotate(360deg);
    border-color: transparent;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5);
}

/* App Badges Enhancement */
.app-download-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.app-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.app-badge:hover::before {
    left: 100%;
}

.app-badge:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    transform: translateY(-3px) scale(1.02);
    border-color: var(--dev-primary);
    box-shadow: 0 15px 30px -10px rgba(99, 102, 241, 0.3);
}

.app-badge i {
    font-size: 2rem;
    color: var(--dev-primary);
    transition: all 0.3s ease;
}

.app-badge:hover i {
    transform: scale(1.1);
    color: var(--dev-secondary);
}

.app-badge span {
    line-height: 1.3;
}

.app-badge small {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* Newsletter Form Enhancement */
.newsletter-form {
    display: flex;
    position: relative;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding-right: 60px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--dev-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 45px;
    background: linear-gradient(135deg, var(--dev-primary), var(--dev-secondary));
    border: none;
    border-radius: 50px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: linear-gradient(135deg, var(--dev-secondary), var(--dev-accent));
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.newsletter-btn i {
    transition: all 0.3s ease;
}

.newsletter-btn:hover i {
    transform: translateX(3px);
}

/* Footer Bottom Enhancement */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
}

.footer-bottom p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--dev-primary), var(--dev-secondary));
    transition: width 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

.footer-bottom a:hover::after {
    width: 100%;
}

/* Scroll Top Button Enhancement */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--dev-primary), var(--dev-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    bottom: 30px;
}

.scroll-top-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, var(--dev-secondary), var(--dev-accent));
}

.scroll-top-btn i {
    transition: all 0.3s ease;
}

.scroll-top-btn:hover i {
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .developer-info-section {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
    }

    .developer-divider {
        display: none;
    }

    .developer-contact-card {
        width: 100%;
        justify-content: center;
    }

    /* Developer Info Wrapper Responsive */
    .developer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .dev-brand {
        justify-content: center;
    }

    .dev-pitch {
        border-left: none;
        border-right: none;
        padding: 0;
    }

    .dev-contact {
        justify-content: center;
    }

    .dev-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom .d-flex {
        justify-content: center;
    }

    .logo-container {
        flex-direction: column;
        text-align: center;
    }

    .org-info {
        margin-left: 0 !important;
        margin-top: 15px;
    }

    .footer-heading-line {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-heading {
        text-align: center;
    }

    .footer-links-list {
        text-align: center;
    }

    .footer-links-list a::before {
        display: none;
    }

    .footer-contact-list p {
        justify-content: center;
    }

    .app-download-badges {
        align-items: center;
    }

    .app-badge {
        width: 100%;
        max-width: 280px;
    }
}

/* Animation Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Loading Animation for Developer Section */
.developer-info-wrapper .container {
    position: relative;
}

.developer-info-wrapper .container::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--dev-primary), var(--dev-secondary), var(--dev-primary), transparent);
    animation: scanLine 4s linear infinite;
}

@keyframes scanLine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}