/* ===============================
   FRAME Digital Visiting Card
   style.css
================================== */

:root{
    --primary:#352a8f;
    --secondary:#ef233c;
    --dark:#1b1b1b;
    --light:#ffffff;
    --gray:#f5f6fa;
    --border:#e8e8e8;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#eef2f7;
    color:var(--dark);
}

/* Splash Screen */

#splash{
    position:fixed;
    inset:0;
    background:var(--primary);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
    animation:fadeOut 1s ease 2s forwards;
}

.logoArea{
    text-align:center;
    color:#fff;
}

.logo{
    width:240px;
    max-width:80%;
    margin-bottom:20px;
}

.logoArea p{
    font-size:16px;
    letter-spacing:3px;
}

.logoArea span{
    display:block;
    margin-top:10px;
    font-size:14px;
    opacity:.9;
}

/* Main Container */

.container{
    max-width:1100px;
    margin:auto;
    padding:40px 20px;
}

.card{
    background:#fff;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.12);
}

/* Header */

.topBand{
    background:linear-gradient(135deg,var(--primary),#4538a7);
    color:#fff;
    display:flex;
    align-items:center;
    gap:20px;
    padding:25px 35px;
}

.headerLogo{
    width:180px;
}

.tagline h3{
    font-size:26px;
    font-weight:700;
}

.tagline p{
    opacity:.9;
    margin-top:4px;
}

/* Content */

.content{
    display:flex;
    gap:50px;
    padding:50px;
}

.left{
    width:30%;
    text-align:center;
}

.qr{
    width:220px;
    max-width:100%;
    border:8px solid #fff;
    box-shadow:0 5px 20px rgba(0,0,0,.15);
}

.scanText{
    margin-top:18px;
    color:#555;
    font-size:14px;
}

.right{
    width:70%;
}

.right h1{
    color:var(--primary);
    font-size:48px;
    font-weight:700;
}

.right h2{
    color:#666;
    margin-top:8px;
    font-weight:500;
}

.divider{
    width:100px;
    height:5px;
    background:var(--secondary);
    border-radius:5px;
    margin:25px 0 35px;
}

/* Contact Rows */

.info{
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:18px;
    text-decoration:none;
    color:inherit;
    padding:16px;
    border-radius:14px;
    transition:.3s;
}

.info:hover{
    background:#f7f7f7;
    transform:translateX(5px);
}

.icon{
    width:55px;
    height:55px;
    background:var(--secondary);
    color:#fff;
    border-radius:12px;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
    flex-shrink:0;
}

.info h4{
    color:var(--primary);
    margin-bottom:5px;
}

.info p{
    color:#555;
    line-height:1.6;
}

/* Action Buttons */

.actions{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-top:35px;
}

.actions button{
    background:var(--primary);
    color:#fff;
    border:none;
    padding:16px;
    border-radius:14px;
    cursor:pointer;
    transition:.3s;
    font-size:15px;
    font-weight:600;
}

.actions button span{
    display:block;
    margin-top:8px;
    font-size:13px;
}

.actions button:hover{
    background:var(--secondary);
    transform:translateY(-3px);
}

/* Footer */

.footer{
    display:flex;
    height:70px;
}

.footerLeft{
    width:60%;
    background:var(--primary);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    font-weight:500;
    clip-path:polygon(0 0,95% 0,88% 100%,0 100%);
}

.footerRight{
    width:40%;
    background:var(--secondary);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
    font-weight:600;
}

/* Responsive */

@media(max-width:900px){

.content{
    flex-direction:column;
    padding:30px;
}

.left,
.right{
    width:100%;
}

.right{
    text-align:center;
}

.divider{
    margin:20px auto 30px;
}

.info{
    text-align:left;
}

.actions{
    grid-template-columns:repeat(2,1fr);
}

.topBand{
    flex-direction:column;
    text-align:center;
}

.footer{
    flex-direction:column;
    height:auto;
}

.footerLeft,
.footerRight{
    width:100%;
    clip-path:none;
    padding:18px;
}

}

@media(max-width:600px){

.right h1{
    font-size:34px;
}

.right h2{
    font-size:20px;
}

.actions{
    grid-template-columns:1fr;
}

.headerLogo{
    width:140px;
}

.logo{
    width:180px;
}

}

/* Animations */

@keyframes fadeOut{

0%{
opacity:1;
visibility:visible;
}

80%{
opacity:1;
}

100%{
opacity:0;
visibility:hidden;
pointer-events:none;
}

}