@import url(variables.css);
/* Footer Section */
.footer-section {
    position: relative;
    background: linear-gradient(135deg, #16243D 0%, #1a2a4a 100%);
}

.footer-main {
    background: transparent;
    padding: 60px 0 40px 0;
    position: relative;
}

.footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(22, 36, 61, 0.95) 0%, rgba(26, 42, 74, 0.95) 100%);
    z-index: 1;
}

.footer-main > .container {
    position: relative;
    z-index: 2;
}

/* ===== FOOTER TOP SECTION ===== */

/* Address Column */
.footer-address {
    margin-bottom: 2rem;
}

.footer-address-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-address-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--bg-primary), var(--bg-secondary));
    border-radius: 1px;
}

.footer-address-content {
    color: #B8C5D6;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-address-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--bg-primary);
    font-size: 1.1rem;
}

/* Contact Column */
.footer-contact-info {
    margin-bottom: 2rem;
}

.footer-contact-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-contact-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--bg-primary), var(--bg-secondary));
    border-radius: 1px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    transform: translateX(0.5rem);
}

.footer-contact-item i {
    color: var(--bg-primary);
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

.footer-contact-item a {
    color: #B8C5D6;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.footer-contact-item:hover a {
    color: #ffffff;
}

/* Social Media Column */
.footer-social {
    margin-bottom: 2rem;
}

.footer-social-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-social-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--bg-primary), var(--bg-secondary));
    border-radius: 1px;
}

.footer-social-text {
    color: #B8C5D6;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.footer-social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    border-color: var(--bg-primary);
    color: #ffffff;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(92, 168, 13, 0.3);
}

.footer-social-icon:hover::before {
    opacity: 1;
    transform: scale(1);
}

.footer-social-icon i {
    z-index: 1;
    position: relative;
}

/* ===== FOOTER MIDDLE SECTION ===== */
.footer-middle-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* About Us Column */
.footer-about {
    margin-bottom: 2rem;
}

.footer-about-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-about-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--bg-primary), var(--bg-secondary));
    border-radius: 1px;
}

.footer-about-content {
    color: #B8C5D6;
    line-height: 1.8;
    font-size: 0.95rem;
}

/* Quick Links Column */
.footer-quick-links {
    margin-bottom: 2rem;
}

.footer-quick-links-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-quick-links-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--bg-primary), var(--bg-secondary));
    border-radius: 1px;
}

.footer-quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-quick-links-list li {
    margin-bottom: 0.75rem;
}

.footer-quick-links-list li a {
    color: #B8C5D6;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-quick-links-list li a::before {
    content: '→';
    color: var(--bg-primary);
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer-quick-links-list li a:hover {
    color: #ffffff;
    transform: translateX(0.5rem);
}

.footer-quick-links-list li a:hover::before {
    transform: translateX(0.25rem);
}

/* Subscription Form Column */
.footer-subscription {
    margin-bottom: 2rem;
}

.footer-subscription-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-subscription-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 3rem;
    height: 2px;
    background: linear-gradient(90deg, var(--bg-primary), var(--bg-secondary));
    border-radius: 1px;
}

.footer-subscription-text {
    color: #B8C5D6;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-form-group {
    position: relative;
}

.footer-form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-form-control::placeholder {
    color: rgba(184, 197, 214, 0.7);
}

.footer-form-control:focus {
    outline: none;
    border-color: var(--bg-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(92, 168, 13, 0.2);
}

.footer-form-control.textarea {
    min-height: 100px;
    resize: vertical;
}

.footer-submit-btn {
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    color: #ffffff;
    border: none;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.footer-submit-btn:hover::before {
    left: 100%;
}

.footer-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(92, 168, 13, 0.3);
}

/* ===== FOOTER COPYRIGHT SECTION ===== */
.footer-copyright {
    background: linear-gradient(135deg, #101A2C 0%, #16243D 100%);
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright-text {
    color: #B8C5D6;
    font-size: 0.95rem;
    margin: 0;
}

.copyright-year {
    color: var(--bg-primary);
    font-weight: 600;
}

.copyright-link {
    color: var(--bg-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.copyright-link:hover {
    color: var(--bg-primary);
    text-decoration: underline;
}




/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #d91f47 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(239, 40, 83, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    backdrop-filter: blur(10px);
    /* Prevent unwanted rotation */
    transform-origin: center center;
    border: 2px solid transparent;
    overflow: hidden;
}

.back-to-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1) rotate(0deg) !important;
    animation: backToTopEntrance 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes backToTopEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    50% {
        opacity: 1;
        transform: translateY(-5px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1) rotate(0deg) !important;
    box-shadow: 0 15px 35px rgba(239, 40, 83, 0.4);
    background: linear-gradient(135deg, #d91f47 0%, var(--bg-secondary) 100%);
    border-color: rgba(255, 255, 255, 0.3);
}

.back-to-top:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
    transition: all 0.1s ease;
}

.back-to-top i {
    color: #ffffff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.back-to-top:hover i {
    transform: translateY(-2px);
    color: #ffffff;
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Pulse animation for attention */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 8px 25px rgba(239, 40, 83, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 25px rgba(239, 40, 83, 0.6), 0 0 0 8px rgba(239, 40, 83, 0.1);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 8px 25px rgba(239, 40, 83, 0.3);
        transform: scale(1);
    }
}

.back-to-top.pulse {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Progress ring (optional enhancement) */
.back-to-top::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: conic-gradient(var(--bg-primary) var(--scroll-progress, 0deg), transparent var(--scroll-progress, 0deg));
    transition: all 0.3s ease;
    z-index: -2;
    opacity: 0.3;
}

.back-to-top:hover::after {
    opacity: 0.6;
    background: conic-gradient(var(--bg-primary) 0deg, var(--bg-primary) 360deg);
}

/* Focus states for accessibility */
.back-to-top:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(239, 40, 83, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.5);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

/* Loading state animation */
.back-to-top.loading {
    pointer-events: none;
}

.back-to-top.loading i {
    animation: spin 1s linear infinite;
}

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

/* Success state animation */
.back-to-top.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.back-to-top.success i {
    animation: successCheck 0.6s ease;
}

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

/* Smooth scroll behavior for the entire page */
html {
    scroll-behavior: smooth;
}

/* ===== BACK TO TOP BUTTON ENHANCEMENTS ===== */





/* ===== SCROLL INDICATOR ===== */

/* Optional: Add a subtle scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(92, 168, 13, 0.1);
    z-index: 9999;
    overflow: hidden;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--bg-primary), var(--bg-secondary));
    width: var(--scroll-progress, 0%);
    transition: width 0.1s ease;
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Hardware acceleration for smooth animations */
.back-to-top {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.back-to-top i {
    will-change: transform;
    transform: translateZ(0);
}

/* ===== INTERACTION FEEDBACK ===== */

/* Ripple effect on click */
.back-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.back-to-top:active::before {
    width: 100px;
    height: 100px;
}

/* Enhanced focus ring for keyboard navigation */
.back-to-top:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 4px;
    box-shadow: 0 8px 25px rgba(239, 40, 83, 0.3), 0 0 0 6px rgba(255, 255, 255, 0.2);
}
