@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Reset any default body/html padding that might affect full width */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll from curve */
}

/* DEFENSIVE OVERRIDE: 
   Squash any legacy 'footer' tag styles coming from inline <style> blocks 
   in HTML files or generic stylesheets. */
footer.premium-footer-wrapper, 
.premium-footer-wrapper {
    background-color: transparent !important;
    margin-top: 100px !important;
    padding: 0 !important;
    border: none !important;
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important; /* Foolproof breakout for full width */
    max-width: 100vw !important;
    position: relative !important;
    z-index: 10 !important;
}

.premium-footer {
    width: 100vw;
    margin: 0;
    padding-top: 200px;
    background: #000;
    position: relative;
    border-top-left-radius: 50% 200px;
    border-top-right-radius: 50% 200px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    box-sizing: border-box;
}

/* Vertical Divider */
.premium-footer::after {
    content: "";
    position: absolute;
    top: 250px;
    bottom: 120px;
    left: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.footer-main-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
    max-width: 1200px; /* Adjusted to exact user spec */
    margin: auto;
    width: 100%;
    padding: 60px 20px;
}

.footer-left, .footer-right {
    flex: 1;
}

/* Left Section */
.footer-logo {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.footer-grid-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-nav-col h4 {
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-nav-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav-col ul li {
    margin-bottom: 12px;
}

.footer-nav-col ul li a {
    color: #ddd;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    position: relative;
}

.footer-nav-col ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-nav-col ul li a:hover::after {
    width: 100%;
}

.contact-info p {
    color: #ddd;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Right Section */
.footer-quote {
    max-width: 450px;
    margin-left: auto;
    text-align: left;
}

.footer-quote h2 {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

.footer-address {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin-bottom: 40px;
}

.social-icons {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
}

.social-icons a {
    color: #fff;
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); /* Subtle background ring */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons a:hover {
    color: #00d65b;
    background: rgba(255, 255, 255, 0.15); /* Highlight ring */
    transform: translateY(-5px) scale(1.1); /* Floating animation */
}

/* Scroll Top Button */
.scroll-top-btn {
    position: absolute;
    left: 50%;
    bottom: 100px;
    transform: translateX(-50%);
    background: transparent;
    border: none;
    color: #ff5722;
    cursor: pointer;
    font-size: 28px;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top-btn:hover {
    transform: translateX(-50%) translateY(-15px);
    color: #ff7043;
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 100px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1200px) {
    .premium-footer {
        padding: 100px 5% 40px;
    }
}

@media (max-width: 992px) {
    .premium-footer {
        border-radius: 100% 100% 0 0 / 80px 80px 0 0;
        margin-top: -80px;
        padding-top: 150px;
    }
    
    .premium-footer::after {
        display: none;
    }
    
    .footer-main-content {
        flex-direction: column;
        gap: 60px;
        text-align: center;
    }
    
    .footer-quote {
        margin: 0 auto;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-grid-info {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-quote h2 {
        font-size: 32px;
    }
    
    .footer-logo {
        margin-bottom: 20px;
    }
}

/* Premium Hover Transitions */
.footer-nav-col ul li a:hover {
    color: #00d65b;
    transform: translateX(8px);
    text-shadow: 0px 0px 8px rgba(0, 214, 91, 0.4);
}

/* Ensure body doesn't cause horizontal stretch issues from 100vw */
body {
    overflow-x: hidden;
}
