/* =========================================================
   PREMIUM FOOTER - UNIFIED DESIGN
   Flat luxury college style — no boxes, subtle dividers
   ========================================================= */

.premium-footer {
    background:
        radial-gradient(ellipse 80% 60% at 15% 0%, rgba(236,72,153,0.08) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 100%, rgba(22,163,74,0.07) 0%, transparent 50%),
        linear-gradient(165deg, #060E24 0%, #0B1F4D 42%, #102E6B 100%) !important;
    padding: 40px 24px 0 !important;
    color: #fff !important;
    position: relative !important;
    overflow: hidden !important;
    line-height: 1.5 !important;
}

/* Top accent bar — brand gradient */
.premium-footer::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: linear-gradient(90deg, #EC4899 0%, #F59E0B 50%, #16A34A 100%) !important;
    z-index: 2 !important;
}

/* Subtle texture overlay */
.premium-footer::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image:
        radial-gradient(circle at 8% 15%, rgba(255,255,255,0.025) 0%, transparent 28%),
        radial-gradient(circle at 92% 85%, rgba(255,255,255,0.018) 0%, transparent 22%) !important;
    pointer-events: none !important;
}

.footer-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 1.6fr 1fr 1fr 1.05fr 1.2fr !important;
    gap: 0 !important;
    align-items: start !important;
    padding: 4px 0 8px !important;
    position: relative !important;
    z-index: 1 !important;
}

.footer-column {
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    padding: 4px 22px !important;
    position: relative !important;
}

/* Subtle vertical dividers between columns — no boxes */
.footer-container > .footer-column:not(:first-child)::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 6px !important;
    bottom: 6px !important;
    width: 1px !important;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.12) 20%, rgba(255,255,255,0.12) 80%, transparent 100%) !important;
}

.footer-brand {
    min-width: 0 !important;
    padding-left: 0 !important;
}

.footer-brand::before {
    display: none !important;
}

/* Column 5: visitor counter + newsletter */
.footer-stats {
    min-width: 0 !important;
    padding-right: 0 !important;
}

/* ---------- Brand / Logo ---------- */
.footer-logo-swap {
    position: relative;
    display: inline-block;
    line-height: 0;
    margin-bottom: 14px !important;
    max-width: 120px;
}
.footer-logo-swap .footer-logo {
    max-width: 120px !important;
    margin-bottom: 0 !important;
    transition: transform 0.3s ease !important;
}
.footer-logo-swap .logo-a {
    animation: logoSwapA 4s ease-in-out infinite;
}
.footer-logo-swap .logo-b {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: auto;
    max-width: 120px !important;
    opacity: 0;
    animation: logoSwapB 4s ease-in-out infinite;
}
@keyframes logoSwapA {
    0%, 44% { opacity: 1; }
    50%, 94% { opacity: 0; }
    100% { opacity: 1; }
}
@keyframes logoSwapB {
    0%, 44% { opacity: 0; }
    50%, 94% { opacity: 1; }
    100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .footer-logo-swap .logo-a,
    .footer-logo-swap .logo-b { animation: none; }
    .footer-logo-swap .logo-b { opacity: 0; }
}

.footer-logo {
    max-width: 120px !important;
    height: auto !important;
    margin: 0 !important;
}

.footer-logo-swap:hover .logo-a {
    transform: scale(1.05) !important;
}
.footer-logo-swap:hover .logo-b {
    transform: translateX(-50%) scale(1.05) !important;
}

.footer-college-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.35 !important;
    margin: 0 0 14px !important;
    letter-spacing: 0.2px !important;
}

/* ---------- Contact rows (icon + text) ---------- */
.footer-contact-info {
    margin-bottom: 0 !important;
}

.footer-info-row,
.footer-address,
.footer-phone,
.footer-email {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    color: rgba(255,255,255,0.85) !important;
    line-height: 1.45 !important;
    font-size: 14px !important;
    margin: 0 0 8px !important;
}

.footer-info-row > i {
    flex: 0 0 auto !important;
    width: 16px !important;
    margin-top: 3px !important;
    text-align: center !important;
    font-size: 13px !important;
    color: #F5A623 !important;
}

.footer-info-row > span {
    display: block !important;
}

.footer-address strong {
    color: #fff !important;
    font-weight: 600 !important;
}

/* Phone chips - 2 per row premium grid */
.phone-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px !important;
}

.phone-list a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 10px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.14) !important;
    color: rgba(255,255,255,0.92) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.1px !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.25s ease !important;
}

.phone-list a:hover,
.phone-list a:focus {
    background: rgba(245,166,35,0.18) !important;
    border-color: rgba(245,166,35,0.5) !important;
    color: #fff !important;
}

.phone-list a:active {
    transform: translateY(0) !important;
}

/* Email */
.footer-email a {
    color: rgba(255,255,255,0.92) !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.footer-email a:hover {
    color: #F5A623 !important;
    text-decoration: underline !important;
}

/* ---------- Social icons (right side column) ---------- */
.footer-social {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin: 14px 0 0 !important;
    padding-top: 0 !important;
}

.social-icon {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.social-icon.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #166FE5 100%) !important;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 100%) !important;
}

.social-icon.youtube {
    background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%) !important;
}

.social-icon.linkedin {
    background: linear-gradient(135deg, #0A66C2 0%, #084D8C 100%) !important;
}

.social-icon.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35) !important;
}

/* ---------- Headings ---------- */
.footer-heading {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #F5A623 !important;
    line-height: 1.3 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    margin: 0 0 14px !important;
    position: relative !important;
    padding-bottom: 0 !important;
}

.footer-heading::after {
    content: none !important;
}

.footer-links + .footer-heading {
    margin-top: 18px !important;
}

/* ---------- Link lists ---------- */
.footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

.footer-links li {
    margin-bottom: 7px !important;
}

.footer-links li:last-child {
    margin-bottom: 0 !important;
}

.footer-links a {
    color: rgba(255,255,255,0.78) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    transition: color 0.25s ease, padding-left 0.25s ease !important;
    display: inline-block !important;
    position: relative !important;
}

/* kill legacy arrow + padding shift from style.css */
.footer-links a::before {
    content: none !important;
}

.footer-links a:hover {
    color: #fff !important;
    padding-left: 6px !important;
}

.footer-links a:hover::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    width: 3px !important;
    height: 3px !important;
    border-radius: 50% !important;
    background: #F5A623 !important;
    transform: translateY(-50%) !important;
}

/* ---------- Visitor counter + Newsletter subscribe ---------- */
.visitor-counter {
    margin: 0 !important;
    padding-top: 0 !important;
}

.visitor-counter .footer-heading {
    margin-top: 0 !important;
}

.footer-subscribe {
    margin-top: 14px !important;
    padding-top: 0 !important;
}

.subscribe-text {
    color: rgba(255,255,255,0.75) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    margin: 0 0 8px !important;
}

.subscribe-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 9px !important;
}

/* input wrapper with leading icon */
.subscribe-field {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
}

.subscribe-field > i {
    position: absolute !important;
    left: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 13px !important;
    color: rgba(255,255,255,0.55) !important;
    pointer-events: none !important;
    transition: color 0.25s ease !important;
    z-index: 1 !important;
}

.subscribe-field:focus-within > i {
    color: #F5A623 !important;
}

.subscribe-input {
    width: 100% !important;
    min-width: 0 !important;
    padding: 13px 14px 13px 40px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    line-height: 1.3 !important;
    color: #fff !important;
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 10px !important;
    outline: none !important;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease !important;
}

.subscribe-input::placeholder {
    color: rgba(255,255,255,0.5) !important;
}

.subscribe-input:focus {
    border-color: #F5A623 !important;
    background: rgba(255,255,255,0.12) !important;
    box-shadow: 0 0 0 3px rgba(245,166,35,0.18) !important;
}

.subscribe-btn {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 13px 16px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    text-transform: uppercase !important;
    letter-spacing: 1.2px !important;
    color: #0B1F4D !important;
    background: linear-gradient(135deg, #F5A623 0%, #F7C948 100%) !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    box-shadow: 0 4px 14px rgba(245,166,35,0.25) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}

.subscribe-btn > i,
.subscribe-btn > span {
    position: relative !important;
    z-index: 1 !important;
}

.subscribe-btn > i {
    font-size: 12px !important;
}

/* shine sweep on hover */
.subscribe-btn::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 55% !important;
    height: 100% !important;
    background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.38) 50%, transparent 100%) !important;
    transform: translateX(-160%) !important;
    transition: transform 0.6s ease !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.subscribe-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(245,166,35,0.38) !important;
    filter: brightness(1.06) !important;
}

.subscribe-btn:hover::after {
    transform: translateX(260%) !important;
}

.subscribe-btn:active {
    transform: translateY(0) !important;
}

.subscribe-btn:disabled {
    opacity: 0.85 !important;
    cursor: progress !important;
    transform: none !important;
    box-shadow: 0 4px 12px rgba(255,102,0,0.2) !important;
}

.subscribe-btn.is-loading i {
    animation: subscribeSpin 0.8s linear infinite !important;
}

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

/* honeypot - hidden from real users & screen readers */
.subscribe-hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.subscribe-msg {
    margin: 8px 0 0 !important;
    font-size: 12.5px !important;
    line-height: 1.4 !important;
    min-height: 0 !important;
    transition: opacity 0.3s ease !important;
}

.subscribe-msg:empty {
    display: none !important;
}

.subscribe-msg.is-success {
    color: #7ce7a6 !important;
}

.subscribe-msg.is-error {
    color: #ffb4a2 !important;
}

.visitor-stats {
    color: rgba(255,255,255,0.85) !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.visitor-stats:last-child {
    margin-bottom: 0 !important;
}

.visitor-stats i {
    color: #F5A623 !important;
    width: 15px !important;
    text-align: center !important;
}

/* ---------- Bottom bar ---------- */
.footer-bottom {
    max-width: 1200px !important;
    margin: 26px auto 0 !important;
    padding: 18px 0 20px !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    position: relative !important;
    z-index: 1 !important;
}

.footer-bottom-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px 24px !important;
}

.copyright-left {
    color: rgba(255,255,255,0.55) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

.footer-bottom-links {
    display: flex !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.65) !important;
    text-decoration: none !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding: 2px 10px !important;
    border-radius: 6px !important;
    transition: color 0.25s ease, background 0.25s ease !important;
}

.footer-bottom-links a + a::before {
    content: "" !important;
    display: inline-block !important;
    width: 3px !important;
    height: 3px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.3) !important;
    margin-right: 8px !important;
    vertical-align: middle !important;
}

.footer-bottom-links a:hover {
    color: #F5A623 !important;
}

.developer-credit {
    color: rgba(255,255,255,0.5) !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
}

.developer-credit a {
    color: #F5A623 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.25s ease !important;
}

.developer-credit a:hover {
    color: #fff !important;
}

/* Keyboard focus */
.premium-footer a:focus-visible {
    outline: 2px solid #F5A623 !important;
    outline-offset: 3px !important;
    border-radius: 4px !important;
}

/* Remove old card styles - override them */
.footer-card {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    margin: 0 !important;
}

.bottom-box {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ---------- Responsive ---------- */
@media(max-width:1200px){
    .footer-container{
        grid-template-columns: 1.4fr 1fr 1fr 1.1fr !important;
    }

    .footer-brand{
        grid-column: 1 / -1 !important;
        padding-bottom: 18px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        margin-bottom: 8px !important;
    }

    .footer-brand::before{
        display: none !important;
    }

    .footer-container > .footer-column:nth-child(2)::before{
        display: none !important;
    }

    .footer-brand .footer-contact-info{
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
        gap: 4px 28px !important;
    }
}

@media(max-width:992px){
    .footer-container{
        grid-template-columns: 1fr 1fr !important;
        gap: 0 !important;
    }

    .footer-brand,
    .footer-stats{
        grid-column: 1 / -1 !important;
    }

    .footer-brand{
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        margin-bottom: 4px !important;
    }

    .footer-container > .footer-column:nth-child(2)::before,
    .footer-container > .footer-column:nth-child(4)::before{
        display: none !important;
    }

    .footer-stats{
        border-top: 1px solid rgba(255,255,255,0.1) !important;
        margin-top: 8px !important;
        padding-top: 18px !important;
    }
}

@media(max-width:768px){
    .premium-footer{
        padding: 28px 16px 0 !important;
    }

    .footer-container{
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    .footer-column{
        padding: 14px 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    }

    .footer-container > .footer-column:not(:first-child)::before{
        display: none !important;
    }

    .footer-container > .footer-column:last-child{
        border-bottom: none !important;
    }

    .footer-brand{
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
        padding-top: 0 !important;
    }

    .footer-stats{
        border-top: none !important;
        margin-top: 0 !important;
        padding-top: 14px !important;
    }

    .footer-bottom{
        margin-top: 8px !important;
        padding: 16px 0 18px !important;
    }

    .footer-bottom-container{
        flex-direction: column !important;
        text-align: center !important;
        gap: 10px !important;
    }

    .footer-bottom-links{
        gap: 4px !important;
        justify-content: center !important;
        order: -1 !important;
    }

    /* phones/tablets: 16px stops iOS focus zoom */
    .subscribe-input{
        font-size: 16px !important;
    }
}

@media(max-width:480px){
    .premium-footer{
        padding: 22px 14px 0 !important;
    }

    .footer-heading{
        font-size: 12.5px !important;
        letter-spacing: 1.2px !important;
    }

    .footer-links a{
        font-size: 13.5px !important;
    }

    .footer-info-row,
    .footer-address,
    .footer-phone,
    .footer-email{
        font-size: 13px !important;
    }

    .phone-list a{
        font-size: 12.5px !important;
        padding: 6px 8px !important;
    }

    .footer-college-name{
        font-size: 16.5px !important;
    }

    .social-icon{
        width: 34px !important;
        height: 34px !important;
        font-size: 14px !important;
    }

    .copyright-left,
    .footer-bottom-links a,
    .developer-credit{
        font-size: 12px !important;
    }

    .subscribe-input{
        font-size: 16px !important;
        padding: 12px 12px 12px 40px !important;
    }
}
