/* ================================
   FOOTER STYLES
================================ */

.tech-footer {
    background: linear-gradient(135deg, #033843, #065f71);
    color: #f0f9ff;
    padding: 60px 20px 30px;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand h2 {
  font-size: 24px;
    margin-bottom: 15px;
    color: #07ffe6;
}

.footer-brand h2 a {
    color: inherit;
    text-decoration: none;
}

.footer-brand .footer-logo-groww {
    color: #07ffe6;
}

.footer-brand .footer-logo-techpro {
    color: #ffffff;
}

.footer-brand p {
    color: #b0d4e3;
    line-height: 1.7;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-socials a {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 14px;
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    transition: background 0.3s;
    text-decoration: none;
}

.footer-socials a:hover {
    background: #2775f4;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 18px;
    color: #07ffe6;
}

.footer-column a {
    display: block;
    color: #c4e3f3;
    margin-bottom: 12px;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #fff;
}

.footer-column {
    padding: 0px 10px;
}

.footer-column a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 40px;
    padding-top: 20px;
    font-size: 14px;
    color: #a5d1e3;
}

/* ================================
   FOOTER RESPONSIVE STYLES
================================ */

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .footer-brand {
        width: 30%;
    }
    
    .footer-links-grid.flex-layout {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: space-between;
    }
    
    .footer-links-grid.flex-layout .footer-column {
        flex: 1;
        min-width: 150px;
        max-width: 200px;
    }
    
    .footer-top.row-layout {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-brand.row-layout {
        width: 40%;
    }
    
    .footer-links-grid.row-layout {
        width: 55%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-column {
        margin-bottom: 20px;
    }
    
    .footer-column:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .tech-footer {
        width: 100% !important;
        max-width: 100vw !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .footer-top {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .tech-footer {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* ================================
   FOOTER DARK MODE STYLES
================================ */

.dark-mode .tech-footer {
    background: linear-gradient(135deg, #022830, #044653);
}

/* ================================
   FOOTER RTL STYLES
================================ */

.rtl .tech-footer {
    direction: rtl;
}

.rtl .footer-column {
    text-align: right;
}

.rtl .footer-column a {
    text-align: right;
}
