html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}



/* Background Blur */

.modal {
    backdrop-filter: blur(8px);
}

/* Main Modal */

.modern-modal {
    background: rgba(15,20,40,.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(0,255,255,.3);
    border-radius: 25px;
    overflow: hidden;
    color: white;
    animation: popup .5s ease;
    box-shadow: 0 0 20px cyan, 0 0 40px #00bfff, 0 0 60px rgba(0,255,255,.5);
}

/* Animation */

@keyframes popup {

    from {
        opacity: 0;
        transform: translateY(-40px) scale(.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header */

.modal-header {
    background: linear-gradient(90deg,#0f172a,#1e3a8a);
    padding: 20px;
}

.modal-title {
    color: white;
    letter-spacing: 1px;
}

/* Inputs */

.custom-input {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    color: white;
    border-radius: 15px;
}

    .custom-input:focus {
        background: rgba(255,255,255,.1);
        border: 1px solid cyan;
        box-shadow: 0 0 10px cyan, 0 0 20px cyan;
        color: white;
    }

.form-floating label {
    color: #b6c4ff;
}

/* Upload */

.upload-box {
    border: 2px dashed cyan;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    cursor: pointer;
    transition: .4s;
    background: rgba(255,255,255,.05);
}

    .upload-box:hover {
        transform: scale(1.03);
        border-color: #00ffea;
        box-shadow: 0 0 15px cyan, inset 0 0 15px cyan;
    }

.upload-icon {
    font-size: 50px;
    color: cyan;
    animation: float 2s infinite;
}

@keyframes float {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Save Button */

.btn-modern-save {
    background: linear-gradient(45deg,#00d2ff,#3a7bd5);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    transition: .4s;
    font-weight: bold;
}

    .btn-modern-save:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 15px cyan, 0 0 30px cyan;
    }

/* Cancel */

.btn-modern-cancel {
    background: #343a40;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
}

    .btn-modern-cancel:hover {
        background: #555;
    }

/* Fade */

.modal.fade .modal-dialog {
    transition: .35s;
    transform: scale(.8);
}

.modal.show .modal-dialog {
    transform: scale(1);
}


/*for facebook button*/
.facebook-icon {
    transition: all 0.5s ease;
}
.btn:hover .facebook-icon {
    transform: rotate(360deg) scale(1.2);
    filter: drop-shadow(0 0 8px rgb(99, 230, 190));
}


 /*for google button*/
.google-icon {
    margin-right: 8px;
    transition: all 0.5s ease;
}
.google-login-btn:hover .google-icon {
    transform: rotate(360deg) scale(1.2);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}



/* =========================================================
   GALLERY PAGINATION
   ========================================================= */

.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 35px;
    margin-bottom: 30px;
}


.page-link-custom {
    border: none;
    background: transparent;
    color: #4a2727;
    min-width: 30px;
    height: 32px;
    padding: 4px 8px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s ease;
}


    .page-link-custom:hover:not(.disabled):not(.active-page) {
        background-color: #f1e8e8;
    }


    .page-link-custom.active-page {
        background-color: #703838;
        color: white;
        font-weight: bold;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }


    .page-link-custom.disabled {
        color: #b9a9a9;
        cursor: default;
    }


.page-ellipsis {
    min-width: 25px;
    text-align: center;
    color: #5a3a3a;
}


/* This is for the per page image count for pagination */
.gallery-pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 35px;
    margin-bottom: 30px;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

    .page-size-selector label {
        white-space: nowrap;
        font-size: 14px;
    }

    .page-size-selector select {
        width: 75px;
    }





    

    /* This is for the home index page */
:root {
    --sg-deep: #071a31;
    --sg-blue: #0d416e;
    --sg-aqua: #75d8dc;
    --sg-peach: #ffae84;
}

.student-gallery-home {
    position: relative;
    isolation: isolate;
    width: 100vw;
    min-height: 100dvh;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    color: #f7fbff;
    background: linear-gradient(135deg, #071a31 0%, #0c3459 48%, #0c2748 100%);
}

.student-gallery-home__mesh, .student-gallery-home__grid, .student-gallery-home__orb {
    position: absolute;
    pointer-events: none;
}

.student-gallery-home__mesh {
    inset: 0;
    z-index: -3;
    background: radial-gradient(circle at 14% 20%, rgba(100,215,220,.24), transparent 28rem), radial-gradient(circle at 87% 76%, rgba(255,155,108,.18), transparent 30rem), linear-gradient(120deg, transparent 20%, rgba(255,255,255,.035), transparent 70%);
}

.student-gallery-home__grid {
    inset: 0;
    z-index: -2;
    opacity: .22;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 48px 48px;
}

.student-gallery-home__orb {
    z-index: -1;
    border-radius: 50%;
    filter: blur(2px);
}

.student-gallery-home__orb--one {
    width: 22rem;
    height: 22rem;
    top: -13rem;
    right: 6%;
    border: 1px solid rgba(139,239,239,.2);
    background: rgba(82,188,198,.07);
}

.student-gallery-home__orb--two {
    width: 15rem;
    height: 15rem;
    bottom: -6rem;
    left: 7%;
    border: 1px solid rgba(255,174,132,.16);
    background: rgba(255,151,105,.07);
}

.min-vh-75 {
    min-height: 75vh;
}

.sg-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .48rem .82rem;
    border: 1px solid rgba(173,237,238,.24);
    border-radius: 999px;
    color: #baf1ef;
    background: rgba(132,223,222,.09);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sg-home-title {
    margin: 1.35rem 0 1rem;
    font-size: clamp(2.7rem, 6vw, 5.35rem);
    font-weight: 800;
    letter-spacing: -.065em;
    line-height: .98;
}

    .sg-home-title span {
        color: var(--sg-aqua);
    }

.sg-home-copy {
    max-width: 36rem;
    margin: 0;
    color: rgba(239,249,255,.72);
    font-size: 1.08rem;
    line-height: 1.75;
}

.sg-home-line {
    display: flex;
    align-items: center;
    gap: .65rem;
    margin-top: 2rem;
    color: rgba(239,249,255,.6);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

    .sg-home-line span {
        display: block;
        width: 42px;
        height: 2px;
        background: var(--sg-peach);
    }

.sg-members-card {
    position: relative;
    overflow: hidden;
    padding: 1.55rem;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(145deg, rgba(255,255,255,.19), rgba(255,255,255,.05));
    box-shadow: 0 24px 50px rgba(0,8,22,.26), inset 0 1px rgba(255,255,255,.13);
    backdrop-filter: blur(14px);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .sg-members-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 30px 60px rgba(0,8,22,.32), inset 0 1px rgba(255,255,255,.13);
    }

.sg-members-card__shine {
    position: absolute;
    width: 240px;
    height: 240px;
    top: -150px;
    right: -70px;
    border-radius: 50%;
    background: rgba(117,216,220,.22);
    filter: blur(5px);
}

.sg-members-card__label {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,.7);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.sg-members-card__icon {
    display: grid;
    position: relative;
    z-index: 1;
    width: 51px;
    height: 51px;
    place-items: center;
    border-radius: 17px;
    color: #173c62;
    background: linear-gradient(145deg, #fff0d2, #ffb58c);
    font-size: 1.45rem;
    box-shadow: 0 9px 18px rgba(0,0,0,.16);
}

.sg-members-card__caption {
    position: relative;
    z-index: 1;
    margin: 3.3rem 0 .2rem;
    color: rgba(255,255,255,.67);
    font-size: .9rem;
}

.sg-members-card__count {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(3.5rem, 8vw, 5.35rem);
    font-weight: 800;
    letter-spacing: -.075em;
    line-height: .95;
}

.sg-members-card__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: 1.55rem;
    color: rgba(255,255,255,.84);
    font-size: .92rem;
    font-weight: 600;
}

.sg-members-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #88f0c3;
    box-shadow: 0 0 0 4px rgba(136,240,195,.13);
}

body {
    overflow-x: hidden;
}

@media (max-width: 991.98px) {
    .student-gallery-home {
        min-height: 100dvh;
    }

    .min-vh-75 {
        min-height: auto;
    }

    .sg-members-card {
        max-width: 430px;
    }
}
