*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#0b0b0b;
    color:#fff;
}

/* Header */

header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    background:#111;
    border-bottom:1px solid rgba(255,255,255,.08);
    position:sticky;
    top:0;
    z-index:1000;
}

.logo h2{
    color:#FFD700;
}

nav{
    display:flex;
    gap:25px;
}

nav a{
    color:#fff;
    text-decoration:none;
    transition:.3s;
}

nav a:hover{
    color:#FFD700;
}

/* Hero */

.hero{
    text-align:center;
    padding:60px 20px;
}

.hero h1{
    color:#FFD700;
    font-size:45px;
}

.hero p{
    margin-top:15px;
    color:#cfcfcf;
}

/* Main Layout */

.resume-container{

    width:92%;
    margin:auto;

    display:grid;

    grid-template-columns:260px 1fr 420px;

    gap:25px;

    padding:40px 0;

}

/* Cards */

.template-panel,
.form-panel,
.preview-panel{

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:25px;

    backdrop-filter:blur(15px);

    box-shadow:0 15px 35px rgba(0,0,0,.35);

}

.template-panel h2,
.form-panel h2,
.preview-panel h2{

    color:#FFD700;

    margin-bottom:20px;

}
/* ===========================
   Resume Form Styling
=========================== */

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    color:#FFD700;
    font-weight:600;
}

.form-group input,
.form-group textarea,
.form-group select{

    width:100%;
    padding:12px 15px;

    border:1px solid rgba(255,255,255,.15);
    border-radius:10px;

    background:#1a1a1a;
    color:#fff;

    outline:none;

    transition:.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{

    border-color:#FFD700;
    box-shadow:0 0 10px rgba(255,215,0,.3);

}

.form-group textarea{
    resize:vertical;
}

hr{
    border:none;
    border-top:1px solid rgba(255,255,255,.1);
    margin:25px 0;
}

#generateResume{

    width:100%;
    padding:15px;

    background:linear-gradient(135deg,#FFD700,#ffb700);
    color:#111;

    border:none;
    border-radius:12px;

    font-size:17px;
    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

#generateResume:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 25px rgba(255,215,0,.35);

}
#previewPhoto{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    background:#ddd;
}
/* Resume Preview */

.resume-preview{

    background:#fff;

    color:#222;

    min-height:900px;

    padding:30px;

    border-radius:12px;

}

.resume-header{

    text-align:center;

}

.resume-header img{

    width:120px;

    height:120px;

    border-radius:50%;

    object-fit:cover;

    border:3px solid #FFD700;

    margin-bottom:15px;

}

.resume-preview h1{

    color:#111;

    margin-bottom:10px;

}

.resume-preview h3{

    color:#444;

    margin-top:20px;

}
.template-panel button{

    width:100%;

    margin-bottom:10px;

    padding:12px;

    border:none;

    border-radius:10px;

    background:#2a2a2a;

    color:white;

    cursor:pointer;

    transition:.3s;

}

.template-panel button:hover{

    background:#FFD700;

    color:#111;

}