/* =========================================
   AUTHORIZED CENTERS
========================================= */

.academy-centers {
    width: 100%;
    padding: 70px 4% 80px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(100, 50, 180, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(0, 120, 255, 0.15),
            transparent 30%
        ),
        #030817;

    color: white;
}


/* =========================================
   HEADING
========================================= */

.centers-heading {
    text-align: center;
    margin-bottom: 50px;
}

.centers-heading > span {
    color: #a66cff;

    font-size: 17px;

    font-weight: 600;

    letter-spacing: 2px;
}

.centers-heading h1 {
    margin: 15px 0 12px;

    font-size: 48px;

    font-weight: 700;

    line-height: 1.15;
}

.centers-heading h1 b {
    background: linear-gradient(
        90deg,
        #b14cff,
        #357cff,
        #00bfff
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.centers-heading p {
    color: #c4c9dc;

    font-size: 17px;

    margin: 0;
}


/* =========================================
   GRID
========================================= */

.centers-grid {

    width: 100%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* =========================================
   CARD
========================================= */

.center-card {

    position: relative;

    min-height: 230px;

    padding: 15px 10px;

    display: flex;

    align-items: center;

    gap: 20px;

    border: 1px solid #1d3261;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(8, 20, 48, 0.95),
            rgba(3, 10, 27, 0.95)
        );

    overflow: hidden;

    transition: 0.35s ease;
}


/* Card glow */

.center-card::before {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    background: #713cff;

    filter: blur(100px);

    opacity: 0.08;

    left: -80px;
    bottom: -80px;
}


/* Hover */

.center-card:hover {

    transform: translateY(-6px);

    border-color: #704cff;

    box-shadow:
        0 15px 40px rgba(45, 80, 255, 0.15);
}


/* =========================================
   LOCATION BADGE
========================================= */

.place-badge {
    position: absolute;

    top: 18px;
    left: 20px;   /* right-ku badhila left */

    padding: 8px 15px;

    border: 1px solid #6539a9;

    border-radius: 30px;

    color: #b982ff;

    background: rgba(20, 15, 50, 0.8);

    font-size: 13px;

    font-weight: 600;

    z-index: 3;
}


/* =========================================
   IMAGE
========================================= */

.center-image {

    width: 165px;
    height: 150px;

    flex-shrink: 0;

    overflow: hidden;

    border-radius: 12px;

    transform: skewY(-5deg);

    border-bottom: 5px solid #6338ff;

    position: relative;
}

.center-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: skewY(5deg) scale(1.08);

    transition: 0.4s ease;
}




/* =========================================
   DETAILS
========================================= */

.center-details {

    flex: 1;

    position: relative;

    z-index: 2;
}

.center-details h2 {

    font-size: 18px;

    line-height: 24px;

    margin: 0 0 12px;

    color: #ffffff;
}

.center-details p {

    font-size: 13px;

    line-height: 21px;

    color: #c6ccdd;

    margin: 0 0 13px;
}

.center-details strong {

    display: block;

    color: white;

    font-size: 13px;

    margin-bottom: 18px;
}


/* =========================================
   MAP BUTTON
========================================= */

.map-btn {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 5px 8px;

    border-radius: 10px;

    text-decoration: none;

    color: white;

    font-size: 13px;

    font-weight: 600;

    background: linear-gradient(
        100deg,
        #a52cff,
        #147eea
    );

    box-shadow:
        0 8px 20px rgba(90, 40, 255, 0.2);

    transition: 0.3s ease;
}

.map-btn span {

    font-size: 18px;

    transition: 0.3s ease;
}

.map-btn:hover {

    color: white;

    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(70, 90, 255, 0.4);
}

.map-btn:hover span {

    transform: translateX(5px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .centers-grid {

        grid-template-columns: repeat(2, 1fr);
    }

    .centers-heading h1 {

        font-size: 40px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .academy-centers {

        padding: 50px 20px;
    }

    .centers-heading h1 {

        font-size: 30px;
    }

    .centers-heading p {

        font-size: 14px;

        line-height: 22px;
    }

    .centers-grid {

        grid-template-columns: 1fr;
    }

    .center-card {

        flex-direction: column;

        align-items: flex-start;

        padding: 25px;

        min-height: auto;
    }

    .center-image {

        width: 100%;

        height: 220px;
    }

    .place-badge {

        top: 20px;
        right: 20px;
    }
}
/* =====================================================
   AUTHORIZED CENTERS
===================================================== */

.authorized-centers-section {
    position: relative;
    overflow: hidden;

    padding: 100px 20px 110px;

    background:
        radial-gradient(
            circle at 12% 30%,
            rgba(0, 140, 255, 0.20),
            transparent 30%
        ),
        radial-gradient(
            circle at 88% 70%,
            rgba(120, 60, 255, 0.18),
            transparent 32%
        ),
        linear-gradient(
            125deg,
            #050b19 0%,
            #08162e 48%,
            #100d2c 100%
        );
}


/* =====================================================
   BLUEPRINT GRID
===================================================== */

.creative-grid {
    position: absolute;

    inset: 0;

    opacity: 0.22;

    background-image:
        linear-gradient(
            rgba(80, 160, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(80, 160, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    transform: perspective(600px)
               rotateX(55deg)
               scale(1.4);

    transform-origin: center bottom;

    animation: gridMove 20s linear infinite;

    pointer-events: none;
}


@keyframes gridMove {

    from {
        background-position: 0 0;
    }

    to {
        background-position: 55px 55px;
    }

}


/* =====================================================
   GLOWING ORBS
===================================================== */

.creative-orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;
}


.orb-one {
    width: 350px;
    height: 350px;

    left: -150px;
    top: 180px;

    background: rgba(0, 145, 255, 0.20);

    animation: orbFloatOne 9s ease-in-out infinite;
}


.orb-two {
    width: 400px;
    height: 400px;

    right: -170px;
    bottom: -100px;

    background: rgba(115, 60, 255, 0.18);

    animation: orbFloatTwo 11s ease-in-out infinite;
}


@keyframes orbFloatOne {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(70px, -40px);
    }

}


@keyframes orbFloatTwo {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-60px, -50px);
    }

}


/* =====================================================
   HEADING
===================================================== */

.authorized-heading {
    position: relative;

    z-index: 5;

    text-align: center;

    max-width: 900px;

    margin: 0 auto 52px;
}


.authorized-label {
    display: inline-block;

    margin-bottom: 14px;

    color: #65b8ff;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;
}


.authorized-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;
}


.authorized-heading h2 span {
    color: #57aaff;
}


/* =====================================================
   CONTENT CONTAINER
===================================================== */

.authorized-centers-section .academy-info-container {
    position: relative;

    z-index: 5;

    width: min(1200px, 100%);

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 26px;
}


/* =====================================================
   LEFT IMAGE
===================================================== */

.authorized-centers-section .academy-image-box {
    min-height: 700px;

    position: relative;

    overflow: hidden;

    border-radius: 26px;

    border: 1px solid rgba(255,255,255,0.14);

    box-shadow:
        0 30px 80px rgba(0,0,0,0.40);
}


.authorized-centers-section .academy-image-box img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.7s ease;
}


.authorized-centers-section
.academy-image-box:hover img {
    transform: scale(1.025);
}


/* Image cinematic overlay */

.authorized-centers-section
.academy-image-box::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0,0,0,0.35)
        );

    pointer-events: none;
}


/* =====================================================
   RIGHT
===================================================== */

.authorized-centers-section .academy-right-content {
    display: grid;

    grid-template-rows: 1fr 1fr;

    gap: 26px;

    min-height: 700px;
}


/* =====================================================
   GLASS CARDS
===================================================== */

.authorized-centers-section
.academy-map-box,

.authorized-centers-section
.academy-details-box {

    position: relative;

    overflow: hidden;

    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,0.115),
            rgba(255,255,255,0.045)
        );

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.14);

    box-shadow:
        0 25px 60px rgba(0,0,0,0.30);
}


/* Top light */

.authorized-centers-section
.academy-map-box::before,

.authorized-centers-section
.academy-details-box::before {

    content: "";

    position: absolute;

    top: 0;
    left: 10%;

    width: 80%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #4da9ff,
            transparent
        );
}


/* =====================================================
   MAP
===================================================== */

.authorized-centers-section
.academy-map-box {

    padding: 24px;
}


.authorized-centers-section
.section-heading {

    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 18px;
}


.authorized-centers-section
.heading-icon {

    width: 44px;
    height: 44px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: rgba(60,150,255,0.13);

    color: #65b8ff;

    border: 1px solid rgba(90,170,255,0.20);
}


.authorized-centers-section
.small-title {

    display: block;

    margin-bottom: 4px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #65b8ff;
}


.authorized-centers-section
.section-heading h3 {

    margin: 0;

    color: #ffffff;

    font-size: 24px;
}


.authorized-centers-section
.map-wrapper {

    height: calc(100% - 65px);

    min-height: 220px;

    overflow: hidden;

    border-radius: 17px;

    border: 1px solid rgba(255,255,255,0.10);
}


.authorized-centers-section
.map-wrapper iframe {

    width: 100%;
    height: 100%;

    border: 0;

    display: block;
}


/* =====================================================
   DETAILS
===================================================== */

.authorized-centers-section
.academy-details-box {

    padding: 27px;
}


.authorized-centers-section
.academy-details-box h3 {

    margin: 5px 0 10px;

    color: #ffffff;

    font-size: 27px;

    line-height: 1.15;
}


.authorized-centers-section
.academy-details-box h3 span {

    display: block;

    color: #55a9ff;
}


.authorized-centers-section
.academy-description {

    margin: 0 0 16px;

    color: rgba(255,255,255,0.62);

    font-size: 12px;

    line-height: 1.6;
}


/* =====================================================
   CONTACT
===================================================== */

.authorized-centers-section
.contact-detail {

    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 9px 11px;

    margin-bottom: 8px;

    border-radius: 12px;

    background: rgba(255,255,255,0.045);

    border: 1px solid rgba(255,255,255,0.065);

    transition: 0.3s ease;
}


.authorized-centers-section
.contact-detail:hover {

    transform: translateX(4px);

    background: rgba(55,145,255,0.10);

    border-color: rgba(70,160,255,0.20);
}


.authorized-centers-section
.contact-icon {

    width: 35px;
    height: 35px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: rgba(50,140,255,0.13);

    color: #69b9ff;

    font-size: 13px;
}


.authorized-centers-section
.contact-detail span {

    display: block;

    margin-bottom: 3px;

    color: rgba(255, 255, 255, 0.719);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.authorized-centers-section
.contact-detail p {

    margin: 0;

    color: rgba(255,255,255,0.82);

    font-size: 11px;

    line-height: 1.4;
}


.authorized-centers-section
.contact-detail a {

    color: #71baff;

    font-size: 13px;

    text-decoration: none;
}


/* =====================================================
   BUTTONS
===================================================== */

.authorized-centers-section
.academy-actions {

    display: flex;

    gap: 10px;

    margin-top: 13px;
}


.authorized-centers-section
.academy-btn,

.authorized-centers-section
.map-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 10px 17px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    transition: 0.3s ease;
}


.authorized-centers-section
.academy-btn {

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1478ff,
            #565cff
        );

    box-shadow:
        0 10px 25px rgba(30,115,255,0.25);
}


.authorized-centers-section
.academy-btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(30,115,255,0.35);
}


.authorized-centers-section
.map-btn {

    color: #78beff;

    background: rgba(255,255,255,0.06);

    border: 1px solid rgba(255,255,255,0.12);
}


.authorized-centers-section
.map-btn:hover {

    color: #ffffff;

    background: rgba(255,255,255,0.12);

    transform: translateY(-3px);
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 900px) {

    .authorized-centers-section
    .academy-info-container {

        grid-template-columns: 1fr;
    }

    .authorized-centers-section
    .academy-image-box {

        min-height: 500px;
    }

    .authorized-centers-section
    .academy-right-content {

        min-height: auto;

        grid-template-rows: auto auto;
    }

}


@media (max-width: 600px) {

    .authorized-centers-section {

        padding: 65px 15px 75px;
    }

    .authorized-heading {

        margin-bottom: 35px;
    }

    .authorized-heading h2 {

        font-size: 30px;
    }

    .authorized-label {

        font-size: 10px;

        letter-spacing: 2px;
    }

    .authorized-centers-section
    .academy-image-box {

        min-height: 400px;

        border-radius: 20px;
    }

    .authorized-centers-section
    .academy-map-box,

    .authorized-centers-section
    .academy-details-box {

        border-radius: 20px;
    }

    .authorized-centers-section
    .academy-actions {

        flex-direction: column;
    }

    .authorized-centers-section
    .academy-btn,

    .authorized-centers-section
    .map-btn {

        width: 100%;
    }

}