/* =========================================================
   SKYRISE - ANIMATED MAINTENANCE PAGE
   Bootstrap 5
========================================================= */

:root {
    --navy: #0d294b;
    --navy-dark: #081f3a;
    --gold: #c99d3c;
    --gold-light: #d9b35c;
    --background: #f5f7fa;
    --white: #ffffff;
    --text: #63758b;
    --border: #e4e9ef;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--background);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--navy);
    overflow-x: hidden;
}


/* =========================================================
   BACKGROUND ANIMATION
========================================================= */

.background-circle {
    position: fixed;
    border: 1px solid rgba(201, 157, 60, 0.30);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: circleFloat 8s ease-in-out infinite;
}

.circle-top {
    width: 500px;
    height: 500px;
    right: -260px;
    top: -190px;
}

.circle-top::after {
    content: "";
    position: absolute;
    width: 230px;
    height: 2px;
    background: var(--gold);
    left: 45px;
    top: 234px;
    animation: linePulse 3s ease-in-out infinite;
}

.circle-bottom {
    width: 340px;
    height: 340px;
    left: -170px;
    bottom: -180px;
    animation-delay: 2s;
}

@keyframes circleFloat {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-10px, 15px) rotate(3deg);
    }
}

@keyframes linePulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scaleX(1);
    }

    50% {
        opacity: 1;
        transform: scaleX(1.15);
    }
}


/* =========================================================
   MAIN WRAPPER
========================================================= */

.maintenance-wrapper {
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 45px 20px;

    position: relative;
    z-index: 1;
}


/* =========================================================
   MAIN CARD ANIMATION
========================================================= */

.maintenance-card {
    width: 100%;
    max-width: 1336px;

    background: var(--white);

    border: 1px solid rgba(201, 157, 60, 0.25);

    border-radius: 24px;

    padding: 45px 54px;

    box-shadow:
        0 25px 60px rgba(13, 41, 75, 0.10);

    animation:
        cardEntrance 1s cubic-bezier(.22, .61, .36, 1) both;
}

@keyframes cardEntrance {

    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


/* =========================================================
   LOGO
========================================================= */

.company-logo {
    margin-bottom: 35px;

    animation:
        fadeDown 0.8s ease 0.25s both;
}

.company-logo a {
    text-decoration: none;

    display: inline-flex;
    align-items: center;
}

.logo-image {
    max-width: 270px;
    max-height: 55px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.logo-image:hover {
    transform: scale(1.04);
}

.fallback-logo {
    display: none;
    color: var(--navy);
    font-size: 15px;
}

.fallback-logo strong {
    font-weight: 900;
    margin-right: 5px;
}

.fallback-logo span {
    color: #315b83;
}


/* =========================================================
   SMALL HEADING
========================================================= */

.top-heading {
    color: var(--gold);
    font-size: 13px;
    font-weight: normal;
    letter-spacing: 4px;
    margin-bottom: 12px;
    animation:
        fadeLeft 0.8s ease 0.4s both;
}


/* =========================================================
   MAIN TITLE
========================================================= */

.main-title {
    font-size: clamp(45px, 5vw, 65px);

    line-height: 0.98;

    font-weight: 900;

    letter-spacing: -1.5px;

    color: var(--navy);

    margin-bottom: 26px;

    animation:
        titleEntrance 1s cubic-bezier(.22, .61, .36, 1) 0.5s both;
}

.main-title span {
    display: block;

    color: var(--gold);

    animation: goldText 3s ease-in-out infinite;
}

.main-title span:nth-child(2) {
    animation-delay: 0.5s;
}

.main-title span:nth-child(3) {
    animation-delay: 1s;
}

@keyframes titleEntrance {

    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }

}

@keyframes goldText {

    0%,
    100% {
        text-shadow: 0 0 0 rgba(201, 157, 60, 0);
    }

    50% {
        text-shadow:
            0 0 18px rgba(201, 157, 60, 0.20);
    }

}


/* =========================================================
   DESCRIPTION
========================================================= */

.description {
    max-width: 550px;

    color: var(--text);

    font-size: 15px;

    line-height: 1.75;

    margin-bottom: 8px;

    animation:
        fadeLeft 0.9s ease 0.7s both;
}

.thank-text {
    margin-top: 23px;
    margin-bottom: 28px;

    animation-delay: 0.85s;
}


/* =========================================================
   CONTACT BUTTONS
========================================================= */

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    animation:
        fadeUp 0.9s ease 1s both;
}

.contact-box {
    min-width: 220px;
    min-height: 61px;

    padding: 10px 14px;

    background: var(--navy);

    border-radius: 11px;

    color: white;
    text-decoration: none;

    display: flex;
    align-items: center;

    gap: 11px;

    position: relative;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.contact-box::before {
    content: "";

    position: absolute;

    width: 80px;
    height: 100%;

    top: 0;
    left: -100px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent
        );

    transform: skewX(-20deg);

    transition: left 0.6s ease;
}

.contact-box:hover::before {
    left: 120%;
}

.contact-box:hover {
    background: var(--navy-dark);
    color: white;

    transform: translateY(-5px);

    box-shadow:
        0 12px 25px rgba(13, 41, 75, 0.20);
}

.contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;

    background: var(--gold);
    color: var(--navy);

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;

    transition:
        transform 0.4s ease;
}

.contact-box:hover .contact-icon {
    transform:
        rotate(360deg)
        scale(1.08);
}

.contact-information small {
    display: block;

    color: #9eafc3;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.7px;

    margin-bottom: 3px;
}

.contact-information strong {
    display: block;

    color: white;

    font-size: 14px;
    font-weight: normal;

    white-space: nowrap;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.countdown {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 9px;

    margin-bottom: 20px;

    animation:
        fadeDown 0.9s ease 0.4s both;
}

.time-box {
    min-height: 105px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    box-shadow:
        0 8px 25px rgba(13, 41, 75, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.time-box:hover {
    transform:
        translateY(-7px)
        scale(1.02);

    box-shadow:
        0 15px 30px
        rgba(13, 41, 75, 0.13);
}

.time-box strong {
    color: #101f35;

    font-size: 35px;

    line-height: 1;

    font-weight: 900;

    transition:
        transform 0.25s ease;
}


/* JS se number change hone par ye class lagegi */

.time-box strong.number-change {
    animation:
        numberFlip 0.35s ease;
}

@keyframes numberFlip {

    0% {
        transform:
            translateY(-7px)
            scale(1.12);

        opacity: 0.4;
    }

    100% {
        transform:
            translateY(0)
            scale(1);

        opacity: 1;
    }

}

.time-box span {
    margin-top: 9px;

    color: #718198;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.2px;
}


/* =========================================================
   MAINTENANCE IMAGE
========================================================= */

.maintenance-image {
    height: 310px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    animation:
        imageEntrance 1s ease 0.6s both;
}

@keyframes imageEntrance {

    0% {
        opacity: 0;
        transform:
            translateY(30px)
            scale(0.9);
    }

    100% {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }

}


/* =========================================================
   MONITOR
========================================================= */

.monitor {
    width: 355px;
    height: 250px;

    background: #f7f8fa;

    border: 10px solid var(--navy);

    border-radius: 15px;

    position: relative;

    z-index: 2;

    overflow: hidden;

    box-shadow:
        0 15px 25px
        rgba(13, 41, 75, 0.20);

    animation:
        monitorFloat 4s ease-in-out infinite;
}

@keyframes monitorFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}


/* =========================================================
   BROWSER TOP
========================================================= */

.browser-top {
    height: 25px;

    background: #e7eaee;

    display: flex;

    align-items: center;

    gap: 5px;

    padding-left: 10px;
}

.browser-top span {
    width: 7px;
    height: 7px;

    background: #b4bcc6;

    border-radius: 50%;

    animation:
        browserDot 2s ease-in-out infinite;
}

.browser-top span:nth-child(2) {
    animation-delay: 0.2s;
}

.browser-top span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes browserDot {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }

}


/* =========================================================
   BROWSER CONTENT
========================================================= */

.browser-content {
    position: relative;

    height: calc(100% - 25px);

    padding: 30px 25px;
}


/* =========================================================
   WEBSITE LINES
========================================================= */

.fake-line {
    height: 10px;

    border-radius: 20px;

    background: #dce1e6;

    margin-bottom: 10px;

    animation:
        lineLoading 2.2s ease-in-out infinite;
}

.line-1 {
    width: 75%;
}

.line-2 {
    width: 95%;

    animation-delay: 0.3s;
}

.line-3 {
    width: 65%;

    animation-delay: 0.6s;
}

@keyframes lineLoading {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

}


/* =========================================================
   MAINTENANCE SIGN
========================================================= */

.maintenance-sign {
    width: 235px;
    height: 110px;

    position: absolute;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -40%);

    background: var(--gold);

    border: 7px solid var(--navy);

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    box-shadow:
        0 8px 15px
        rgba(13, 41, 75, 0.15);

    animation:
        signPulse 2.5s ease-in-out infinite;
}

@keyframes signPulse {

    0%,
    100% {
        box-shadow:
            0 8px 15px
            rgba(13, 41, 75, 0.15);
    }

    50% {
        box-shadow:
            0 8px 25px
            rgba(201, 157, 60, 0.35);
    }

}


/* =========================================================
   SIGN STRIPES
========================================================= */

.sign-stripe {
    width: 100%;
    height: 12px;

    position: absolute;

    top: 0;
    left: 0;

    display: flex;

    overflow: hidden;
}

.sign-stripe.bottom {
    top: auto;
    bottom: 0;
}

.sign-stripe span {
    width: 38px;
    height: 15px;

    background: var(--navy);

    transform:
        skewX(-40deg);

    margin-left: 8px;

    animation:
        stripeMove 2s linear infinite;
}

.sign-stripe span:nth-child(2) {
    animation-delay: 0.15s;
}

.sign-stripe span:nth-child(3) {
    animation-delay: 0.30s;
}

.sign-stripe span:nth-child(4) {
    animation-delay: 0.45s;
}

.sign-stripe span:nth-child(5) {
    animation-delay: 0.60s;
}

@keyframes stripeMove {

    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }

}


/* =========================================================
   SIGN TEXT
========================================================= */

.maintenance-sign h3 {
    color: var(--navy);

    font-size: 18px;

    line-height: 1.05;

    font-weight: 900;

    text-align: center;

    margin: 0;

    animation:
        signTextPulse 2s ease-in-out infinite;
}

@keyframes signTextPulse {

    0%,
    100% {
        opacity: 0.85;
    }

    50% {
        opacity: 1;
    }

}


/* =========================================================
   MONITOR STAND
========================================================= */

.monitor-stand {
    width: 55px;
    height: 55px;

    position: absolute;

    bottom: 30px;

    background: var(--gold);

    clip-path:
        polygon(
            35% 0,
            65% 0,
            100% 100%,
            0 100%
        );

    animation:
        standPulse 3s ease-in-out infinite;
}

@keyframes standPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.75;
    }

}


/* =========================================================
   MONITOR BASE
========================================================= */

.monitor-base {
    width: 145px;
    height: 14px;

    position: absolute;

    bottom: 23px;

    background: var(--navy);

    border-radius: 20px;
}


/* =========================================================
   DECORATIVE DOTS
========================================================= */

.dots {
    position: absolute;
    left: 85px;
    /* bottom: 37px; */
    display: flex;
    align-items: flex-end;
    gap: 4px;
    top: 55px;
    z-index: 100 !important;
}
.dots span {
    width: 10px;
    height: 10px;
    color: var(--gold);
    border-radius: 50%;
    display: block;
    animation: dotBounce 1.8s ease-in-out infinite;
}

.dots span:nth-child(1) {
    animation-delay: 0s;
}

.dots span:nth-child(2) {
    animation-delay: 0.25s;
}

.dots span:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes dotBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

}


/* =========================================================
   FOOTER
========================================================= */

footer {
    margin-top: 20px;

    color: #98a5b5;

    font-size: 11px;

    text-align: center;

    animation:
        fadeUp 1s ease 1.2s both;
}

footer strong {
    color: var(--navy);
}


/* =========================================================
   GENERAL ANIMATIONS
========================================================= */

@keyframes fadeDown {

    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes fadeLeft {

    from {
        opacity: 0;
        transform: translateX(-25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }

}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   WEBSITE LIVE
========================================================= */

.website-live {
    position: fixed;

    inset: 0;

    z-index: 9999;

    background:
        rgba(
            245,
            247,
            250,
            0.98
        );

    display: none;

    align-items: center;

    justify-content: center;

    text-align: center;
}

.website-live.active {
    display: flex;

    animation:
        liveFade 0.6s ease;
}

@keyframes liveFade {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }

}

.live-content {
    padding: 40px;

    animation:
        liveContent 0.8s ease;
}

@keyframes liveContent {

    from {
        transform:
            scale(0.8)
            translateY(30px);

        opacity: 0;
    }

    to {
        transform:
            scale(1)
            translateY(0);

        opacity: 1;
    }

}

.live-icon {
    width: 80px;
    height: 80px;

    margin:
        0 auto 20px;

    border-radius: 50%;

    background: var(--gold);

    color: var(--navy);

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 38px;

    animation:
        liveIcon 1.5s ease-in-out infinite;
}

@keyframes liveIcon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

}

.live-content h2 {
    color: var(--navy);

    font-size: 42px;

    font-weight: 900;
}

.live-content p {
    color: var(--text);

    margin:
        12px
        0
        25px;
}

.live-button {
    display: inline-block;

    padding:
        13px
        30px;

    background: var(--navy);

    color: white;

    text-decoration: none;

    border-radius: 8px;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.live-button:hover {
    background: var(--navy-dark);

    color: white;

    transform: translateY(-3px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991.98px) {

    .maintenance-wrapper {
        padding:
            30px
            20px;
    }

    .maintenance-card {
        padding: 40px;
    }

    .main-title {
        font-size: 55px;
    }

    .countdown {
        max-width: 500px;

        margin:
            10px
            auto
            20px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767.98px) {

    .maintenance-wrapper {
        padding:
            18px
            12px;
    }

    .maintenance-card {
        border-radius: 18px;

        padding:
            28px
            18px;
    }

    .company-logo {
        text-align: center;

        margin-bottom: 25px;
    }

    .company-logo a {
        justify-content: center;
    }

    .logo-image {
        max-width: 230px;
    }

    .top-heading {
        text-align: center;

        font-size: 10px;

        letter-spacing: 2.5px;
    }

    .main-title {
        text-align: center;

        font-size:
            clamp(
                36px,
                10vw,
                52px
            );

        line-height: 1;

        letter-spacing: -1px;
    }

    .description {
        max-width: 100%;

        text-align: center;

        font-size: 14px;
    }

    .contact-wrapper {
        justify-content: center;
    }

    .contact-box {
        width: 100%;
        max-width: 300px;
    }

    .countdown {
        grid-template-columns:
            repeat(
                2,
                1fr
            );

        gap: 8px;

        margin-top: 30px;
    }

    .time-box {
        min-height: 80px;
    }

    .time-box strong {
        font-size: 28px;
    }

    .time-box span {
        font-size: 8px;
    }

    .maintenance-image {
        height: 275px;

        transform:
            scale(0.88);

        margin:
            -5px
            -20px;
    }

    footer {
        font-size: 9px;

        padding:
            0
            10px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .maintenance-card {
        padding:
            25px
            14px;
    }

    .main-title {
        font-size: 34px;
    }

    .contact-box {
        max-width: 100%;
    }

    .maintenance-image {
        transform:
            scale(0.76);

        margin:
            -20px
            -35px;
    }

    .live-content h2 {
        font-size: 32px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}