/* ============================================
   FOOTER - SEAFOOD4AFRICA - COMPLETE CSS
   Full Responsive & Clean Code
============================================ */

/* ==========================================
   RESET & BASE
========================================== */
.footer-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ==========================================
   1. FOOTER WRAPPER
========================================== */
.footer-wrapper {
    position: relative;
    background: linear-gradient(135deg, #0a1628 0%, #1a2b4a 50%, #0d1b2a 100%);
    padding: 60px 0 0;
    margin-top: 0;
    overflow: hidden;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        135deg,
        transparent,
        transparent 100px,
        rgba(255, 255, 255, 0.02) 100px,
        rgba(255, 255, 255, 0.02) 200px
    );
    z-index: 1;
}

.footer-wrapper > * {
    position: relative;
    z-index: 2;
}

/* ==========================================
   2. CONTAINER
========================================== */
.footer-wrapper .container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.widget-area {
    padding-bottom: 60px;
}

.space-top {
    padding-top: 0;
}

/* ==========================================
   3. GRID SYSTEM
========================================== */
.footer-wrapper .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.footer-wrapper .row.gx-5 {
    margin-left: -20px;
    margin-right: -20px;
}

.footer-wrapper .row.gx-5 > * {
    padding-left: 20px;
    padding-right: 20px;
}

.footer-wrapper .row.justify-content-between {
    justify-content: space-between;
}

.footer-wrapper .row.align-items-center {
    align-items: center;
}

/* Columns Base */
.footer-wrapper [class*="col-"] {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Desktop Columns (1200px+) */
@media (min-width: 1200px) {
    .footer-wrapper .col-xl-2 { 
        flex: 0 0 auto;
        width: 16.666667%; 
    }
    .footer-wrapper .col-xl-3 { 
        flex: 0 0 auto;
        width: 25%; 
    }
    .footer-wrapper .col-xl-4 { 
        flex: 0 0 auto;
        width: 33.333333%; 
    }
}

/* Tablet Columns (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .footer-wrapper .col-md-6 { 
        flex: 0 0 auto;
        width: 50%; 
    }
    .footer-wrapper .col-xl-2,
    .footer-wrapper .col-xl-3,
    .footer-wrapper .col-xl-4 { 
        flex: 0 0 auto;
        width: 50%; 
    }
}

/* Mobile Columns (< 768px) */
@media (max-width: 767px) {
    .footer-wrapper .col-md-6,
    .footer-wrapper .col-xl-2,
    .footer-wrapper .col-xl-3,
    .footer-wrapper .col-xl-4 { 
        flex: 0 0 auto;
        width: 100%; 
    }
}

.footer-wrapper .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
}

/* ==========================================
   4. COLUMN 1 - ABOUT & CONTACT
========================================== */
.footer-widget {
    margin-bottom: 40px;
}

.footer-widget img {
    max-width: 250px;
    width: 85%;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    display: block;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 400;
}

.vs-widget-about {
    margin-top: 20px;
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.8;
}

.footer-address i {
    color: #58c0ef;
    font-size: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-address span {
    flex: 1;
    color: rgba(255, 255, 255, 0.9);
}

.footer-address a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.footer-address a:hover {
    color: #58c0ef;
    padding-left: 3px;
}

.footer-address a:hover i {
    transform: scale(1.1);
}

.footer-address a span {
    color: inherit;
}

/* ==========================================
   5. COLUMN 2 - QUICK LINKS
========================================== */
.footer-widget-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #58c0ef, transparent);
}

.footer-links-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-menu li {
    margin-bottom: 10px;
}

.footer-links-menu li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links-menu li a i {
    color: #58c0ef;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.footer-links-menu li a:hover {
    color: #58c0ef;
    padding-left: 8px;
}

.footer-links-menu li a:hover i {
    transform: translateX(5px);
}

/* ==========================================
   6. COLUMN 3 - EVENT INFO
========================================== */
.footer-event-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.event-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.event-info-item:last-child {
    margin-bottom: 0;
}

.event-info-item i {
    color: #58c0ef;
    font-size: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.event-info-item div {
    flex: 1;
}

.event-info-item strong {
    color: #fff;
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.event-info-item p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}

.fenip-inline-logo {
    max-width: 100px;
    width: 100%;
    height: auto;
    margin-top: 5px;
    filter: brightness(1.2);
    display: block;
}

/* ==========================================
   7. COLUMN 4 - SOCIAL & NEWSLETTER
========================================== */
.footer-wrapper .col-xl-4 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.contact-style1 {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.contact-title {
    color: #1a2b4a;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact-text {
    color: #4a5568;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 500;
}

.mb-0 {
    margin-bottom: 0 !important;
}

/* Social Media Icons */
.social-media3.style1 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.social-media3.style1 a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #1a2b4a;
    border-radius: 50%;
    font-size: 19px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    position: relative;
}

.social-media3.style1 a i {
    line-height: 1;
    display: block;
}

.social-media3.style1 a:hover {
    transform: translateY(-5px) scale(1.05);
}

.social-media3.style1 a[href*="facebook"]:hover {
    background: linear-gradient(135deg, #1877f2, #0c5ecf);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.4);
}

.social-media3.style1 a[href*="linkedin"]:hover {
    background: linear-gradient(135deg, #0077b5, #005582);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.4);
}

.social-media3.style1 a[href*="fenip"]:hover {
    background: linear-gradient(135deg, #58c0ef, #0e8296);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(88, 192, 239, 0.4);
}

/* Newsletter */
.newsletter-wrapper {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
}

.newsletter-subtitle {
    color: #1a2b4a;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 5px;
}

.newsletter-desc {
    color: #4a5568;
    font-size: 12px;
    margin-bottom: 15px;
}

.newsletter-form {
    width: 100%;
}

.newsletter-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 11px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    transition: all 0.3s ease;
    background: #fff;
}

.newsletter-input:focus {
    outline: none;
    border-color: #58c0ef;
    box-shadow: 0 0 0 3px rgba(88, 192, 239, 0.1);
}

.newsletter-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #58c0ef, #0e8296);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(88, 192, 239, 0.4);
}

.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.newsletter-btn i {
    font-size: inherit;
}

.newsletter-message {
    font-size: 12px;
    padding: 10px;
    border-radius: 6px;
    display: none;
    margin-top: 10px;
    text-align: left;
}

.newsletter-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.newsletter-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================
   8. COPYRIGHT SECTION
========================================== */
.copyright-wrap {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-area {
    width: 100%;
}

.copyright-area .row {
    width: 100%;
    margin: 0;
}

.text-center {
    text-align: center;
}

.text-lg-start {
    text-align: left;
}

.text-lg-end {
    text-align: right;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.8;
}

.copyright-text i {
    color: #58c0ef;
    font-size: 15px;
}

.copyright-text span {
    color: rgba(255, 255, 255, 0.8);
}

.copyright-text a {
    color: #58c0ef;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.copyright-text a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #58c0ef;
    transition: width 0.3s ease;
}

.copyright-text a:hover {
    color: #ffffff;
}

.copyright-text a:hover::after {
    width: 100%;
}

/* Terms & Privacy */
.terms-condition {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.terms-condition ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.list-unstyled {
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-condition li {
    margin: 0;
}

.terms-condition li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.terms-condition li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;

    transition: width 0.3s ease;
}

.terms-condition li a:hover {
    color: #58c0ef;
}

.terms-condition li a:hover::after {
    width: 100%;
}

.d-inline {
    display: inline;
}

/* ==========================================
   9. BACK TO TOP BUTTON
========================================== */
.back-to-top-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #58c0ef, #0e8296);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(88, 192, 239, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(88, 192, 239, 0.5);
}

.back-to-top-btn i {
    font-size: inherit;
}

/* ==========================================
   10. RESPONSIVE - LARGE DESKTOP (1400px+)
========================================== */
@media (min-width: 1400px) {
    .footer-wrapper .container {
        padding: 0 40px;
    }
    
    .contact-style1 {
        max-width: 420px;
    }
}

/* ==========================================
   11. RESPONSIVE - DESKTOP (1200px - 1399px)
========================================== */
@media (min-width: 1200px) and (max-width: 1399px) {
    .footer-wrapper .container {
        padding: 0 30px;
    }
    
    .footer-widget img {
        max-width: 220px;
    }
    
    .contact-style1 {
        max-width: 380px;
    }
}

/* ==========================================
   12. RESPONSIVE - TABLET (992px - 1199px)
========================================== */
@media (min-width: 992px) and (max-width: 1199px) {
    .footer-wrapper .col-xl-4 {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    
    .contact-style1 {
        max-width: 500px;
    }
}

/* ==========================================
   13. RESPONSIVE - TABLET SMALL (768px - 991px)
========================================== */
@media (min-width: 768px) and (max-width: 991px) {
    .widget-area {
        padding-bottom: 40px;
    }
    
    .footer-widget,
    .footer-event-card {
        text-align: center;
    }
    
    .footer-widget img {
        margin: 0 auto 20px;
        max-width: 220px;
    }
    
    .footer-address {
        justify-content: center;
    }
    
    .footer-widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links-menu li a {
        justify-content: center;
    }
    
    .contact-style1 {
        max-width: 100%;
    }
    
    .text-lg-start,
    .text-lg-end {
        text-align: center;
    }
}

/* ==========================================
   14. RESPONSIVE - MOBILE (480px - 767px)
========================================== */
@media (max-width: 767px) {
    .footer-wrapper {
        padding: 40px 0 0;
    }
    
    .widget-area {
        padding-bottom: 30px;
    }
    
    .footer-wrapper .container {
        padding: 0 20px;
    }
    
    .footer-wrapper .row.gx-5 {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .footer-wrapper .row.gx-5 > * {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .footer-widget {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .footer-widget img {
        max-width: 200px;
        margin: 0 auto 15px;
    }
    
    .footer-text {
        font-size: 14px;
    }
    
    .footer-address {
        justify-content: center;
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .footer-widget-title {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .footer-widget-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links-menu li {
        margin-bottom: 8px;
    }
    
    .footer-links-menu li a {
        font-size: 13px;
        justify-content: center;
    }
    
    .footer-event-card {
        padding: 18px;
        text-align: center;
    }
    
    .event-info-item {
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .fenip-inline-logo {
        max-width: 90px;
        margin: 5px auto 0;
    }
    
    .contact-style1 {
        padding: 25px 20px;
        max-width: 100%;
    }
    
    .contact-title {
        font-size: 23px;
    }
    
    .contact-text {
        font-size: 12px;
    }
    
    .social-media3.style1 {
        gap: 12px;
    }
    
    .social-media3.style1 a {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }
    
    .newsletter-subtitle {
        font-size: 16px;
    }
    
    .newsletter-input {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .newsletter-btn {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    
    .copyright-wrap {
        padding: 18px 0;
    }
    
    .copyright-text {
        font-size: 12px;
        flex-direction: column;
        gap: 5px;
    }
    
    .terms-condition {
        margin-top: 8px;
    }
    
    .terms-condition ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .back-to-top-btn {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }
    
    .mb-3 {
        margin-bottom: 1rem;
    }
    
    .mb-lg-0 {
        margin-bottom: 1rem;
    }
    
    .text-lg-start,
    .text-lg-end {
        text-align: center;
    }
}

/* ==========================================
   15. RESPONSIVE - MOBILE SMALL (< 480px)
========================================== */
@media (max-width: 479px) {
    .footer-wrapper {
        padding: 30px 0 0;
    }
    
    .footer-wrapper .container {
        padding: 0 15px;
    }
    
    .footer-widget img {
        max-width: 180px;
    }
    
    .footer-text {
        font-size: 13px;
    }
    
    .footer-address {
        font-size: 12px;
    }
    
    .footer-widget-title {
        font-size: 17px;
    }
    
    .contact-style1 {
        padding: 20px 15px;
    }
    
    .contact-title {
        font-size: 21px;
    }
    
    .social-media3.style1 {
        gap: 10px;
    }
    
    .social-media3.style1 a {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
    
    .newsletter-input {
        padding: 9px 10px;
        font-size: 11px;
    }
    
    .newsletter-btn {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
    
    .copyright-text {
        font-size: 11px;
    }
    
    .terms-condition li a {
        font-size: 11px;
    }
}

/* ==========================================
   16. ANIMATIONS
========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-widget,
.contact-style1 {
    animation: fadeInUp 0.6s ease backwards;
}

.footer-widget:nth-child(1) {
    animation-delay: 0.1s;
}

.footer-widget:nth-child(2) {
    animation-delay: 0.2s;
}

.footer-widget:nth-child(3) {
    animation-delay: 0.3s;
}

.footer-widget:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes socialIconFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.social-media3.style1 a {
    animation: socialIconFadeIn 0.5s ease backwards;
}

.social-media3.style1 a:nth-child(1) {
    animation-delay: 0.5s;
}

.social-media3.style1 a:nth-child(2) {
    animation-delay: 0.6s;
}

.social-media3.style1 a:nth-child(3) {
    animation-delay: 0.7s;
}

/* ==========================================
   17. ACCESSIBILITY
========================================== */
.footer-address a:focus,
.social-media3 a:focus,
.newsletter-input:focus,
.newsletter-btn:focus,


.back-to-top-btn:focus,
.footer-links-menu a:focus {
    outline: 3px solid #58c0ef;
    outline-offset: 3px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ==========================================
   18. UTILITY CLASSES
========================================== */
.mt-5 {
    margin-top: 0;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-lg-0 {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .mb-lg-0 {
        margin-bottom: 1rem;
    }
}

/* ==========================================
   19. PRINT STYLES
========================================== */
@media print {
    .footer-wrapper {
        background: #fff !important;
        color: #000 !important;
    }
    
    .footer-wrapper::before {
        display: none;
    }
    
    .contact-style1 {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .social-media3,
    .newsletter-wrapper,
    .back-to-top-btn {
        display: none !important;
    }
    
    .footer-address a,
    .copyright-text a,
    .terms-condition a {
        color: #000 !important;
        text-decoration: underline;
    }
}

/* ==========================================
   20. BROWSER-SPECIFIC FIXES
========================================== */

/* Firefox */
@-moz-document url-prefix() {
    .social-media3.style1 a {
        display: -moz-inline-box;
    }
}

/* Safari */
@supports (-webkit-appearance: none) {
    .newsletter-input {
        -webkit-appearance: none;
    }
}

/* Edge */
@supports (-ms-ime-align: auto) {
    .newsletter-input-group {
        display: -ms-flexbox;
    }
}