/* ============================================
   FOOTER V7 - ORANGE THEME (#F59300)
   Benim Akademim - Modern Orange/Dark Theme
   Dashboard Compatible - Works with sidebar margin-left: 280px
   ============================================ */

.footer {
    padding-top: 110px;
    z-index: 1;
    color: #fff;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%) !important;
    border-top: 3px solid #F59300 !important;
    /* Ensure footer content respects sidebar when inside dashboard */
    box-sizing: border-box;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer {
        padding-top: 86px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer {
        padding-top: 76px;
        padding-bottom: 72px;
    }
}

@media only screen and (max-width: 767px) {
    .footer {
        padding-top: 46px;
        padding-bottom: 59px;
    }
}

/* ============================================
   HEADINGS - ORANGE THEME
   ============================================ */
.footer h5 {
    color: #F59300 !important;
    font-size: 24px;
    line-height: 1.5;
    font-family: var(--fontFamily2, "Poppins", sans-serif);
    font-weight: 700;
    margin-bottom: 20px;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer h5 {
        font-size: 18px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer h5 {
        font-size: 16px;
    }
}

.footer h6 {
    color: #F59300 !important;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer h6 {
        font-size: 18px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer h6 {
        font-size: 16px;
    }
}

@media only screen and (max-width: 767px) {
    .footer h6 {
        font-size: 14px;
    }
}

/* ============================================
   CONTAINER
   ============================================ */
@media only screen and (min-width: 1581px) {
    .footer .container {
        max-width: 1530px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .footer .col-sm-6 {
        width: 50%;
    }
}

/* ============================================
   FOOTER ITEMS - TEXT & LINKS
   ============================================ */
@media only screen and (max-width: 767px) {
    .footer-item {
        margin-top: 30px;
    }
}

.footer-item p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85) !important;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-item p {
        font-size: 13px;
    }
}

@media only screen and (max-width: 991px) {
    .footer-item p {
        font-size: 12px;
    }
}

.footer-item p a {
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
}

.footer-item p a:hover {
    color: #F59300 !important;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-item p a {
        font-size: 14px;
    }
}

@media only screen and (max-width: 991px) {
    .footer-item p a {
        font-size: 13px;
    }
}

.footer2 .footer-item p,
.footer2 .footer-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 400;
    transition: all 0.3s ease;
}

.footer2 .footer-item a:hover {
    color: #F59300 !important;
    padding-left: 8px;
}

.footer-item h5 {
    margin-bottom: 24px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer-item h5 {
        margin-bottom: 18px;
    }
}

@media only screen and (max-width: 767px) {
    .footer-item h5 {
        margin-bottom: 16px;
    }
}

/* ============================================
   FOOTER LINKS LIST
   ============================================ */
.footer-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-item ul li {
    display: block;
    margin-bottom: 10px;
}

.footer-item ul li a {
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    line-height: 2.42857;
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-item ul li a:hover {
    color: #F59300 !important;
    padding-left: 8px;
    text-decoration: none !important;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-item ul li a {
        font-size: 13px;
    }
}

@media only screen and (max-width: 991px) {
    .footer-item ul li a {
        font-size: 12px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-item ul li a {
        font-size: 13px;
        line-height: 1.4;
        line-height: 2.5;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer-item ul li a {
        line-height: 2.25;
    }
}

@media only screen and (max-width: 767px) {
    .footer-item ul li a {
        font-size: 14px;
        line-height: 1.4;
        line-height: 2.28571;
    }
}

/* ============================================
   NEWSLETTER SUBSCRIBE
   ============================================ */
.footer-subscribe {
    margin-top: 30px;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-subscribe {
        margin-bottom: 60px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer-subscribe {
        margin-bottom: 40px;
    }
}

.footer-subscribe h5 {
    margin-bottom: 12px;
    color: #F59300 !important;
    font-weight: 600;
}

.footer-subscribe p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.footer-subscribe .form-box {
    margin-top: 13px;
}

.footer-subscribe .form-control {
    border: 1px solid rgba(245, 147, 0, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1.4;
    line-height: 1.58333;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-subscribe .form-control:focus {
    border-color: #F59300;
    background: rgba(255, 255, 255, 0.15);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 147, 0, 0.1);
}

@media only screen and (max-width: 991px) {
    .footer-subscribe .form-control {
        font-size: 11px;
    }
}

.footer-subscribe .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe .form-control[type=email],
.footer-subscribe .form-control[type=text] {
    width: calc(100% - 8px - 131px);
    max-width: 237px;
    min-height: 43px;
}

.footer-subscribe .form-control[type=email]::placeholder,
.footer-subscribe .form-control[type=text]::placeholder{
    color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe .form-control[type=submit],
.footer-subscribe .form-control[type=button] {
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    width: 120px;
    height: 43px;
    text-align: center;
    padding: 0;
    background: linear-gradient(135deg, #F59300 0%, #FF8C00 100%) !important;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-subscribe .form-control[type=submit],
    .footer-subscribe .form-control[type=button] {
        font-size: 13px;
    }
}

@media only screen and (max-width: 991px) {
    .footer-subscribe .form-control[type=submit],
    .footer-subscribe .form-control[type=button] {
        font-size: 12px;
    }
}

.footer-subscribe .form-control[type=submit]:hover,
.footer-subscribe .form-control[type=button]:hover {
    background: linear-gradient(135deg, #E08000 0%, #E07000 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 147, 0, 0.4);
}

/* ============================================
   FOOTER WRAPPER (Contact Section)
   ============================================ */
.footer-wraper {
    background: transparent !important;
    border-top: 1px solid rgba(245, 147, 0, 0.2) !important;
    border-radius: 0px;
    margin-top: 40px !important;
    padding: 30px 0 !important;
    padding-top: 30px !important;
    padding-bottom: 40px !important;
}

@media only screen and (min-width: 1280px) and (max-width: 1439px) {
    .footer-wraper {
        padding: 30px 0;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-wraper {
        margin-top: 30px;
        padding: 25px 0;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer-wraper {
        margin-top: 30px;
        padding: 25px 0;
    }
}

@media only screen and (max-width: 767px) {
    .footer-wraper {
        padding: 20px 0;
        margin-top: 30px;
    }
}

@media only screen and (max-width: 991px) {
    .footer-wraper .row {
        margin-top: -30px;
    }
}

@media only screen and (max-width: 991px) {
    .footer-wraper .row > * {
        margin-top: 30px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-wraper .contact .icon svg,
    .footer-wraper .contact .icon img {
        width: 30px;
    }
}

.footer-wraper .contact .icon svg {
    fill: #F59300;
}

.footer-wraper .contact .content {
    padding-left: 12px;
}

html[dir=rtl] .footer-wraper .contact .content {
    padding-left: 0;
    padding-right: 12px;
}

.footer-wraper .contact .content span {
    color: #F59300 !important;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.footer-wraper .contact .content a {
    color: #fff !important;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
    font-family: var(--fontFamily2, "Inter", sans-serif);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-wraper .contact .content a:hover {
    color: #F59300 !important;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-wraper .contact .content a {
        font-size: 15px;
    }
}

@media only screen and (max-width: 991px) {
    .footer-wraper .contact .content a {
        font-size: 14px;
    }
}

.footer-wraper .fs-20 {
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none !important;
    margin-top: 5px;
    display: inline-block;
    color: #F59300 !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-wraper .fs-20:hover {
    color: #FFB700 !important;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-wraper .fs-20 {
        font-size: 15px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .footer-wraper .fs-20 {
        font-size: 14px;
    }
}

@media only screen and (max-width: 767px) {
    .footer-wraper .fs-20 {
        font-size: 13px;
    }
}

.footer-wraper h4 {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 700;
    color: #F59300 !important;
    text-transform: uppercase;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-wraper h4 {
        font-size: 15px;
    }
}

@media only screen and (max-width: 991px) {
    .footer-wraper h4 {
        font-size: 14px;
    }
}

/* ============================================
   SOCIAL MEDIA LINKS
   ============================================ */
.footer-wraper .social-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-wraper .social-list li:not(:last-child) {
    margin-right: 0;
}

.footer-wraper .social-list li a {
    --link: 40px;
    font-size: 16px;
    line-height: 1.4;
    border-radius: 8px;
    background-color: rgba(245, 147, 0, 0.1);
    display: inline-block;
    width: var(--link);
    height: var(--link);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-wraper .social-list li a {
        font-size: 14px;
        --link: 36px;
    }
}

@media only screen and (max-width: 991px) {
    .footer-wraper .social-list li a {
        font-size: 13px;
        --link: 34px;
    }
}

.footer-wraper .social-list li a i {
    color: #F59300;
    transition: all 0.3s ease;
}

.footer-wraper .social-list li a:hover {
    background-color: #F59300;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 147, 0, 0.3);
}

.footer-wraper .social-list li a:hover i {
    color: #fff;
}

/* ============================================
   COPYRIGHT SECTION
   ============================================ */
.footer-copyright {
    padding-top: 24px;
    padding-bottom: 24px;
    background: #1a1a1a;
    margin-top: 40px;
    border-top: 1px solid rgba(245, 147, 0, 0.15);
}

@media only screen and (max-width: 767px) {
    .footer-copyright {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

.footer-copyright p {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0;
}

.footer2 .footer-subscribe p{
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
}

@media only screen and (min-width: 992px) and (max-width: 1279px) {
    .footer-copyright p {
        font-size: 13px;
    }
}

@media only screen and (max-width: 991px) {
    .footer-copyright p {
        font-size: 12px;
    }
}

@media only screen and (max-width: 767px) {
    .footer-copyright p {
        line-height: 1.5;
    }
}

.footer-copyright p span,
.footer-copyright p a {
    color: #F59300 !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-copyright p a:hover {
    color: #FFB700 !important;
}

/* ============================================
   PAYMENT METHODS
   ============================================ */
.footer .payment-methods {
    max-width: 70px;
    width: 36px;
    background: #ffffff;
    border-radius: 6px;
    height: 32px;
    padding: 6px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer .payment-methods:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ============================================
   ADDITIONAL STYLES
   ============================================ */
.footer .social-list a .fa-youtube {
    color: #F59300;
}

.footer .social-list a:hover .fa-youtube {
    color: #ffffff;
}

/* Address text */
.footer-wraper span.d-block {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Current color override */
.footer .currentColor {
    color: #F59300 !important;
}

/* Ensure all footer text has proper color */
.footer * {
    transition: all 0.3s ease;
}

/* ============================================
   DASHBOARD INTEGRATION
   Footer margin and layout when in dashboard context
   ============================================ */
/* Footer is now inside main_content section which handles sidebar margin */
.dashboard_main_wrapper .main_content .footer,
.dashboard_main_wrapper .main_content footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Footer container inside dashboard - full width */
.dashboard_main_wrapper .main_content .footer .container,
.dashboard_main_wrapper .main_content footer .container {
    max-width: 100%;
    padding-left: 32px;
    padding-right: 32px;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .dashboard_main_wrapper .main_content .footer .container,
    .dashboard_main_wrapper .main_content footer .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}
