/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Footer Container */
.footer-container {
    width: 100%;
    background-color: #171717;
    background-image: url('../images/Footer.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.footer-main {
    display: flex;
    flex-direction: column;
    padding-top: 64px;
    width: 100%;
    overflow: hidden;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 100%;
    padding: 0 16px 16px 16px;
}

/* Newsletter Section */
.newsletter-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.newsletter-title {
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    text-align: center;
}

.newsletter-title-break {
    display: none;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.newsletter-input-group {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 16px;
    width: 100%;
    height: 48px;
    border: 1px solid #78716c;
    border-radius: 40px;
    background: transparent;
}

.input-icon {
    flex-shrink: 0;
    margin-right: 12px;
}

.newsletter-input {
    flex: 1;
    color: white;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: #676767;
}

.newsletter-input-with-icon {
    margin-left: 0;
}

.newsletter-button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    width: 100%;
    height: 48px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    background-color: #fde047;
    color: #18181b;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.newsletter-button:hover {
    background-color: #facc15;
}

.newsletter-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.button-text,
.button-loading,
.button-success {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.button-loading,
.button-success {
    display: none;
}

.newsletter-button.loading .button-text {
    display: none;
}

.newsletter-button.loading .button-loading {
    display: flex;
}

.newsletter-button.success .button-text,
.newsletter-button.success .button-loading {
    display: none;
}

.newsletter-button.success .button-success {
    display: flex;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

.spinner-circle {
    opacity: 0.25;
}

.spinner-path {
    opacity: 0.75;
}

.success-icon {
    width: 16px;
    height: 16px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Footer Divider */
.footer-divider {
    margin-top: 48px;
    height: 0;
    border: none;
    border-top: 1px solid #4d4d4d;
    display: none;
}

/* Main Footer Content */
.footer-main-content {
    margin-top: 64px;
    width: 100%;
}

.footer-grid {
    display: flex;
    gap: 20px;
    flex-direction: column-reverse;
}

/* Logo Section */
.footer-logo-section {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.desktop-logo-section {
    display: none;
}

.mobile-logo-section {
    display: flex;
    align-items: flex-start;
}

.footer-logo {
    object-fit: contain;
    max-width: 100%;
    aspect-ratio: 3.61;
    width: 155px;
    margin-bottom: 24px;
}

.email-copy-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 296px;
    height: 52px;
    padding: 16px 24px;
    cursor: pointer;
    border: 1px dashed #1f5878;
    background: rgba(23, 23, 23, 0.6);
    border-radius: 40px;
    transition: all 0.2s ease;
    group: hover;
}

.email-copy-container:hover {
    color: #67e8f9;
}

.email-copy-container:hover .email-link {
    color: #67e8f9;
}

.email-copy-container:hover .copy-icon,
.email-copy-container:hover .copy-check-icon {
    color: #67e8f9;
}

.email-link {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.copy-icon,
.copy-check-icon {
    width: 19px;
    height: 19px;
    color: white;
    flex-shrink: 0;
    transition: color 0.2s ease;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 8px 12px;
    font-size: 12px;
    color: white;
    background-color: #374151;
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
}

.copy-tooltip .tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #374151;
}

.email-copy-container:hover .copy-tooltip {
    opacity: 1;
}

/* Navigation */
.footer-nav {
    flex: 1;
    width: 100%;
    display: flex;
}

.footer-nav-column {
    width: 100%;
    margin-bottom: 32px;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.footer-nav-link {
    color: #cacaca;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-nav-link:hover {
    color: white;
}

.contact-info {
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* Social Media Section */
.social-media-section {
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
    margin-top: 80px;
}

.social-link {
    color: white;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #d1d5db;
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 80px;
    margin-top: 40px;
    width: 100%;
    font-size: 12px;
    font-weight: 600;
    color: white;
    background-color: #18181b;
}

.copyright {
    margin: 0;
    color: white;
    font-size: 12px;
    
}

.legal-links {
    text-align: right;
}

.legal-link {
    color: white;
    text-decoration: underline;
    transition: color 0.2s ease;
    font-size: 12px;
}

.legal-link:hover {
    color: #d1d5db;
}

.legal-separator {
    margin: 0 8px;
}

/* Success Toast */
.success-toast {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 50;
    background-color: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.success-toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 20px;
    height: 20px;
    color: white;
}

.toast-text {
    font-size: 14px;
    font-weight: 500;
}

.newsletter-input-group input{
    border: none!important;
}

/* Responsive Design */

/* Small screens */
@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
        gap: 14px;
    }
    
    .newsletter-input-group {
        width: 247px;
        padding: 14px 24px;
    }
    
    .newsletter-button {
        width: 144px;
        font-size: 18px;
    }
    
    .newsletter-title {
        font-size: 24px;
        text-align: left;
    }
    
    .newsletter-title-break {
        display: block;
    }
    
    .social-media-section {
        gap: 40px;
    }
}

/* Medium screens */
@media (min-width: 768px) {
    .footer-content {
        padding: 0 40px 16px 40px;
    }
    
    .footer-bottom {
        padding: 10px 20px;
    }
    
    .footer-nav-list {
        text-align: left;
    }
}

/* Large screens */
@media (min-width: 900px) {
    .footer-grid {
        flex-direction: row;
        gap: 20px;
    }
    
    .desktop-logo-section {
        display: flex;
        width: 29%;
        align-items: flex-start;
    }
    
    .mobile-logo-section {
        display: none;
    }
    
    .footer-nav {
        margin-left: 20px;
        width: 71%;
    }
    
    .footer-nav-column {
        width: 33.333%;
        margin-bottom: 0;
        display: inline-block;
        vertical-align: top;
    }
    
    .footer-divider {
        display: block;
    }
}

/* Extra large screens */
@media (min-width: 1024px) {
    .newsletter-section {
        flex-direction: row;
        align-items: center;
        gap: 40px;
    }
    
    .newsletter-title {
        flex: 1;
        text-align: left;
    }
    
    .newsletter-form {
        width: auto;
        flex-shrink: 0;
    }
}

@media (min-width: 1280px) {
    .footer-content {
        padding: 0 88px 16px 88px;
    }
}

@media (min-width: 1536px) {
    .footer-content {
        padding: 0 88px 16px 88px;
    }
}



@media (max-width: 768px) {
    .footer-nav{
        flex-direction: column;
    }
    .mobile-logo-section{
        align-items: center;
    }
    .newsletter-section{
        flex-direction: column;
        align-items: center;
    }
    .footer-grid{
        flex-direction: column;
    }
}



ul li:before{
    display: none!important;
}