/* =========================================================
   DDM COLLEGE OF PHARMACY
   PREMIUM FOOTER
   ========================================================= */

.premium-footer {
    position: relative;
    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(8, 127, 140, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 80%,
            rgba(201, 162, 39, 0.12),
            transparent 28%
        ),
        #071a2b;

    color: #ffffff;
    overflow: hidden;
}


/* Decorative glow */

.premium-footer::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    left: -220px;
    top: 80px;

    background: rgba(8, 127, 140, 0.10);
    filter: blur(80px);
    border-radius: 50%;

    pointer-events: none;
}


.premium-footer::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -180px;
    bottom: 0;

    background: rgba(201, 162, 39, 0.08);
    filter: blur(90px);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   MAIN FOOTER
   ========================================================= */

.footer-main {
    position: relative;
    z-index: 2;

    padding: 78px 6% 64px;
}


.footer-grid {
    width: min(1400px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns:
        1.45fr
        0.9fr
        1fr
        1.2fr;

    gap: 60px;
}


/* =========================================================
   BRAND
   ========================================================= */

.footer-brand-column {
    max-width: 430px;
}


.footer-logo-wrap {
    width: 82px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.035)
        );

    border: 1px solid rgba(255, 255, 255, 0.14);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}


.footer-logo {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
    border-radius: 50%;
}


.footer-brand-name {
    font-family: "Cormorant Garamond", serif;

    font-size: clamp(25px, 2.1vw, 34px);
    line-height: 1.1;

    font-weight: 700;

    color: #ffffff;

    margin-bottom: 14px;
}


.footer-brand-name span {
    color: #c9a227;
}


.footer-tagline {
    max-width: 410px;

    margin: 0;

    font-family: "Inter", sans-serif;

    color: rgba(255, 255, 255, 0.68);

    font-size: 14px;
    line-height: 1.9;
}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

.footer-socials {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: 27px;
}


.soc-btn {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;

    background: rgba(255, 255, 255, 0.055);

    border: 1px solid rgba(255, 255, 255, 0.11);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}


.soc-btn:hover {
    transform: translateY(-5px);

    color: #071a2b;

    background: #c9a227;

    border-color: #c9a227;

    box-shadow:
        0 12px 28px rgba(201, 162, 39, 0.25);
}


/* =========================================================
   FOOTER HEADINGS
   ========================================================= */

.footer-h {
    position: relative;

    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 23px;

    font-family: "Cormorant Garamond", serif;

    font-size: 25px;
    line-height: 1;

    font-weight: 700;

    color: #ffffff;
}


.footer-heading-line {
    width: 28px;
    height: 2px;

    display: inline-block;

    background: #c9a227;

    border-radius: 20px;

    box-shadow:
        0 0 12px rgba(201, 162, 39, 0.3);
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.footer-links {
    list-style: none;

    padding: 0;
    margin: 0;
}


.footer-links li {
    margin-bottom: 13px;
}


.footer-links a {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    color: rgba(255, 255, 255, 0.65);

    text-decoration: none;

    font-family: "Inter", sans-serif;

    font-size: 13.5px;
    line-height: 1.5;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-links a:hover {
    color: #c9a227;

    transform: translateX(5px);
}


.footer-arrow {
    color: #087f8c;

    font-size: 16px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-links a:hover .footer-arrow {
    color: #c9a227;

    transform: translateX(3px);
}


/* =========================================================
   CONTACT
   ========================================================= */

.footer-contact-column {
    max-width: 340px;
}


.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-bottom: 18px;
}


.footer-contact-icon {
    flex: 0 0 37px;

    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #c9a227;

    background: rgba(201, 162, 39, 0.08);

    border: 1px solid rgba(201, 162, 39, 0.16);

    font-size: 13px;
}


.footer-contact-item span,
.footer-contact-item a {
    padding-top: 7px;

    color: rgba(255, 255, 255, 0.68);

    text-decoration: none;

    font-family: "Inter", sans-serif;

    font-size: 13px;
    line-height: 1.7;

    transition: color 0.25s ease;
}


.footer-contact-item a:hover {
    color: #c9a227;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.footer-bottom-wrap {
    position: relative;
    z-index: 2;

    border-top: 1px solid rgba(255, 255, 255, 0.09);

    background: rgba(0, 0, 0, 0.12);
}


.footer-bottom {
    width: min(1400px, 88%);
    margin: 0 auto;

    min-height: 82px;

    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;

    align-items: center;

    gap: 25px;
}


.footer-copy {
    color: rgba(255, 255, 255, 0.48);

    font-family: "Inter", sans-serif;

    font-size: 11.5px;
    line-height: 1.6;
}


.footer-badges {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    flex-wrap: wrap;
}


.footer-badge {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 7px 10px;

    border-radius: 8px;

    color: rgba(255, 255, 255, 0.62);

    background: rgba(255, 255, 255, 0.035);

    border: 1px solid rgba(255, 255, 255, 0.08);

    font-family: "Inter", sans-serif;

    font-size: 10px;

    white-space: nowrap;
}


.footer-badge i {
    color: #c9a227;
    font-size: 10px;
}


.footer-credit {
    text-align: right;

    color: rgba(255, 255, 255, 0.45);

    font-family: "Inter", sans-serif;

    font-size: 11.5px;
}


.footer-credit i {
    color: #c9a227;

    margin: 0 3px;
}


.footer-credit span {
    color: #c9a227;

    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .footer-grid {
        grid-template-columns:
            1.4fr
            1fr
            1fr;

        gap: 45px;
    }

    .footer-brand-column {
        grid-column: span 3;
        max-width: 600px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        padding: 20px 0;
        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }

    .footer-credit {
        text-align: center;
    }

}


@media (max-width: 760px) {

    .footer-main {
        padding: 58px 6% 45px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;

        gap: 38px 25px;
    }

    .footer-brand-column {
        grid-column: span 2;
    }

    .footer-contact-column {
        max-width: none;
    }

    .footer-bottom {
        width: 88%;
    }

}


@media (max-width: 520px) {

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand-column {
        grid-column: span 1;
    }

    .footer-main {
        padding: 48px 6% 38px;
    }

    .footer-logo-wrap {
        width: 76px;
        height: 76px;
    }

    .footer-logo {
        width: 62px;
        height: 62px;
    }

    .footer-brand-name {
        font-size: 28px;
    }

    .footer-socials {
        gap: 8px;
    }

    .soc-btn {
        width: 39px;
        height: 39px;
    }

    .footer-bottom {
        gap: 16px;
    }

}


/* =========================================================
   DARK MODE COMPATIBILITY
   ========================================================= */

[data-theme="dark"] .premium-footer {
    background:
        radial-gradient(
            circle at 8% 15%,
            rgba(8, 127, 140, 0.20),
            transparent 30%
        ),
        radial-gradient(
            circle at 92% 80%,
            rgba(201, 162, 39, 0.14),
            transparent 28%
        ),
        #04111d;
}