/* Style for Professional Resume 
   Theme: Modern Lite with Cyber-accents
*/

:root {
    --primary: #0f172a;    /* Deep Navy */
    --accent: #2563eb;     /* Blue */
    --accent-glow: #00f5ff; /* Cyan Glow */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Page Setup for A4 */
.page {
    width: 210mm;
    height: 297mm; /* Fixed A4 Height */
    margin: 20px auto;
    background: var(--white);
    padding: 12mm;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Print Rules */
@media print {
    body { background: none; }
    .no-print { display: none; }
    .page { 
        margin: 0; 
        box-shadow: none; 
        width: 100%; 
        height: 100%;
    }
}

/* Header Section */
.header {
    border-bottom: 3px solid var(--primary);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 15px;
    font-size: 12px;
    color: var(--text-muted);
}

.contact-grid span i {
    color: var(--accent);
    width: 14px;
}

/* Profile Photo */
.photo-frame {
    width: 100px;
    height: 100px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    overflow: hidden;
    background: #f1f1f1;
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Layout Grid */
.main-wrapper {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 30px;
    flex: 1;
}

/* Section Common Styles */
.cv-section {
    margin-bottom: 18px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    color: var(--primary);
    text-transform: uppercase;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
    margin-bottom: 10px;
    background: #f8fafc;
}

.section-text {
    font-size: 13px;
    color: var(--text-muted);
    text-align: justify;
}

/* List Styles */
.list-items {
    list-style: none;
}

.list-items li {
    font-size: 12.5px;
    margin-bottom: 6px;
    position: relative;
    padding-left: 15px;
    color: var(--text-muted);
}

.list-items li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.bold { font-weight: 700; color: var(--text-main); }
.meta { font-size: 12px; color: var(--accent); font-weight: 500; }

/* Right Column Skills */
.skill-group {
    margin-bottom: 12px;
}

.skill-head {
    font-weight: 700;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 2px;
}

.skill-list {
    font-size: 12px;
    color: var(--text-muted);
}

/* Interests Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    background: #edf2f7;
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border);
}

/* Print Button */
.print-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 25px;
    background: var(--primary);
    color: var(--accent-glow);
    border: 1px solid var(--accent-glow);
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
}

.print-btn:hover {
    background: var(--accent);
    color: white;
}

/* Typography fix for 1 page fit */
h3 { margin-top: 0; }