/* Footer Styles */
.main-footer {
    background-color: var(--dark-blue);
    color: var(--white);
    position: relative;
    margin-top: var(--section-padding);
}

.wave-top {
    width: 100%;
    height: 120px;
    display: block;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-2xl) 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5rem;
    align-items: start;
}

.footer-brand {
    text-align: left;
    animation: fadeInUp 0.8s ease-out both;
}

.footer-contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    background: none;
    border: none;
    animation: fadeInUp 0.8s ease-out both;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

.contact-item:hover {
    background: none;
    border: none;
    transform: none;
}

.contact-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 8px;
    color: var(--white);
}

.contact-icon svg {
    width: 16px;
    height: 16px;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--light-blue);
    line-height: 1.6;
    margin: 0;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.footer-description {
    color: var(--light-blue);
    line-height: 1.6;
    font-size: 1rem;
}

.footer-quick-links {
    display: block;
    text-align: center;
}

.quick-links-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links-list li {
    margin-bottom: 0.5rem;
}

.quick-links-list a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.quick-links-list a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 1.5rem;
    color: var(--light-blue);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .footer-content {
        padding: 2.5rem 2rem;
        gap: 2rem;
    }
    
    .footer-contact-grid {
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .footer-title {
        font-size: 1.6rem;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .contact-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Responsive Design - Mobile Portrait */
@media (max-width: 768px) {
    .footer-content {
        padding: var(--space-2xl) 2rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-contact-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0;
        background: none;
        border: none;
    }
    
    .contact-item:hover {
        background: none;
        border: none;
        transform: none;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
    }
    
    .contact-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .contact-label {
        display: block;
        font-size: 0.8rem;
    }
    
    .contact-value {
        font-size: 0.85rem;
    }
    
    .footer-quick-links {
        display: block;
        text-align: center;
        margin: 0 auto;
    }
    
    .quick-links-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .quick-links-list a {
        font-size: 0.85rem;
    }
    
    .wave-top {
        height: 80px;
    }
    
    .footer-title {
        font-size: 1.4rem;
    }
    
    .footer-description {
        font-size: 0.95rem;
    }
}

/* Responsive Design - Small Mobile */
@media (max-width: 480px) {
    .footer-content {
        padding: var(--space-lg) var(--space-md);
        gap: var(--space-lg);
    }
    
    .wave-top {
        height: 60px;
    }
    
    .footer-title {
        font-size: 1.2rem;
    }
    
    .footer-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .contact-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }
    
    .contact-icon {
        width: 32px;
        height: 32px;
    }
    
    .contact-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .contact-label {
        font-size: 0.75rem;
    }
    
    .contact-value {
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding: var(--space-md);
        font-size: 0.8rem;
    }
}

/* Responsive Design - Extra Small Mobile */
@media (max-width: 375px) {
    .footer-content {
        padding: 1.25rem 0.75rem;
        gap: 1.25rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
    }
    
    .footer-description {
        font-size: 0.85rem;
    }
    
    .contact-item {
        padding: 0.75rem;
    }
    
    .contact-icon {
        width: 30px;
        height: 30px;
    }
    
    .contact-icon svg {
        width: 15px;
        height: 15px;
    }
}

/* Responsive Design - Landscape */
@media (orientation: landscape) and (max-height: 600px) {
    .footer-content {
        padding: 1rem 2rem;
        gap: 0.75rem;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: start;
    }
    
    .wave-top {
        height: 35px;
    }
    
    .footer-brand {
        display: block;
        text-align: left;
        margin-bottom: 0.5rem;
    }
    
    .footer-title {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .footer-description {
        font-size: 0.75rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }
    
    .footer-contact-grid {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0;
        background: none;
        border: none;
        animation: none;
    }
    
    .contact-item:hover {
        background: none;
        border: none;
        transform: none;
    }
    
    .contact-icon {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }
    
    .contact-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .contact-details {
        flex: 1;
    }
    
    .contact-label {
        display: none;
    }
    
    .contact-value {
        font-size: 0.7rem;
        line-height: 1.2;
        color: var(--light-blue);
        margin: 0;
    }
    
    .contact-item:first-child .contact-value {
        white-space: nowrap;
    }
    
    .footer-quick-links {
        display: block;
        text-align: center;
    }
    
    .quick-links-title {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--primary-blue);
        margin-bottom: 0.5rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .quick-links-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .quick-links-list li {
        margin-bottom: 0.25rem;
    }
    
    .quick-links-list a {
        color: var(--light-blue);
        text-decoration: none;
        font-size: 0.7rem;
        transition: var(--transition-smooth);
    }
    
    .quick-links-list a:hover {
        color: var(--primary-blue);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--dark-blue));
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.6);
    transform: translateY(-3px);
}

.back-to-top:active {
    transform: translateY(-1px);
}

.back-to-top-icon {
    width: 1.5rem;
    height: 1.5rem;
    transition: var(--transition-smooth);
}

.back-to-top:hover .back-to-top-icon {
    transform: translateY(-2px);
}

/* Responsive Design - Back to Top Button */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 3rem;
        height: 3rem;
    }
    
    .back-to-top-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 2.75rem;
        height: 2.75rem;
    }
    
    .back-to-top-icon {
        width: 1.125rem;
        height: 1.125rem;
    }
}
