/* ==========================================================
   PT AGINTA SURGICALINDO
   Coming Soon Landing Page
   Version : 1.0
   Author  : ChatGPT
========================================================== */

/* =========================
   GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================
   CSS VARIABLES
========================= */

:root{

    --primary:#D90429;
    --secondary:#EF233C;
    --white:#ffffff;
    --light:#F8F9FA;
    --gray:#CED4DA;
    --dark:#161616;

    --glass:rgba(255,255,255,.10);
    --glass-border:rgba(255,255,255,.18);

    --shadow:
        0 20px 45px rgba(0,0,0,.25);

    --radius:24px;

    --transition:.35s ease;

}

/* =========================
   RESET
========================= */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:#111;

    color:#fff;

    overflow-x:hidden;

    min-height:100vh;

    position:relative;

}

/* =========================
   BACKGROUND
========================= */

body::before{

    content:"";

    position:fixed;

    inset:0;

    background:url('../img/background.jpg')
    center center/cover no-repeat;

    z-index:-4;

    transform:scale(1.05);

}

.bg-overlay{

    position:fixed;

    inset:0;

    background:

    linear-gradient(

    135deg,

    rgba(217,4,41,.82),

    rgba(20,20,20,.86)

    );

    z-index:-3;

}

/* =========================
   MEDICAL PATTERN
========================= */

.medical-pattern{

    position:fixed;

    inset:0;

    background-image:

    radial-gradient(

    rgba(255,255,255,.05) 1px,

    transparent 1px);

    background-size:28px 28px;

    z-index:-2;

}

/* =========================
   HERO
========================= */

.hero{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:40px 20px;

}

/* =========================
   GLASS CARD
========================= */

.glass-card{

    width:100%;

    max-width:760px;

    padding:60px;

    text-align:center;

    border-radius:var(--radius);

    background:var(--glass);

    backdrop-filter:blur(18px);

    border:1px solid var(--glass-border);

    box-shadow:var(--shadow);

    position:relative;

    overflow:hidden;

    transition:var(--transition);

}

.glass-card:hover{

    transform:translateY(-8px);

}

/* Light Sweep */

.glass-card::before{

    content:"";

    position:absolute;

    top:-50%;

    left:-90%;

    width:60%;

    height:220%;

    background:

    linear-gradient(

    90deg,

    transparent,

    rgba(255,255,255,.20),

    transparent

    );

    transform:rotate(25deg);

    animation:glassSweep 6s infinite;

}

@keyframes glassSweep{

    from{

        left:-90%;

    }

    to{

        left:180%;

    }

}

/* =========================
   LOGO
========================= */

.logo{

    width:170px;

    margin-bottom:35px;

    transition:.4s;

}

.logo:hover{

    transform:scale(1.05);

}

/* =========================
   TYPOGRAPHY
========================= */

h1{

    font-size:64px;

    font-weight:700;

    letter-spacing:4px;

    margin-bottom:15px;

}

h4{

    color:#FFD6DD;

    font-weight:400;

    margin-bottom:20px;

}

p{

    font-size:18px;

    line-height:1.9;

    color:#F2F2F2;

    margin-bottom:45px;

}

/* =========================
   COUNTDOWN
========================= */

#countdown{

    display:flex;

    justify-content:center;

    gap:18px;

    flex-wrap:wrap;

    margin-bottom:40px;

}

#countdown div{

    width:110px;

    height:110px;

    background:rgba(255,255,255,.12);

    border-radius:18px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    position:relative;

    overflow:hidden;

    transition:var(--transition);

}

#countdown div:hover{

    transform:translateY(-8px);

    background:rgba(255,255,255,.18);

}

#countdown div::after{

    content:"";

    position:absolute;

    inset:0;

    background:

    linear-gradient(

    135deg,

    rgba(255,255,255,.15),

    transparent

    );

}

#countdown span{

    font-size:42px;

    font-weight:700;

}

#countdown small{

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:12px;

}

/* =========================
   CONTACT
========================= */

.contact-card{

    max-width:460px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:15px;

}

.contact-card div{

    padding:15px 20px;

    border-radius:16px;

    background:rgba(255,255,255,.08);

    transition:var(--transition);

}

.contact-card div:hover{

    background:rgba(255,255,255,.16);

}

.contact-card i{

    width:30px;

    color:#FFD4D9;

}

/* =========================
   SOCIAL
========================= */

.social{

    display:flex;

    justify-content:center;

    gap:18px;

    margin-top:35px;

}

.social a{

    width:52px;

    height:52px;

    border-radius:50%;

    background:#fff;

    color:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

    text-decoration:none;

    font-size:20px;

    transition:var(--transition);

}

.social a:hover{

    background:var(--primary);

    color:#fff;

    transform:translateY(-6px);

}

/* =========================
   FOOTER
========================= */

footer{

    position:absolute;

    left:0;
    right:0;
    bottom:20px;

    text-align:center;

    color:rgba(255,255,255,.75);

    font-size:14px;

    letter-spacing:.5px;

    z-index:5;

}

/* =========================
   LOADER
========================= */

#loader{

    position:fixed;

    inset:0;

    background:#ffffff;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:opacity .8s ease,
               visibility .8s ease;

}

#loader.hide{

    opacity:0;

    visibility:hidden;

}

#loader img{

    width:180px;

    animation:logoPulse 2s ease-in-out infinite;

}

/* =========================
   WAVE
========================= */

.wave{

    position:absolute;

    left:0;

    bottom:0;

    width:100%;

    overflow:hidden;

    line-height:0;

    z-index:-1;

}

.wave svg{

    display:block;

    width:100%;

    height:170px;

    animation:waveFloat 18s ease-in-out infinite;

}

/* =========================
   ECG
========================= */

.ecg-container{

    position:absolute;

    left:0;

    bottom:80px;

    width:100%;

    opacity:.15;

    z-index:-1;

}

.ecg-line{

    fill:none;

    stroke:#ffffff;

    stroke-width:4;

    stroke-linecap:round;

    stroke-linejoin:round;

    stroke-dasharray:2200;

    stroke-dashoffset:2200;

    animation:ecgMove 6s linear infinite;

}

/* =========================
   FLOATING MEDICAL CROSS
========================= */

.floating-cross{

    position:absolute;

    color:rgba(255,255,255,.12);

    font-size:28px;

    z-index:-1;

    animation:floating 8s ease-in-out infinite;

}

.cross1{

    left:8%;

    top:18%;

}

.cross2{

    right:12%;

    top:34%;

    animation-delay:2s;

}

.cross3{

    left:15%;

    bottom:24%;

    animation-delay:4s;

}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#202020;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--secondary);

}

/* =========================
   SELECTION
========================= */

::selection{

    background:var(--primary);

    color:#ffffff;

}

/* =========================
   UTILITIES
========================= */

.text-primary{

    color:var(--primary)!important;

}

.text-light{

    color:#ffffff!important;

}

.bg-glass{

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(12px);

}

.rounded-xl{

    border-radius:24px;

}

.shadow-lg{

    box-shadow:var(--shadow);

}

/* =========================
   ANIMATIONS
========================= */

@keyframes logoPulse{

    0%{

        transform:scale(.95);

        opacity:.7;

    }

    50%{

        transform:scale(1.05);

        opacity:1;

    }

    100%{

        transform:scale(.95);

        opacity:.7;

    }

}

@keyframes floating{

    0%{

        transform:translateY(0px) rotate(0deg);

    }

    50%{

        transform:translateY(-25px) rotate(15deg);

    }

    100%{

        transform:translateY(0px) rotate(0deg);

    }

}

@keyframes waveFloat{

    0%{

        transform:translateX(0);

    }

    50%{

        transform:translateX(-25px);

    }

    100%{

        transform:translateX(0);

    }

}

@keyframes ecgMove{

    from{

        stroke-dashoffset:2200;

    }

    to{

        stroke-dashoffset:0;

    }

}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:992px){

    .glass-card{

        padding:45px;

    }

    h1{

        font-size:52px;

    }

}

@media (max-width:768px){

    .hero{

        padding:30px 18px;

    }

    .glass-card{

        padding:35px 24px;

        border-radius:20px;

    }

    .logo{

        width:130px;

    }

    h1{

        font-size:40px;

        letter-spacing:2px;

    }

    h4{

        font-size:20px;

    }

    p{

        font-size:15px;

        margin-bottom:35px;

    }

    #countdown{

        gap:12px;

    }

    #countdown div{

        width:82px;

        height:82px;

    }

    #countdown span{

        font-size:26px;

    }

    .contact-card div{

        font-size:14px;

        padding:14px;

    }

    .social a{

        width:46px;

        height:46px;

        font-size:18px;

    }

    footer{

        position:relative;

        padding:30px 15px;

    }

}

@media (max-width:576px){

    .glass-card{

        padding:28px 18px;

    }

    .logo{

        width:110px;

    }

    h1{

        font-size:32px;

    }

    h4{

        font-size:17px;

    }

    p{

        font-size:14px;

    }

    #countdown{

        gap:8px;

    }

    #countdown div{

        width:70px;

        height:70px;

        border-radius:14px;

    }

    #countdown span{

        font-size:22px;

    }

    #countdown small{

        font-size:10px;

        letter-spacing:1px;

    }

    .wave svg{

        height:100px;

    }

    .ecg-container{

        display:none;

    }

}

@media (min-width:1400px){

    .glass-card{

        max-width:850px;

        padding:70px;

    }

    h1{

        font-size:72px;

    }

    p{

        font-size:20px;

    }

}