/* ROOT VARIABLES (Global Colors)  */
:root {
    --primary-blue-fix: #5c8efb;
}


/*  BODY STYLING (Page Layout)  */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 40px;
    color: #333;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
}


/*  HEADER SECTION  */
.header-container {
    display: flex;              /* Align image and text side by side */
    align-items: center;
    gap: 30px;                  /* Space between image and text */
    padding-bottom: 20px;
}

/* Profile image container */
.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;         /* Makes image circular */
    overflow: hidden;
    border: 1px solid #ddd;
    flex-shrink: 0;             /* Prevent shrinking */
}

/* Profile image */
.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;          /* Ensures proper image fit */
}

/* Name (Main heading) */
h1 {
    margin: 0;
    font-size: 28px;
    color: #1a202c;
}

/* Job title */
.job-title {
    margin: 5px 0 15px 0;
    color: #718096;
    font-size: 18px;
}


/*  CONTACT INFO  */
.contact-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 20px;
}

/* Icons inside contact info */
.contact-info i {
    color: #718096;
    margin-right: 5px;
}


/*  BUTTONS (Links)  */
.buttons {
    display: flex;
    gap: 10px;
}

/* General button styling */
.btn {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    background: #edf2f7;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;           /* Smooth hover effect */
}

/* LinkedIn button special style */
.btn-linkedin {
    background: #ebf8ff;
    color: var(--primary-blue-fix);
}


/*  SECTIONS (General Layout)  */
section { 
    margin-top: 40px; 
}

/* Section headings */
.section-title {
    font-size: 20px;
    color: #1a202c;
    border-bottom: 2px solid var(--primary-blue-fix);
    padding-bottom: 8px;
    margin-bottom: 20px;
}


/*  TEXT CONTENT */
.content-p {
    line-height: 1.6;
    color: #4a5568;
    margin: 0; 
    padding-top: 5px;
}


/*  EXPERIENCE / ITEMS LAYOUT  */
.item {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between; /* Push date to right */
}

/* Left side content */
.item-main {
    flex-grow: 1;
    padding-right: 20px;
}

/* Company name */
.company {
    font-weight: 600;
    color: var(--primary-blue-fix);
}


/* Date & location stacked vertically */
.date-location-group span {
    display: block;
    margin-bottom: 5px;
}

/* Icons inside date/location */
.date-location-group i {
    margin-right: 5px;
    color: #718096;
}

/* Job title inside experience */
.item-main h3 { 
    margin: 0; 
    font-size: 18px; 
    color: #2d3748; 
}


/*  OBJECTIVES (Job descriptions) */
.objectives {
    margin-top: 10px;
}

/* Each paragraph under objectives */
.objectives p {
    margin: 0;
    padding-bottom: 8px;
    line-height: 1.6;
    color: #4a5568;
}



/* SKILLS TAGS */
.tag-container { 
    display: flex; 
    flex-wrap: wrap;             /* Wrap tags to next line */
    gap: 10px; 
    margin-top: 10px; 
}

/* Individual skill tag */
.tag {
    background-color: #ebf8ff;
    color: var(--primary-blue-fix);
    padding: 4px 12px;
    border-radius: 20px;         /* Rounded pill shape */
    font-size: 13px;
    font-weight: 500;
}


/* Certificate info */
.item-cert {
    flex-grow: 1;
    padding-right: 20px;
}

/* Certificate date */
.cert-date {
    font-weight: 400;
    line-height: 1.6;
    color: #4a5568;
    margin: 0; 
    padding-top: 5px;
}


/* ---FOOTER--- */
footer {
    margin-top: 60px; 
    padding-top: 20px; 
    border-top: 1px solid #e2e8f0;
    text-align: center; 
    color: #a0aec0; 
    font-size: 13px;
}