/* ========================================
   FOOTER - REDESIGNED
   ======================================== */

/* ========================================
   PRE-FOOTER FEEDBACK BANNER
   ======================================== */

.feedback-banner {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue));
    padding: 1.25rem 2rem;
    margin-top: 4rem;
    margin-bottom: 4px;
}

.feedback-banner-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.feedback-banner-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
}

.feedback-banner-text > i {
    font-size: 1.5rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.feedback-banner-text strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.feedback-banner-text span {
    font-size: 0.875rem;
    opacity: 0.9;
    line-height: 1.4;
}

.feedback-banner-btn {
    background: var(--primary-orange);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    padding: 0.625rem 1.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feedback-banner-btn:hover {
    background: white;
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Hide banner on the feedback page itself */
body.page-feedback .feedback-banner {
    display: none;
}

/* ========================================
   FOOTER - REDESIGNED
   ======================================== */

.footer {
    background: var(--primary-blue);
    color: white;
    padding: 3rem 2rem 0;
    margin-top: 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Left Section: Logo & Tagline */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    max-width: 280px;
    height: auto;
     /* Makes logo white */
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 400px;
}

/* Middle Section: Quick Links */
.footer-links h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-orange);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

/* Right Section: Contact & Social */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--primary-orange);
}

/* Social Media */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none !important;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-icon:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(247, 148, 30, 0.4);
}

/* Contact Email */
.footer-email {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-label i {
    color: var(--primary-orange);
}

.email-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-link {
    color: white;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.email-link:hover {
    color: var(--primary-orange);
    text-decoration: underline;
}

/* Copy Button */
.copy-btn {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    cursor: pointer;
    position: relative;
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

.copy-btn i {
    transition: color 0.2s ease;
}

/* Tooltip */
.copy-tooltip {
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.copy-btn:hover .copy-tooltip {
    opacity: 1;
}

/* Bottom Bar */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 1.5rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablet */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
    
    .footer-logo {
        max-width: 240px;
    }
}

/* Tablet - Banner */
@media (max-width: 1024px) {
    .feedback-banner {
        padding: 1.25rem 1.5rem;
    }
}

/* Mobile - Banner */
@media (max-width: 768px) {
    .feedback-banner {
        padding: 1.25rem 1.5rem;
        margin-top: 3rem;
    }

    .feedback-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .feedback-banner-text {
        flex-direction: column;
        gap: 0.625rem;
    }

    .feedback-banner-text > i {
        font-size: 1.75rem;
    }

    .feedback-banner-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .feedback-banner {
        padding: 1rem;
    }

    .feedback-banner-text strong {
        font-size: 0.9375rem;
    }

    .feedback-banner-text span {
        font-size: 0.8125rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 1.5rem 0;
        margin-top: 0;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-brand {
        text-align: center;
        align-items: center;
    }
    
    .footer-logo {
        max-width: 220px;
    }
    
    .footer-tagline {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .footer-links,
    .footer-contact {
        text-align: center;
    }
    
    .footer-links h3,
    .footer-contact h3 {
        font-size: 1rem;
    }
    
    .footer-links ul {
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-email {
        align-items: center;
    }
    
    .email-wrapper {
        flex-direction: column;
        gap: 0.625rem;
    }
    
    .footer-bottom {
        padding: 1.25rem 0;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 1rem 0;
    }
    
    .footer-container {
        gap: 1.75rem;
    }
    
    .footer-logo {
        max-width: 180px;
    }
    
    .footer-tagline {
        font-size: 0.8rem;
    }
    
    .social-icons {
        gap: 0.625rem;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .footer-links ul {
        gap: 0.5rem;
    }
    
    .footer-links ul li a {
        font-size: 0.85rem;
    }
}

#cta-section {
    scroll-margin-top: 180px;
}