/* Tighten spacing for more compact layout */

/* Reduce overall section spacing */
#software-engineer,
#researcher,
#end-box {
    padding: 20px 0 !important;
    margin: 0 !important;
}

/* Tighten content boxes */
.content-box {
    padding: 10px !important;
    margin: 0 !important;
}

/* Reduce vertical spacing in v-box */
.v-box {
    padding: 20px !important;
    margin: 0 !important;
}

/* Tighten image spacing */
.personal-img {
    margin: 10px auto !important;
    width: 150px !important;
    height: 150px !important;
}

/* Reduce spacing around skill icons */
.skill-icon {
    margin: 10px auto !important;
    width: 80px !important;
    height: 80px !important;
}

/* Tighten text spacing */
h4 {
    margin: 10px 0 !important;
    padding: 5px 0 !important;
    line-height: 1.3 !important;
}

p {
    margin: 8px 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

/* Compact lists */
.list-skills {
    margin: 10px 0 !important;
    padding: 0 !important;
}

.list-skills li {
    margin: 3px 0 !important;
    padding: 2px 0 !important;
}

/* Reduce row spacing */
.row {
    margin: 10px 0 !important;
}

/* Tighten column spacing */
.col-xs-4,
.col-xs-6,
.col-xs-12 {
    padding: 5px !important;
}

/* Reduce section title spacing */
p[style*="font-size:30px"] {
    margin: 15px 0 !important;
    padding: 5px 0 !important;
}

/* Compact horizontal icons */
.horizontal-icons {
    margin: 10px 0 !important;
    padding: 0 !important;
}

.horizontal-icons li {
    margin: 0 5px !important;
    padding: 0 !important;
}

/* Reduce breaker spacing */
.breaker {
    height: 20px !important;
    margin: 0 !important;
}

/* Tighten button spacing */
.big-button {
    margin: 20px 0 !important;
}

/* Reduce footnote spacing */
.footnote {
    margin: 5px 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
}

/* Compact navbar */
.navbar {
    margin-bottom: 0 !important;
}

/* Reduce overall page spacing */
body {
    line-height: 1.4 !important;
}

/* Tighten Bootstrap spacing */
.container {
    padding: 10px !important;
}

/* Reduce image spacing in sections */
.centered-img {
    margin: 5px auto !important;
}

.w-220, .w-230, .w-270, .w-180, .w-200 {
    max-width: 100px !important;
    height: auto !important;
}
