/* =========================================================
   GLOBEX INFOTECH
   FRANCHISE AFFILIATION PAGE
   CORPORATE BLUE + BLACK THEME
   ========================================================= */


/* =========================================================
   PAGE CONTAINER
   ========================================================= */

.page-card {
    width: min(1180px, calc(100% - 32px));
    margin: 42px auto 60px;
    padding: 0 0 32px;

    background: #ffffff;

    border: 1px solid #dfe6f2;
    border-radius: 22px;

    box-shadow:
        0 20px 55px rgba(15, 35, 87, 0.08),
        0 5px 18px rgba(0, 0, 0, 0.04);

    overflow: hidden;
}


/* =========================================================
   FRANCHISE HEADER
   ========================================================= */

.franchise-header {
    position: relative;

    padding: 58px 40px 52px;

    text-align: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(255,255,255,.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(37,99,235,.22),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #050b18 0%,
            #0b1733 48%,
            #123a91 100%
        );

    color: #ffffff;
}


/* decorative circles */

.franchise-header::before,
.franchise-header::after {
    content: "";
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.franchise-header::before {
    width: 280px;
    height: 280px;

    top: -160px;
    left: -120px;

    background: rgba(37, 99, 235, .10);
}

.franchise-header::after {
    width: 330px;
    height: 330px;

    right: -160px;
    bottom: -190px;

    background: rgba(59, 130, 246, .12);
}


/* heading */

.franchise-header h1 {
    position: relative;
    z-index: 2;

    margin: 0 0 15px;

    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;

    color: #ffffff;
}

.franchise-header h1 i {
    margin-right: 12px;

    font-size: .82em;

    color: #3b82f6;
}


/* subtitle */

.franchise-header .sub-head {
    position: relative;
    z-index: 2;

    max-width: 760px;

    margin: 0 auto;

    font-size: 16px;
    line-height: 1.7;

    color: rgba(255,255,255,.82);
}


/* =========================================================
   TWO COLUMN SECTIONS
   ========================================================= */

.row-2col {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 26px;

    margin: 30px 34px 0;
}


/* =========================================================
   INFORMATION CARDS
   ========================================================= */

.info-card {
    position: relative;

    padding: 30px;

    background: #ffffff;

    border: 1px solid #dfe6f2;

    border-radius: 17px;

    box-shadow:
        0 8px 25px rgba(15, 35, 87, 0.045);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.info-card:hover {
    transform: translateY(-4px);

    border-color: #b9c9e8;

    box-shadow:
        0 18px 38px rgba(15, 35, 87, 0.10);
}


/* blue accent */

.info-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 30px;

    width: 55px;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #0b3ea8,
            #2563eb
        );

    border-radius: 0 0 8px 8px;
}


/* card heading */

.info-card h2 {
    margin: 0 0 22px;

    font-size: 21px;
    line-height: 1.3;

    font-weight: 750;

    color: #07152f;

    letter-spacing: -.3px;
}


/* =========================================================
   ICON LIST
   ========================================================= */

.list-icon {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.list-icon li {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    padding: 11px 12px;

    background: #f7f9fd;

    border: 1px solid #e7edf7;

    border-radius: 10px;

    color: #26364f;

    font-size: 14px;

    line-height: 1.5;

    transition:
        background .2s ease,
        transform .2s ease,
        border-color .2s ease;
}

.list-icon li:hover {
    transform: translateX(3px);

    background: #eef4ff;

    border-color: #c7d6f2;
}

.list-icon li i {
    flex: 0 0 20px;

    width: 20px;

    margin-top: 2px;

    text-align: center;

    color: #1455c0;

    font-size: 15px;
}


/* =========================================================
   BANK DETAILS
   ========================================================= */

.bank-details {
    display: flex;

    flex-direction: column;

    gap: 9px;

    padding: 16px;

    background: #f8faff;

    border: 1px solid #dfe7f4;

    border-radius: 14px;
}

.bank-row {
    display: grid;

    grid-template-columns: 145px 1fr;

    align-items: center;

    min-height: 44px;

    padding: 0 12px;

    background: #ffffff;

    border: 1px solid #e6ebf3;

    border-radius: 8px;
}

.bank-label {
    font-size: 13px;

    font-weight: 650;

    color: #64748b;
}

.bank-value {
    font-size: 14px;

    font-weight: 650;

    color: #0b1733;

    word-break: break-word;
}


/* =========================================================
   QR SECTION
   ========================================================= */

.qr-section {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 18px;

    padding: 15px 16px;

    background:
        linear-gradient(
            135deg,
            #eef4ff,
            #ffffff
        );

    border: 1px solid #cddbf2;

    border-radius: 13px;
}

.qr-section > div {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;

    font-weight: 700;

    color: #0b3b8f;
}

.qr-section > div i {
    font-size: 20px;

    color: #1455c0;
}

.qr-section img {
    display: block;

    width: 96px;
    height: 96px;

    padding: 6px;

    background: #ffffff;

    border: 1px solid #d9e1ed;

    border-radius: 9px;

    object-fit: contain;
}


/* =========================================================
   PROCESS SECTION
   ========================================================= */

.process-steps {
    margin: 32px 34px 0;

    padding: 32px;

    background:
        linear-gradient(
            135deg,
            #f6f9ff 0%,
            #ffffff 60%,
            #eef4ff 100%
        );

    border: 1px solid #dfe7f4;

    border-radius: 18px;
}

.process-steps h2 {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin: 0 0 28px;

    text-align: center;

    color: #07152f;

    font-size: 22px;

    font-weight: 750;
}

.process-steps h2 i {
    color: #1455c0;
}


/* =========================================================
   PROCESS STEPS
   ========================================================= */

.step-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.step-item {
    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 82px;

    padding: 15px;

    background: #ffffff;

    border: 1px solid #dfe6f2;

    border-radius: 13px;

    box-shadow:
        0 5px 15px rgba(15,35,87,.035);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.step-item:hover {
    transform: translateY(-4px);

    border-color: #b8caea;

    box-shadow:
        0 13px 28px rgba(15,35,87,.10);
}


/* number */

.step-num {
    display: flex;

    align-items: center;

    justify-content: center;

    flex: 0 0 42px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #0b3ea8,
            #2563eb
        );

    color: #ffffff;

    font-size: 15px;

    font-weight: 800;

    box-shadow:
        0 6px 14px rgba(20,85,192,.22);
}


/* step text */

.step-text {
    font-size: 13.5px;

    line-height: 1.5;

    color: #26364f;

    font-weight: 550;
}


/* =========================================================
   PHOTO REQUIREMENTS
   ========================================================= */

.photo-requirements {
    margin: 30px 34px 0;

    padding: 25px;

    background:
        linear-gradient(
            135deg,
            #050b18,
            #0b1733 55%,
            #0e2c67
        );

    border-radius: 16px;

    text-align: center;

    box-shadow:
        0 12px 30px rgba(5,11,24,.12);
}

.photo-requirements p {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 17px;

    font-weight: 700;
}

.photo-badges {
    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;
}

.photo-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 14px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.14);

    border-radius: 999px;

    color: rgba(255,255,255,.92);

    font-size: 12px;

    font-weight: 600;

    transition:
        background .2s ease,
        transform .2s ease;
}

.photo-badge:hover {
    transform: translateY(-2px);

    background: rgba(37,99,235,.25);
}

.photo-badge i {
    color: #60a5fa;
}


/* =========================================================
   FOOTER LINE
   ========================================================= */

.footer-line {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin: 28px 34px 0;

    padding: 18px 4px 0;

    border-top: 1px solid #e1e7f0;

    color: #64748b;

    font-size: 12px;
}

.footer-line span {
    display: flex;

    align-items: center;

    gap: 7px;
}

.footer-line i {
    color: #1455c0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .page-card {
        width: min(100% - 24px, 760px);

        margin-top: 28px;
    }

    .row-2col {
        grid-template-columns: 1fr;

        margin-left: 24px;
        margin-right: 24px;
    }

    .process-steps,
    .photo-requirements {
        margin-left: 24px;
        margin-right: 24px;
    }

    .step-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .franchise-header {
        padding: 48px 28px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .page-card {
        width: calc(100% - 16px);

        margin: 16px auto 30px;

        border-radius: 17px;
    }

    .franchise-header {
        padding: 38px 20px 36px;
    }

    .franchise-header h1 {
        font-size: 29px;

        letter-spacing: -.5px;
    }

    .franchise-header h1 i {
        display: block;

        margin: 0 0 10px;
    }

    .franchise-header .sub-head {
        font-size: 14px;

        line-height: 1.65;
    }

    .row-2col {
        gap: 18px;

        margin: 18px 12px 0;
    }

    .info-card {
        padding: 25px 18px 20px;

        border-radius: 15px;
    }

    .info-card::before {
        left: 20px;
    }

    .info-card h2 {
        font-size: 19px;

        margin-bottom: 18px;
    }

    .list-icon {
        gap: 8px;
    }

    .list-icon li {
        padding: 10px;

        font-size: 13px;
    }

    .bank-row {
        grid-template-columns: 105px 1fr;

        padding: 8px 10px;

        min-height: auto;
    }

    .bank-label,
    .bank-value {
        font-size: 12px;
    }

    .qr-section {
        align-items: center;

        padding: 13px;
    }

    .qr-section img {
        width: 78px;
        height: 78px;
    }

    .process-steps {
        margin: 18px 12px 0;

        padding: 22px 14px;

        border-radius: 15px;
    }

    .process-steps h2 {
        font-size: 19px;

        line-height: 1.4;
    }

    .step-grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .step-item {
        min-height: 70px;

        padding: 12px;
    }

    .step-num {
        flex-basis: 38px;

        width: 38px;
        height: 38px;
    }

    .step-text {
        font-size: 12.5px;
    }

    .photo-requirements {
        margin: 18px 12px 0;

        padding: 20px 14px;
    }

    .photo-requirements p {
        font-size: 16px;
    }

    .photo-badges {
        gap: 7px;
    }

    .photo-badge {
        padding: 8px 11px;

        font-size: 11px;
    }

    .footer-line {
        flex-direction: column;

        align-items: center;

        margin: 22px 12px 0;

        padding-top: 16px;

        text-align: center;

        gap: 8px;
    }
}


/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 380px) {

    .franchise-header h1 {
        font-size: 26px;
    }

    .info-card {
        padding-left: 14px;
        padding-right: 14px;
    }

    .bank-row {
        grid-template-columns: 90px 1fr;
    }

    .qr-section {
        gap: 10px;
    }

    .qr-section img {
        width: 70px;
        height: 70px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .info-card,
    .list-icon li,
    .step-item,
    .photo-badge {
        transition: none;
    }

    .info-card:hover,
    .list-icon li:hover,
    .step-item:hover,
    .photo-badge:hover {
        transform: none;
    }
}

/* =========================================================
   HERO MOTION GRAPHICS
   Corporate Blue / Black
   ========================================================= */

.franchise-header {
    position: relative;
    overflow: hidden;
}


/* Keep actual text above shapes */

.franchise-header h1,
.franchise-header .sub-head {
    position: relative;
    z-index: 5;
}


/* Shape container */

.hero-shapes {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    pointer-events: none;

    z-index: 1;
}


/* Common shape */

.hero-shapes .shape {
    position: absolute;

    display: block;

    pointer-events: none;
}


/* =========================================================
   LARGE BLUE CIRCLE
   ========================================================= */

.shape-circle {
    width: 260px;
    height: 260px;

    right: -90px;
    top: -130px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(59, 130, 246, .20),
            rgba(37, 99, 235, .04) 60%,
            transparent 72%
        );

    animation:
        heroFloatCircle 8s ease-in-out infinite;
}


/* =========================================================
   RING
   ========================================================= */

.shape-ring {
    width: 170px;
    height: 170px;

    left: -65px;
    bottom: -75px;

    border: 2px solid rgba(59, 130, 246, .30);

    border-radius: 50%;

    box-shadow:
        0 0 30px rgba(37, 99, 235, .10);

    animation:
        heroRotate 14s linear infinite;
}


/* =========================================================
   FLOATING SQUARE
   ========================================================= */

.shape-square {
    width: 75px;
    height: 75px;

    right: 17%;
    top: 20%;

    border: 1px solid rgba(96, 165, 250, .28);

    background: rgba(59, 130, 246, .05);

    transform: rotate(25deg);

    border-radius: 14px;

    animation:
        heroFloatSquare 7s ease-in-out infinite;
}


/* =========================================================
   DIAMOND
   ========================================================= */

.shape-diamond {
    width: 45px;
    height: 45px;

    left: 17%;
    top: 24%;

    border: 1px solid rgba(96, 165, 250, .35);

    background: rgba(37, 99, 235, .08);

    transform: rotate(45deg);

    animation:
        heroDiamond 6s ease-in-out infinite;
}


/* =========================================================
   SMALL DOTS
   ========================================================= */

.shape-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #3b82f6;

    box-shadow:
        0 0 15px rgba(59, 130, 246, .65);
}


/* Dot positions */

.dot-1 {
    left: 8%;
    top: 30%;

    animation:
        heroDot 4s ease-in-out infinite;
}


.dot-2 {
    right: 9%;
    top: 62%;

    width: 6px;
    height: 6px;

    animation:
        heroDot 5s ease-in-out infinite .8s;
}


.dot-3 {
    left: 32%;
    bottom: 18%;

    width: 5px;
    height: 5px;

    animation:
        heroDot 4.5s ease-in-out infinite 1.2s;
}


/* =========================================================
   SOFT GLOW
   ========================================================= */

.franchise-header::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    left: -180px;
    top: -180px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, .18),
            transparent 70%
        );

    z-index: 0;

    animation:
        heroGlow 9s ease-in-out infinite;
}


.franchise-header::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -220px;
    bottom: -250px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(59, 130, 246, .15),
            transparent 70%
        );

    z-index: 0;

    animation:
        heroGlow 11s ease-in-out infinite reverse;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes heroFloatCircle {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(-25px, 25px, 0);
    }
}


@keyframes heroRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes heroFloatSquare {

    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            rotate(25deg);
    }

    50% {
        transform:
            translate3d(-20px, 25px, 0)
            rotate(55deg);
    }
}


@keyframes heroDiamond {

    0%,
    100% {
        transform:
            translateY(0)
            rotate(45deg);
    }

    50% {
        transform:
            translateY(-22px)
            rotate(90deg);
    }
}


@keyframes heroDot {

    0%,
    100% {
        opacity: .35;

        transform:
            translateY(0)
            scale(1);
    }

    50% {
        opacity: 1;

        transform:
            translateY(-20px)
            scale(1.5);
    }
}


@keyframes heroGlow {

    0%,
    100% {
        transform: scale(1);

        opacity: .7;
    }

    50% {
        transform: scale(1.15);

        opacity: 1;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .shape-circle {
        width: 180px;
        height: 180px;

        right: -80px;
        top: -80px;
    }

    .shape-ring {
        width: 120px;
        height: 120px;

        left: -55px;
        bottom: -60px;
    }

    .shape-square {
        width: 55px;
        height: 55px;

        right: 10%;
    }

    .shape-diamond {
        width: 32px;
        height: 32px;

        left: 10%;
    }

    .shape-dot {
        opacity: .5;
    }
    
}

/* =========================================================
   ZOOMING CONCENTRIC RINGS
   ========================================================= */

.zoom-ring {
    position: absolute;

    width: 90px;
    height: 90px;

    border: 1px solid rgba(96, 165, 250, 0.35);

    border-radius: 50%;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%) scale(.25);

    opacity: 0;

    pointer-events: none;

    animation: zoomRing 6s ease-out infinite;
}


/* Ring 1 */

.ring-1 {
    animation-delay: 0s;
}


/* Ring 2 */

.ring-2 {
    animation-delay: 2s;
}


/* Ring 3 */

.ring-3 {
    animation-delay: 4s;
}


/* =========================================================
   RING ANIMATION
   ========================================================= */

@keyframes zoomRing {

    0% {
        transform:
            translate(-50%, -50%)
            scale(.2);

        opacity: 0;
    }

    10% {
        opacity: .55;
    }

    60% {
        opacity: .28;
    }

    100% {
        transform:
            translate(-50%, -50%)
            scale(5);

        opacity: 0;
    }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .hero-shapes *,
    .franchise-header::before,
    .franchise-header::after {
        animation: none !important;
    }
}