/* ===================================
   Footer Styles - Modern Design
   =================================== */

/* Floating Action Buttons */
.icon-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.icon-float-call {
    bottom: 110px;
    background-color: #0088cc;
}

.icon-float:hover {
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.icon-float .float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #FFF;
    text-decoration: none;
}

.icon-float .fa {
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-float .whatsapp-svg {
    width: 30px;
    height: 30px;
    color: #fff;
    fill: currentColor;
}

.icon-float .phone-icon {
    width: 30px;
    height: 30px;
    color: #fff;
    fill: currentColor;
}

@media screen and (max-width: 768px) {
    .icon-float .whatsapp-svg {
        width: 24px;
        height: 24px;
    }
}

.icon-float .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;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Floating Buttons */
@media screen and (max-width: 768px) {
    .icon-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .icon-float-call {
        bottom: 80px;
    }
}

/* Footer Top Section */
.footer-top {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 30px;
    position: relative;
    width: 100%;
}

.footer-top-four {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.footer-top .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-top .container {
        padding: 0 30px;
    }
}

@media (min-width: 1024px) {
    .footer-top .container {
        padding: 0 40px;
    }
}

.footer-top .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0;
}

@media (min-width: 768px) {
    .footer-top .row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-top .row {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.footer-top .col-lg-3,
.footer-top .col-md-6,
.footer-top .col-sm-6 {
    padding: 0;
    margin-bottom: 0;
    width: 100%;
}

/* Single Widget Styles */
.single-widget {
    margin-bottom: 30px;
}

.single-widget h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
    display: inline-block;
}

.single-widget p {
    color: #b8b8b8;
    line-height: 1.8;
    margin-bottom: 15px;
}

.single-widget img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Footer Lists */
.single-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-widget ul li {
    margin-bottom: 12px;
    color: #b8b8b8;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.single-widget ul li:hover {
    padding-right: 0;
}

.single-widget ul li i {
    color: #3498db;
    margin-left: 8px;
    margin-right: 0;
    font-size: 12px;
    min-width: 12px;
    width: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
}

.single-widget ul li a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.single-widget ul li a:hover {
    color: #3498db;
}

.single-widget ul li span {
    color: #ffffff;
    font-weight: 600;
    margin-left: 3px;
}

.single-widget ul li > a,
.single-widget ul li > span {
    display: inline-flex;
    align-items: center;
}

/* Footer Bottom Section */
.footer-bottom {
    background-color: #0d0d0d;
    padding: 25px 0;
    border-top: 1px solid #333;
    width: 100%;
}

.footer-bottom .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .footer-bottom .container {
        padding: 0 30px;
    }
}

@media (min-width: 1024px) {
    .footer-bottom .container {
        padding: 0 40px;
    }
}

.footer-bottom .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-items: center;
    margin: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom .row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-bottom .row {
        grid-template-columns: repeat(3, 1fr);
        text-align: right;
    }
}

.footer-bottom .col-lg-4,
.footer-bottom .col-md-6 {
    padding: 0;
    width: 100%;
}

.footer-bottom .single-widget {
    margin-bottom: 0;
}

.footer-bottom .single-widget p {
    color: #b8b8b8;
    margin: 0;
    font-size: 14px;
}

.footer-bottom .single-widget a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .single-widget a:hover {
    color: #2980b9;
}

.footer-bottom .theme-color {
    color: #3498db;
}

/* Developer Credit */
.developer-credit {
    text-align: center;
}

.developer-credit p {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
}

.developer-credit a {
    color: #3498db;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
}

.developer-credit a:hover {
    color: #2980b9;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .developer-credit p {
        font-size: 1rem;
    }
}

/* Footer Social Section */
.footer-social-section {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.footer-social-section .social-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

/* Social Links */
.single-widgets {
    display: flex;
    justify-content: flex-end;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-links li {
    display: inline-block;
    margin-bottom: 0 !important;
}

.social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2d2d2d;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
    line-height: 40px;
}

.social-links li a i {
    margin: 0 !important;
    font-size: 16px;
    color: #ffffff;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links li a:hover {
    background-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.social-links li a:hover i {
    color: #ffffff;
}

/* Responsive Utilities */
.d-none {
    display: none !important;
}

@media (min-width: 768px) {
    .d-md-flex {
        display: flex !important;
    }
}

.offset-md-3 {
    margin-right: 25%;
}

@media (min-width: 992px) {
    .offset-lg-0 {
        margin-right: 0;
    }
}

/* Mobile Menu Modal Backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-backdrop.show {
    display: block;
    opacity: 1;
}

/* RTL Support */
[dir="rtl"] .single-widget ul li i {
    margin-left: 8px;
    margin-right: 0;
    justify-content: flex-end;
}

[dir="rtl"] .single-widget ul li:hover {
    padding-right: 0;
    padding-left: 0;
}

[dir="rtl"] .icon-float {
    right: auto;
    left: 40px;
}

@media screen and (max-width: 768px) {
    [dir="rtl"] .icon-float {
        left: 20px;
    }
}

[dir="rtl"] .social-links {
    justify-content: flex-start;
}

/* Accessibility */
.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;
}

/* Print Styles */
@media print {
    .icon-float,
    .icon-float-call {
        display: none !important;
    }
}
